
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body.login-body {
    height: 100%;
    font-family: Segoe UI, sans-serif;
}


/* ══════════════════════════════════════
   Full-page layout
══════════════════════════════════════ */

.login-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}


/* ══════════════════════════════════════
   Left panel – brand / decorative
══════════════════════════════════════ */

.login-left {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg,
            #07193d,
            #0c2b66,
            #09142c);
    border-right: 3px solid #dca84d;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
}

.brand-info {
    position: relative;
    z-index: 2;
    text-align: center;
}

.brand-info h1 {
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.brand-info p {
    color: #dca84d;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Decorative blobs */

.decorative-circle,
.decorative-circle-2 {
    position: absolute;
    border-radius: 50%;
    opacity: .12;
    background: #dca84d;
    pointer-events: none;
}

.decorative-circle {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -140px;
}

.decorative-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -100px;
    background: #ffd76d;
    opacity: .08;
}


/* ══════════════════════════════════════
   Right panel – login form
══════════════════════════════════════ */

.login-right {
    background: #eef2f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
}

.login-box {
    width: 100%;
    max-width: 420px;
}

.login-header {
    margin-bottom: 36px;
    text-align: center;
}

.login-header h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #07193d;
    margin-bottom: 8px;
}

.login-header p {
    color: #5a6a8a;
    font-size: .95rem;
}


/* ══════════════════════════════════════
   Alert
══════════════════════════════════════ */

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: .9rem;
}

.alert.error {
    background: #fde8e8;
    color: #b91c1c;
    border-left: 4px solid #ef4444;
}

.alert i {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}


/* ══════════════════════════════════════
   Form
══════════════════════════════════════ */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: .85rem;
    font-weight: 600;
    color: #1e3a6e;
    letter-spacing: .4px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.input-wrapper i {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #7a8fb5;
}

.input-wrapper input {
    flex: 1;
    padding: 13px 16px;
    border: 2px solid #d0daea;
    border-radius: 12px;
    background: #ffffff;
    font-family: inherit;
    font-size: .95rem;
    color: #1e3a6e;
    text-align: left;
    transition:
        border-color .25s,
        box-shadow .25s;
    outline: none;
}

.input-wrapper input::placeholder {
    color: #b0bcd4;
}

.input-wrapper input:focus {
    border-color: #dca84d;
    box-shadow: 0 0 0 3px rgba(220, 168, 77, .18);
}


/* ══════════════════════════════════════
   Submit button – matches .btn-primary
══════════════════════════════════════ */

.login-form .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    background:
        linear-gradient(135deg,
            #dca84d,
            #ffd76d);
    color: #0a1f45;
    font-family: inherit;
    font-size: .98rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform .25s,
        box-shadow .25s;
}

.login-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 168, 77, .4);
}

.login-form .btn-primary i {
    width: 18px;
    height: 18px;
}


/* ══════════════════════════════════════
   Responsive
══════════════════════════════════════ */

@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
    }

    .login-left {
        min-height: 200px;
        padding: 40px 24px;
        border-right: none;
        border-bottom: 3px solid #dca84d;
    }

    .brand-info h1 {
        font-size: 1.8rem;
    }

    .decorative-circle {
        width: 260px;
        height: 260px;
    }

    .decorative-circle-2 {
        width: 180px;
        height: 180px;
    }

    .login-right {
        padding: 36px 20px;
    }
}
