/* ===== ฐาน ===== */
body {
    font-family: 'Noto Sans Thai', sans-serif;
    background: #eef3f8;
    min-height: 100vh;
}

/* ===== Header ===== */
.top-header {
    background: linear-gradient(135deg, #003580, #0b5ed7);
    color: #fff;
    text-align: center;
    padding: 50px 20px 120px;
}

.logo-icon {
    font-size: 60px;
}

.system-name {
    font-size: 32px;
    font-weight: 700;
}

.system-desc {
    opacity: .9;
}

/* ===== Login Card ===== */
.login-card {
    margin-top: -80px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
}

/* ===== Form ===== */
.form-control {
    border-radius: 8px;
    padding: 12px;
}

.input-group-text {
    background: #f8f9fa;
}

.btn-login {
    background: #0d6efd;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
}

.btn-login:hover {
    background: #0b5ed7;
}

/* ===== Version ===== */
.version {
    text-align: center;
    color: #6c757d;
    margin-top: 20px;
    font-size: 13px;
}

/* ===== Alert โปร่งใส ===== */
.alert-custom {
    background: rgba(255, 193, 7, 0.12) !important;
    border: 1px solid rgba(255, 193, 7, 0.25);
    border-radius: 10px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #1a1a2e;
    padding: 14px 18px;
    position: relative;
}

.alert-custom .btn-close {
    padding: 0.75rem 1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.alert-custom strong {
    color: #b45309;
}

.alert-custom:hover {
    background: rgba(255, 193, 7, 0.20) !important;
    transition: background 0.3s ease;
}

/* ===== Input Group Large ===== */
.input-group-lg .form-control {
    padding: 14px 16px;
    font-size: 18px;
}

.input-group-lg .input-group-text {
    padding: 14px 16px;
    font-size: 18px;
}

/* ===== Responsive ===== */
@media (max-width: 576px) {
    .system-name {
        font-size: 24px;
    }
    
    .login-card {
        margin-top: -60px;
    }
    
    .form-control {
        padding: 10px;
    }
}