:root {
    --primary: #E65643;
    --primary-dark: #C9493B;
    --bg: #f7f6f5;
    --card: #ffffff;
    --muted: #6b7280;
}

html, body {
    height: 100%;
    background: linear-gradient(180deg, #fff, var(--bg));
    font-family: 'Inter', system-ui, Arial, sans-serif;
    margin: 0;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.login-card {
    width: 100%;
    max-width: 980px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr 420px;
    background: transparent;
}

/* fixed media query syntax */
@media (max-width: 992px) {
    .login-card {
        grid-template-columns: 1fr;
    }
}

.brand-side {
    background: linear-gradient(135deg, rgba(230,86,67,0.06), rgba(246,221,205,0.08));
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.brand-logo {
    height: 72px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(230,86,67,0.08);
    object-fit: contain;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg,#E65643,#FF8A7A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-desc {
    color: var(--muted);
    max-width: 420px;
    margin: 0;
}

.illustration {
    margin-top: auto;
    width: 100%;
}

.login-side {
    background: var(--card);
    padding: 2.4rem;
    border-left: 1px solid rgba(0,0,0,0.03);
    box-sizing: border-box;
}

.login-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.form-control {
    border-radius: 10px;
    padding: 0.85rem 1rem;
    border: 1px solid #e6e6e6;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(135deg,var(--primary-dark),var(--primary));
    border: 0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-weight: 700;
}

.input-group-text {
    background: transparent;
    border: 0;
    cursor: pointer;
}

.remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forgot {
    color: var(--primary);
    text-decoration: none;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg,transparent,rgba(0,0,0,0.04),transparent);
    margin: 1.2rem 0;
}

.small-muted {
    color: var(--muted);
    font-size: 0.95rem;
}

.security-hint {
    background: #fff8f5;
    border-left: 4px solid rgba(230,86,67,0.2);
    padding: 0.9rem;
    border-radius: 8px;
    color: #7a433f;
}

/* small responsive tweaks */
@media (max-width: 768px) {
    .brand-side {
        padding: 2rem;
    }

    .login-side {
        padding: 1.6rem;
    }

    .brand-title {
        font-size: 1.4rem;
    }

    .brand-desc {
        max-width: none;
    }
}
