/* styles/login.css */
body {
    background: var(--brand-gradient-soft);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    background: url('../images/background.jpg') center/cover no-repeat;
    filter: blur(16px);
    opacity: 0.18;
    z-index: 0;
}

.login-container {
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    z-index: 1;
}

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

.login-header {
    background: var(--brand-gradient);
    color: white;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.login-header .logo {
    font-size: 48px;
    margin-bottom: 12px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 로고 - 투명 PNG 그대로 (성도용·관리자 사이트와 동일) */
.login-header .logo-image {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(10, 61, 115, 0.3));
    margin-bottom: 12px;
}

.login-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.login-header p {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.login-body {
    padding: 40px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.forgot-password:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 16px;
    background: var(--brand-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21, 112, 204, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.divider {
    text-align: center;
    margin: 28px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    background: var(--bg-white);
    padding: 0 16px;
    position: relative;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

.register-link {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.register-link a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.register-link a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .login-container {
        margin: 10px;
    }

    .login-header {
        padding: 36px 24px;
    }

    .login-header h1 {
        font-size: 24px;
    }

    .login-body {
        padding: 28px 24px;
    }
}

/* 글꼴 - 성도용 홈과 같은 조합 (굵은 Noto Sans 제목 + Gowun Batang 소개 문구) */
.login-header h1 {
    font-weight: 900;
    letter-spacing: -0.5px;
}

.login-header p {
    font-family: 'Gowun Batang', 'Nanum Myeongjo', serif;
    font-size: 15px;
    font-weight: 700;
    opacity: 0.95;
}