/* 비밀번호 찾기 페이지 스타일 */
.find-password-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem 0;
}

.find-password-wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1rem;
}

.find-password-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.find-password-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0070c0, #4da6ff);
}

/* 헤더 스타일 */
.find-password-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.find-password-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    border-radius: 50%;
    padding: 10px;
    background: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.find-password-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0070c0;
    margin-bottom: 0.5rem;
}

.find-password-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 0;
}

/* 단계 컨테이너 */
.step-container {
    margin-bottom: 2rem;
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0070c0;
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

/* 입력 필드 스타일 */
.find-password-input {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.find-password-input:focus {
    border-color: #0070c0;
    box-shadow: 0 0 0 3px rgba(0, 112, 192, 0.1);
}

.find-password-input.is-danger {
    border-color: #ff3860;
}

.find-password-input.is-success {
    border-color: #48c78e;
}

/* 라벨 스타일 */
.label {
    font-weight: 600;
    color: #363636;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* 버튼 스타일 */
.button {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button.cau-blue {
    background-color: #0070c0 !important;
    color: white !important;
}

.button.cau-blue:hover {
    background-color: #005a9a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button.is-success {
    background-color: #48c78e;
    color: white;
}

.button.is-success:hover {
    background-color: #3ec77e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button.is-light {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
}

.button.is-light:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 버튼 영역 */
.buttons-section {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.buttons-section .button {
    flex: 1;
    max-width: 180px;
}

/* 도움말 텍스트 */
.help {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.help.has-text-danger {
    color: #ff3860 !important;
}

.help.has-text-info {
    color: #3273dc !important;
}

.help.has-text-success {
    color: #48c78e !important;
}

.help.has-text-grey {
    color: #6c757d !important;
}

/* 비밀번호 매칭 메시지 */
#passwordMatchMessage {
    font-weight: 500;
    transition: all 0.3s ease;
}

#passwordMatchMessage.match {
    color: #48c78e !important;
}

#passwordMatchMessage.no-match {
    color: #ff3860 !important;
}

/* 눈 아이콘 스타일 */
.icon.is-right {
    pointer-events: auto;
}

.icon.is-right i {
    transition: color 0.3s ease;
}

.icon.is-right i:hover {
    color: #0070c0 !important;
}

/* 성공 박스 */
.success-box {
    background: linear-gradient(135deg, #48c78e, #3ec77e);
    border-radius: 15px;
    padding: 2rem;
    margin: 1.5rem 0;
    text-align: center;
    color: white;
    box-shadow: 0 4px 15px rgba(72, 199, 142, 0.3);
}

.success-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.success-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.success-message p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* 로딩 스타일 */
.loading-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    z-index: 1000;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0070c0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1rem;
    color: #0070c0;
    font-weight: 600;
}

/* 에러 메시지 */
.error-message {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    font-weight: 500;
}

/* 하단 링크 */
.bottom-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.link-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.link {
    color: #0070c0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link:hover {
    color: #005a9a;
    text-decoration: underline;
}

.link-separator {
    margin: 0 0.5rem;
    color: #dee2e6;
}

/* 타이머 스타일 */
#timer {
    color: #0070c0;
    font-size: 0.9rem;
    background: #e6f3ff;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .find-password-section {
        padding: 1rem 0;
        min-height: auto;
    }
    
    .find-password-wrapper {
        padding: 0 0.5rem;
    }
    
    .find-password-card {
        padding: 1.5rem;
        margin: 0.5rem 0;
        border-radius: 15px;
    }
    
    .find-password-title {
        font-size: 1.5rem;
    }
    
    .find-password-subtitle {
        font-size: 0.9rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    .step-description {
        font-size: 0.85rem;
    }
    
    .find-password-input {
        padding: 0.625rem 0.875rem;
        font-size: 0.95rem;
    }
    
    .button {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .buttons-section {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .buttons-section .button {
        max-width: none;
    }
    
    .success-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .success-icon {
        font-size: 2.5rem;
    }
    
    .success-message h3 {
        font-size: 1.3rem;
    }
    
    .success-message p {
        font-size: 0.9rem;
    }
    
    .field.has-addons {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .field.has-addons .control {
        width: 100%;
    }
    
    .field.has-addons .control .button {
        width: 100%;
        margin: 0;
    }
    
    .link-text {
        font-size: 0.85rem;
    }
}

/* 매우 작은 화면 (320px 이하) */
@media (max-width: 320px) {
    .find-password-card {
        padding: 1rem;
    }
    
    .find-password-title {
        font-size: 1.3rem;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .find-password-input {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-container {
    animation: fadeIn 0.5s ease-out;
}

/* 포커스 스타일 향상 */
.find-password-input:focus,
.button:focus {
    outline: none;
}

/* 접근성 개선 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
