/**
 * NanoNside - 아이디/비밀번호 찾기 페이지 스타일
 */

/* 찾기 카드 */
.find-card {
    max-width: 440px;
}

/* 인증 방식 탭 */
.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.75rem;
}

.auth-tab {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    background-color: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab:hover {
    background-color: #f9fafb;
}

.auth-tab.active {
    background-color: #f59e0b;
    color: white;
    border-color: #f59e0b;
}

/* 인증 대상 섹션 */
.verify-target-section {
    display: block;
}

.verify-target-section.hidden {
    display: none;
}

/* 인증번호 타이머 위치 조정 */
.verify-input-group {
    position: relative;
}

.verify-input-group .input-with-button {
    position: relative;
}

.verify-timer {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.875rem;
    color: #ef4444;
    font-weight: 500;
    pointer-events: none;
}

/* 찾기 결과 영역 */
.find-result {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.find-result.hidden {
    display: none;
}

.find-result-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.find-result-info {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.info-row:first-child {
    padding-top: 0;
}

.info-row:last-child {
    padding-bottom: 0;
}

.info-row + .info-row {
    border-top: 1px solid #e5e7eb;
}

.info-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.info-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}

/* 결과 액션 버튼들 */
.find-result-actions {
    display: flex;
    gap: 0.75rem;
}

.find-result-actions .btn-primary,
.find-result-actions .btn-secondary {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1rem;
}

/* 토큰 오류 화면 */
.token-error {
    text-align: center;
    padding: 2rem 1rem;
}

.token-error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #fee2e2;
    border-radius: 50%;
    color: #ef4444;
    margin-bottom: 1.5rem;
}

.token-error-message {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.token-error .btn-primary {
    display: inline-block;
}

/* 하단 링크 */
.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.auth-links a {
    color: #f59e0b;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-links a:hover {
    color: #d97706;
    text-decoration: underline;
}

.auth-links-divider {
    margin: 0 0.5rem;
    color: #d1d5db;
}

/* 반응형 */
@media (max-width: 640px) {
    .find-card {
        max-width: 100%;
    }

    .auth-tabs {
        flex-direction: column;
    }

    .find-result-actions {
        flex-direction: column;
    }

    .verify-timer {
        right: 10px;
        font-size: 0.75rem;
    }

    .verify-input-group .form-input {
        padding-right: 70px;
    }
}
