/* ==========================================================================
   Triple F - 인증(로그인/회원가입) 페이지 전용 CSS
   ========================================================================== */
.auth-body {
    font-family: 'Pretendard', sans-serif;
    background-color: #0f172a; /* Palantir 스타일의 다크하고 모던한 배경 */
    background-image: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    color: #e2e8f0;
}

.auth-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    color: #1e293b;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* 폼 그룹 및 입력창 */
.auth-form-group {
    margin-bottom: 18px;
    text-align: left;
}

.auth-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.required {
    color: #ef4444;
}

.auth-input-wrapper {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
}




/* 섹션 구분선 */
.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0 15px 0;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-separator span {
    padding: 0 10px;
}

/* 🟢 버튼 규정 완벽 적용 */
.btn-auth-submit {
    width: 100%;
    font-size: 13px;
    font-weight: 500;
    height: 30px;
    padding: 0 12px;
    border-radius: 6px;
    background-color: #2563EB;
    color: #FFFFFF;
    border: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.15s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.btn-auth-submit:hover {
    background-color: #1D4ED8;
}

.btn-auth-submit:active {
    transform: scale(0.98);
}

/* 하단 링크 */
.auth-footer-links {
    margin-top: 20px;
    text-align: center;
}

.auth-footer-links a {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-footer-links a:hover {
    color: #2563EB;
}

.auth-footer-links i {
    margin-right: 4px;
}

/* 알림 메시지 (Flash) */
.auth-flash-container {
    margin-bottom: 20px;
}

.auth-flash-message {
    font-size: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-weight: 500;
}

.auth-flash-message.error, .auth-flash-message.danger {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.auth-flash-message.success {
    background-color: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* 수정된 폼 그룹 및 입력창 CSS */
.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="email"] {
    width: 100%;
    height: 38px;
    /* 위 8px, 오른쪽 12px, 아래 8px, 왼쪽 38px(아이콘 공간 완벽 확보!) */
    padding: 8px 12px 8px 38px !important; 
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    color: #334155;
    background-color: #f8fafc;
    box-sizing: border-box;
    transition: all 0.2s ease;
    font-family: 'Pretendard', sans-serif;
}

.auth-form input:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.auth-form input::placeholder {
    color: #94a3b8;
}