/* static/css/style.css */

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #1d4ed8 0, #020617 45%, #000 100%);
    color: #e5e7eb;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    padding: 32px 36px;
    width: 360px;
    max-width: 90vw;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.field input[type="text"],
.field input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #4b5563;
    background: #020617;
    color: #e5e7eb;
    font-size: 13px;
    outline: none;
}

.field input[type="text"]:focus,
.field input[type="password"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5);
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    margin-bottom: 8px;
}

.checkbox-row input {
    width: 14px;
    height: 14px;
}

.terms-box {
    font-size: 11px;
    line-height: 1.4;
    color: #9ca3af;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 8px;
    border: 1px solid #4b5563;
    padding: 8px 10px;
    max-height: 90px;
    overflow-y: auto;
    margin-bottom: 8px;
}

.terms-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #e5e7eb;
}

.btn-login {
    width: 100%;
    margin-top: 10px;
    padding: 9px 10px;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    color: white;
}

.btn-login:hover {
    filter: brightness(1.1);
}

.error-msg {
    font-size: 12px;
    color: #f97373;
    background: rgba(127, 29, 29, 0.4);
    border: 1px solid rgba(248, 113, 113, 0.6);
    border-radius: 8px;
    padding: 6px 8px;
    margin-bottom: 8px;
}

.footer {
    margin-top: 12px;
    font-size: 11px;
    color: #6b7280;
    text-align: center;
}

/* Daypring 로고 영역 */
.logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;      /* 제목과 간격 */
}

/* 로고 이미지 크기 조정 */
.logo-img {
    width: 140px;            /* 🔧 크기 조절 포인트 (너무 크면 120px로 줄여보세요) */
    max-width: 70%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.6)); /* 은은한 빛 효과 */
}

/* 로고 들어가면서 제목 간격 살짝 줄이기 (선택) */
.title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin: 4px 0 4px;   /* 위로 로고, 아래로 서브타이틀이 있으니 여백을 조금 줄임 */
}

/* 서브 타이틀 문구 */
.subtitle {
    text-align: center;      /* ✅ 가운데 정렬 */
    font-size: 13px;
    color: #e5e7eb;
    margin-bottom: 16px;
    line-height: 1.4;
}