:root {
    --routia-blue: #0046ad;
    --routia-blue-dark: #003584;
    --routia-dark: #111827;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text-main);
    font-family: "Inter", Arial, sans-serif;
}

.login-screen {
    display: flex;
    min-height: 100vh;
}

.brand-panel,
.form-panel {
    display: flex;
    width: 50%;
    align-items: center;
    justify-content: center;
}

.brand-panel {
    position: relative;
    overflow: hidden;
    background: var(--routia-dark);
}

.brand-panel::before {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 70, 173, 0.24), transparent 50%);
    content: "";
}

.brand-logo {
    z-index: 1;
    width: min(45%, 290px);
}

.form-panel {
    padding: 2rem;
    background: #fff;
}

.login-card {
    width: min(100%, 370px);
}

.mobile-logo {
    display: none;
    width: 150px;
    margin: 0 auto 2rem;
}

h1 {
    margin: 0;
    font-size: 2rem;
}

.subtitle {
    margin: 0.65rem 0 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

label {
    display: block;
    margin: 1rem 0 0.5rem;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

input {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: #f8fafc;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: 0.2s;
}

input:focus {
    border-color: var(--routia-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 70, 173, 0.1);
}

button {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    border: 0;
    border-radius: 12px;
    background: var(--routia-blue);
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 800;
    transition: 0.2s;
}

button:hover {
    background: var(--routia-blue-dark);
    transform: translateY(-1px);
}

.alert {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.82rem;
    font-weight: 600;
}

.footer {
    margin-top: 3rem;
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .brand-panel {
        display: none;
    }

    .form-panel {
        width: 100%;
    }

    .mobile-logo {
        display: block;
    }
}
