/* find-account 페이지 전용 CSS */
/* 회원가입 페이지의 학부모 폼 스타일을 find- 접두사로 복사 */

/* 메인 콘텐츠 */
.find-account-main {
    margin-top: 65px;
    min-height: calc(100vh - 65px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 100px 0;
}

/* 인디케이터 스타일 - 세로형 레이아웃 */
.find-step-indicator {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    max-width: 622px;
    margin-left: auto;
    margin-right: auto;
}

.find-step-dots {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.find-step-dot {
    font-family: var(--font-family-base);
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--color-gray3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: none;
    padding: 0;
}

.find-step-dot.active {
    color: var(--color-orange);
}

.find-step-dot:hover {
    color: var(--color-orange);
}

/* 메인 컨테이너 */
.find-signup-container {
    width: 100%;
    max-width: 1031px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 설명 문구 */
.find-description {
    max-width: 622px;
    margin: 0 auto;
    text-align: center;
}

.find-description p {
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    color: var(--color-gray5);
    line-height: 1.6;
    margin-bottom: 10px;
}

.find-description p:last-child {
    margin-bottom: 0;
}

/* 뒤로가기 버튼 */
.find-back-btn {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.find-back-btn img {
    width: 24px;
    height: 24px;
}

/* 제목 섹션 */
.find-step-header {
    margin-bottom: 40px;
    max-width: 622px;
    margin-left: auto;
    margin-right: auto;
}

.find-step-title {
    font-family: var(--font-family-base);
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--color-gray5);
    margin-bottom: 20px;
    line-height: normal;
    text-align: left;
}

.find-step-description {
    font-family: Pretendard;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    color: var(--color-gray5);
    margin-bottom: 40px;
    text-align: left;
}

/* 폼 스타일 */
.find-signup-form {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 622px;
    margin: 0 auto;
}

.find-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    margin-bottom: 50px;
}

.find-form-label {
    font-family: var(--font-family-base);
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--color-gray5);
    line-height: normal;
}

.find-form-input {
    width: 100%;
    height: 30px;
    border: none;
    border-bottom: 1px solid var(--color-gray3);
    background: transparent;
    font-family: var(--font-family-base);
    font-size: 20px;
    font-weight: var(--font-weight-regular);
    color: var(--color-gray5);
    padding: 0 0 10px 0;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    flex: 1;
    appearance: none;
    border-radius: 0;
}

.find-form-input:disabled,
.find-form-input:read-only {
    border-bottom-color: #D0D0D0 !important;
    color: #D0D0D0 !important;
    cursor: not-allowed;
}

.find-form-input::placeholder {
    color: var(--color-gray3);
    font-size: 20px;
    font-weight: var(--font-weight-medium);
}

.find-form-input:focus {
    border-bottom-color: var(--color-gray5);
    outline: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    border-radius: 0;
}

/* 입력 필드와 버튼 */
.find-input-with-button {
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    width: 100%;
}

.find-check-btn {
    width: 80px;
    height: 32px;
    background-color: var(--color-gray5);
    color: var(--color-gray1);
    border: none;
    border-radius: 6px;
    font-family: var(--font-family-base);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.find-check-btn:hover {
    background-color: var(--color-gray4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.find-check-btn:disabled {
    background-color: #F4F4F4 !important;
    color: #D0D0D0 !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    border-color: transparent !important;
}

.find-check-btn:disabled:hover {
    background-color: var(--color-gray2);
}

/* 확인중 상태를 위한 특별 스타일 */
.find-check-btn.verifying {
    background-color: var(--color-gray5) !important;
    color: var(--color-gray1) !important;
    opacity: 1 !important;
}

/* 인증완료 상태를 위한 특별 스타일 */
.find-check-btn.completed {
    background-color: var(--color-orange) !important;
    color: var(--color-gray1) !important;
    opacity: 1 !important;
}

/* 휴대폰 옵션 - Figma 디자인에 맞춤 */
.find-phone-options {
    display: flex;
    gap: 20px;
    margin-bottom: 8px;
}

.find-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: var(--font-family-base);
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: #9E9E9E;
    transition: color 0.3s ease;
}

.find-radio-option input[type="radio"] {
    display: none;
}

.find-radio-custom {
    width: 20px;
    height: 20px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.find-radio-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.find-radio-option input[type="radio"]:checked + .find-radio-custom .find-radio-icon {
    content: url('../icon/icon_smallorangebox_20px.svg');
}

.find-radio-option input[type="radio"]:checked ~ * {
    color: var(--color-gray5);
}

/* 휴대폰 안내 */
.find-phone-notice {
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: var(--font-family-base);
    font-size: 14px;
    color: var(--color-gray5);
    line-height: normal;
}

.find-phone-notice ol {
    margin: 0;
    padding-left: 20px;
}

.find-phone-notice ul {
    margin: 0px 0;
    padding-left: 20px;
}

.find-highlight {
    color: var(--color-purple);
    font-weight: var(--font-weight-bold);
}

/* 약관 동의 */
.find-agreement-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.find-agreement-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.find-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-gray3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.find-agreement-checkbox input[type="checkbox"] {
    display: none;
}

.find-agreement-checkbox input[type="checkbox"]:checked + .find-checkbox-custom {
    border-color: var(--color-orange);
    background-color: var(--color-orange);
}

.find-agreement-checkbox input[type="checkbox"]:checked + .find-checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-size: 12px;
    font-weight: bold;
}

.find-agreement-text {
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: var(--font-weight-regular);
    color: var(--color-gray5);
    line-height: 1.5;
}

.find-agreement-link {
    color: var(--color-orange);
    text-decoration: underline;
}

.find-agreement-link:hover {
    color: var(--color-orange);
    text-decoration: none;
}

.find-field-error {
    color: var(--color-pink);
    font-size: 14px;
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-medium);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    display: block;
    margin-top: 4px;
}

.find-agreement-error {
    color: var(--color-pink);
    font-size: 14px;
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-medium);
    text-align: left;
    position: relative;
    margin-top: 4px;
    margin-bottom: 0;
    display: none;
}

/* 인증번호 입력 필드 */
#findIdVerificationCode {
    margin-top: 0px;
}

/* 버튼 액션 */
.find-parent-actions {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.find-password-btn {
    background-color: var(--color-orange);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-family: var(--font-family-base);
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    width: 206px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.find-password-btn:hover {
    background-color: var(--color-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 106, 6, 0.4);
}

.find-id-btn {
    background-color: var(--color-orange);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-family: var(--font-family-base);
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    width: 206px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.find-id-btn:hover {
    background-color: var(--color-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 106, 6, 0.4);
}
