/* ── Login page — Bunjil View GIS theme ── */

body,
input, button, textarea, select, label,
span:not(.input-group-text i), a,
p, h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

body {
    background-image: url('/assets/images/backgrounds/bg-login.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0B1829;
    min-height: 100vh;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
}

/* ── Content layer ── */
.login-content {
    position: relative;
    z-index: 10;
}

/* ── Card ── */
.card {
    background: rgba(var(--color-primary-rgb), 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(var(--color-primary-rgb), 0.07);
    color: white;
    font-size: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
    border-radius: 16px;
}

.card a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.card-body {
    padding: 60px 38px;
}

/* ── Brand header ── */
.login-brand-logo {
    max-height: 18px;
    width: auto;
}

.login-brand-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: rgba(212, 128, 10, 0.9);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0;
}

/* ── Form elements ── */
.form-control {
    font-size: 14px;
    background: rgba(255,255,255,0.08) !important;
    border: 0 !important;
    color: #fff !important;
}

.form-control::placeholder { color: rgba(255,255,255,0.45) !important; }
.form-control:focus { background: rgba(255,255,255,0.12) !important; box-shadow: none !important; }

.input-group-text {
    background: rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.6) !important;
    border: 0;
}

/* ── Buttons ── */
.btn-primary {
    background: var(--color-primary) !important;
    border: 0;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--color-primary-hover) !important;
    transform: translateY(-1px);
}

.btn-light {
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
    transition: all 0.25s;
}

.btn-light:hover {
    background: rgba(255,255,255,0.18) !important;
}

/* ── Divider ── */
.login-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
    margin: 0.75rem 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.12);
}

/* ── Checkbox & links ── */
.form-check-input { border-color: rgba(255,255,255,0.3) !important; background: transparent !important; }
.form-check-input:checked { background-color: #2563EB !important; border-color: #2563EB !important; }

/* ── Toggle password ── */
.toggle-password {
    background: rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.6) !important;
    border: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-password:hover { background: rgba(255,255,255,0.15) !important; }

/* ── Alert ── */
.alert-login ul { margin-bottom: 0 !important; padding-left: 15px !important; }

