:root {
    --blue-primary: #0d47b5;
    --blue-dark: #0b2e63;
    --red-accent: #cc0000;
    --gray-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-main: #334155;
    --text-muted: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.login-container {
    display: flex;
    width: 100vw;
    height: 100vh;
    background-color: white;
}

/* LEFT BANNER */
.login-left-banner {
    flex: 1.2;
    background-color: #0b368f;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
    padding: 40px;
    text-align: center;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.brand-logo-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #93c5fd;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
}

.brand-logo-small i {
    color: #ffd400;
}

.login-left-banner h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 5px;
}

.login-left-banner h2 {
    font-size: 28px;
    font-weight: 700;
    color: #93c5fd;
    margin-bottom: 40px;
}

.tagline {
    font-size: 15px;
    line-height: 1.6;
    color: #e2e8f0;
    font-weight: 400;
}

/* Red curved shape at bottom left */
.red-wave-shape {
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background-color: var(--red-accent);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.9;
}

/* RIGHT FORM SECTION */
.login-right-form {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 40px;
    overflow-y: auto;
}

.form-wrapper {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.shield-icon-top {
    font-size: 36px;
    color: var(--blue-primary);
    margin-bottom: 5px;
}

.form-header h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
}

.form-header p {
    font-size: 13px;
    color: var(--text-muted);
}

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-hint {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 400;
}

.input-field-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field-wrap i.fa-user,
.input-field-wrap i.fa-lock {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 14px;
}

.input-field-wrap input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
    color: #1e293b;
}

.input-field-wrap input:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(13, 71, 181, 0.1);
}

.toggle-password {
    position: absolute;
    right: 14px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
}

.form-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-main);
    cursor: pointer;
    font-weight: 500;
}

.forgot-password {
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 600;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-signin {
    background-color: var(--red-accent);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s, transform 0.1s;
    box-shadow: 0 4px 10px rgba(204, 0, 0, 0.25);
    margin-top: 5px;
}

.btn-signin:hover {
    background-color: #b30000;
}

.btn-signin:active {
    transform: scale(0.99);
}

.form-footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.footer-brand i {
    color: var(--blue-primary);
}

.form-footer p {
    font-size: 11px;
    color: var(--text-muted);
}

@media(max-width: 900px) {
    .login-container {
        flex-direction: column;
    }
    .login-left-banner {
        display: none;
    }
    .login-right-form {
        flex: 1;
        background-color: #f8fafc;
    }
    .form-wrapper {
        background: white;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
}