@charset "utf-8";

/* 1. 기업형 컬러 팔레트 정의 */
:root {
    --primary-color: #0056b3; /* 신뢰감을 주는 기업형 블루 */
    --primary-hover: #004494;
    --bg-color: #f4f6f8;      /* 깔끔한 연회색 배경 */
    --card-bg: #ffffff;       /* 폼 영역 흰색 배경 */
    --card-border: #dce1e6;   /* 단정한 테두리 */
    --text-main: #333333;     /* 기본 텍스트 (진회색) */
    --text-sub: #666666;      /* 서브 텍스트 */
    --alert-text: #e11d48;    /* 경고/필수입력 (빨강) */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* 맑은 고딕 등 기업에서 자주 쓰는 폰트 적용 */
    font-family: 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2. 불필요한 배경 애니메이션 구체 숨김 처리 */
.glow-sphere {
    display: none;
}

/* 3. 단정하고 깔끔한 컨테이너 (카드) */
.auth-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-top: 4px solid var(--primary-color); /* 상단 포인트 라인 */
    border-radius: 8px;
    padding: 40px 35px;
    width: 100%;
    max-width: 460px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* 아주 옅은 그림자 */
}

/* 로고 영역 */
.logo-area { margin-bottom: 24px; }
.logo-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%;
    background: #eef2f7; border: 1px solid #dce1e6; margin-bottom: 16px;
}
.logo-icon svg { width: 28px; height: 28px; fill: var(--primary-color); }

/* 제목 및 서브타이틀 */
h1 {
    font-size: 24px;
    font-weight: bold;
    color: #222222;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 14px; color: var(--text-sub); line-height: 1.5; margin-bottom: 8px;
}
.warning-text {
    font-size: 13px; color: var(--alert-text); margin-bottom: 24px; font-weight: bold;
}

/* 4. 입력 폼 스타일 */
.input-group { margin-bottom: 24px; text-align: left; }
.input-label {
    display: block; font-size: 13px; font-weight: bold; color: #444444; margin-bottom: 8px;
}
.input-field {
    width: 100%; height: 46px; background: #ffffff;
    border: 1px solid #cccccc; border-radius: 4px;
    padding: 0 14px; color: #333333; font-size: 14px; margin-bottom: 16px;
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.input-field:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.1);
}
.input-field::placeholder { color: #aaaaaa; }

/* 5. 기업형 솔리드 버튼 */
.btn-auth {
    position: relative; width: 100%; height: 50px; border: none; outline: none;
    border-radius: 4px; background: var(--primary-color); color: #ffffff;
    font-size: 15px; font-weight: bold; cursor: pointer;
    transition: background 0.2s; display: flex;
    justify-content: center; align-items: center;
    margin-bottom: 20px;
}
.btn-auth:hover { background: var(--primary-hover); }
.btn-auth:active { background: #003377; }

/* Spinner style (파란색 톤에 맞춘 로딩바) */
.spinner {
    display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%; border-top-color: #ffffff; animation: spin 0.8s linear infinite; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 하단 안내 문구 */
.footer-note {
    font-size: 12px; color: #777777; line-height: 1.6;
    background: #f9f9f9; padding: 12px; border: 1px solid #eeeeee; border-radius: 4px;
    text-align: left;
}

/* 6. 결과 영역 스타일 */
.result-box {
    display: none; background: #f8f9fa;
    border: 1px solid #e9ecef; border-radius: 4px;
    padding: 24px; text-align: left; margin-bottom: 20px;
}
.result-box p { font-size: 14px; margin-bottom: 12px; color: var(--text-sub); display: flex; justify-content: space-between; border-bottom: 1px dashed #e0e0e0; padding-bottom: 8px;}
.result-box p:last-of-type { margin-bottom: 0; border-bottom: none; padding-bottom: 0;}
.result-box span { font-weight: bold; color: #222222; }
.success-title { color: #0056b3; font-size: 18px; font-weight: bold; text-align: center; margin-bottom: 20px; display: block; }