/* password_lost.css 소스 */

/* 1. 풀스크린 배경 */
.lounge-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* (실제 배경은 tail.php 또는 공통 CSS에서 이미 적용되고 있습니다) */
    z-index: 1;
    filter: brightness(0.7); /* 살짝 어둡게 */
}

/* 2. '글래스 패널' 컨테이너 (id_lost.css와 동일) */
.auth-container-wrapper {
    position: relative;
    width: 90%;
    max-width: 500px;
    z-index: 2;
    perspective: 2000px;
    margin: 10vh auto;
}

.auth-container {
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: authFadeIn 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3. '비밀번호 찾기' 전용 패널 (id_lost.css와 동일) */
.auth-panel.find-panel {
    flex: 1;
    padding: 3.5rem 3rem;
    box-sizing: border-box;
    color: white;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* 모바일 반응형 (id_lost.css와 동일) */
@media (max-width: 800px) {
    .auth-container-wrapper { margin: 5vh auto; }
    .auth-panel.find-panel { padding: 2rem; }
}

.auth-panel h3 {
    font-size: 2.2rem; font-weight: 700; margin: 0 0 1rem 0;
    color: #ffffff; text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ⬇️ [핵심] "2억 원짜리 탭" 스타일 */
.auth-tabs {
    display: flex;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 2rem;
}
.auth-tab {
    flex: 1;
    padding: 0.75rem 0.5rem;
    border: none;
    background: transparent;
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.auth-tab svg {
    width: 16px;
    height: 16px;
}
.auth-tab:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.auth-tab.active {
    background: #007bff;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,123,255,0.3);
}
/* 탭 컨텐츠 (처음엔 이메일 폼 숨기기) */
.auth-content {
    display: none;
}
.auth-content.active {
    display: block;
    animation: contentFadeIn 0.5s;
}
@keyframes contentFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.auth-panel p.description {
    font-size: 1rem; color: #ccc; line-height: 1.6;
    margin: 0 0 2rem 0;
}

/* 4. 버튼/폼 스타일 (id_lost.css와 동일 + 추가) */
.auth-container .btn {
    display: block; width: 100%; padding: 1rem; border: none;
    border-radius: 8px; font-size: 1.1rem; font-weight: 700;
    box-sizing: border-box; cursor: pointer; text-align: center;
    text-decoration: none; transition: all 0.2s ease;
    margin-bottom: 1rem;
}
.auth-container .btn-primary {
    background-color: #007bff; color: white;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}
.auth-container .btn-primary:hover {
    background-color: #0056b3; transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}
.auth-container .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1); color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.auth-container .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
/* 본인인증 버튼들 */
.cert-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 이메일 폼 (모달의 '아이콘 인풋박스' 재사용) */
.input-group-icon {
    position: relative;
    margin-bottom: 1.25rem;
}
.input-group-icon .icon {
    position: absolute; left: 15px; top: 50%;
    transform: translateY(-50%); color: #888; z-index: 1;
    width: 20px; height: 20px; fill: #888;
}
.input-group-icon input {
    width: 100%; padding: 0.9rem 1rem 0.9rem 50px;
    font-size: 1rem; border: 1px solid #555;
    background: rgba(0,0,0,0.2); border-radius: 8px;
    box-sizing: border-box; color: white;
}
.input-group-icon input:focus {
    background: rgba(0,0,0,0.1);
    border-color: #007bff;
    border: #007bff;
    outline: none;
    color: white;
}
.input-group-icon input::placeholder { color: #888; }

.form-control:disabled, .form-control[readonly] {
	 background: rgba(24,76,90);
	 opacity: 1;
	 border-color: #656565;
}

/* 캡차 (자동입력방지) */
.captcha-group {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
}

/* 5. 하단 링크 (id_lost.css와 동일) */
.find-links-bottom {
    margin-top: 1.5rem;
}
.find-links-bottom a {
    color: #ccc;
    font-size: 0.9rem;
    text-decoration: none;
}
.find-links-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}