/* 회원가입 페이지 모던 스타일 */

/* 모던 입력박스 스타일 */
.pub-input--rounded {
    border: 1px solid #c7ced6;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.2s ease;
    background-color: #fff;
}

.pub-input--rounded:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 모던 라디오 버튼 스타일 */
.pub-radio--modern {
    position: relative;
    display: inline-block;
    margin-right: 20px;
}

.pub-radio--modern input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #c7ced6;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    margin-right: 8px;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.pub-radio--modern input[type="radio"]:checked {
    border-color: #667eea;
    background-color: #667eea;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='5' cy='5' r='3' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.pub-radio--modern input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.pub-radio--modern label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    vertical-align: middle;
    font-weight: 500;
}

/* 모던 버튼 스타일 */
.pub-btn--submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    min-width: 140px;
}

.pub-btn--submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.pub-btn--submit:active {
    transform: translateY(0);
}

.pub-btn--cancel {
    background: #fff;
    color: #6c757d;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    text-decoration: none;
    display: inline-block;
}

.pub-btn--cancel:hover {
    background: #f8f9fa;
    border-color: #c7ced6;
    color: #495057;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pub-btn--cancel:active {
    transform: translateY(0);
}

/* 약관 제목 스타일 */
.pub-agreement-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    padding: 15px 0;
    margin: 0;
    border-bottom: 2px solid #e9ecef;
}

/* 약관 내용 영역 */
.pub-agreement-content {
    padding: 15px;
    border: 1px solid #e9ecef;
    width: 100%;
    height: 150px;
    background-color: #fff;
    overflow: auto;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.6;
    color: #495057;
}

/* 동의 선택 영역 */
.pub-agreement-choice {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pub-agreement-choice-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
}

/* 회원유형 선택 영역 */
.pub-member-type-choice {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.pub-member-type-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.pub-member-type-notice {
    font-size: 13px;
    color: #e74c3c;
    margin: 10px 0 0 0;
    padding: 0;
    font-weight: 500;
    font-style: italic;
}

/* 실명인증 섹션 */
.pub-certify-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
}

.pub-certify-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.pub-certify-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
}

/* 반응형 */
@media (max-width: 768px) {
    .pub-btn--submit,
    .pub-btn--cancel {
        width: 100%;
        margin: 5px 0;
    }
    
    .pub-agreement-choice {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .pub-certify-options {
        flex-direction: column;
        gap: 15px;
    }
}

/* 선택박스 및 줄 간격 조정 */
.pub-form-table select[name='in_fax1'],
.pub-form-table select[name='phone1'],
.pub-form-table select[name='in_phone1'],
.pub-form-table select[name='n_phone1'],
.pub-form-table select[name='cp1'] {
    border: 1px solid #c7ced6 !important;
    border-radius: 6px !important;
    padding: 10px 36px 10px 14px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%239ca3af' d='M5 6L0 0h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 10px 6px !important;
    box-sizing: border-box !important;
}

.pub-form-table select[name='in_fax1']:focus,
.pub-form-table select[name='phone1']:focus,
.pub-form-table select[name='in_phone1']:focus,
.pub-form-table select[name='n_phone1']:focus,
.pub-form-table select[name='cp1']:focus {
    outline: none !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.pub-form-table td,
.t_path td {
    padding: 8px 10px;
}

.pub-form-table td.horiz,
.t_path td.horiz {
    padding-top: 10px;
    padding-bottom: 10px;
}

.pub-form-table td.verti,
.t_path td.verti {
    padding-top: 8px;
    padding-bottom: 8px;
}

.pub-form-table td.verti table,
.t_path td.verti table {
    margin-top: 0;
    margin-bottom: 0;
}

.pub-form-table td.verti table td,
.t_path td.verti table td {
    padding: 0 6px;
}

.pub-form-table td.verti table td:first-child,
.t_path td.verti table td:first-child {
    padding-left: 0;
}

.pub-form-table td.verti table td:last-child,
.t_path td.verti table td:last-child {
    padding-right: 0;
}

.pub-form-table .MG-T5,
.t_path .MG-T5 {
    margin-top: 6px;
}

