* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f6fb;
    color: #1f2937;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* ===== LEFT BRAND AREA ===== */

.brand-panel {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.35), transparent 35%),
        linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.brand-content {
    max-width: 480px;
    text-align: center;
}

.logo-box {
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
    background: #ffffff;
    color: #2563eb;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.logo-box img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.brand-content h1 {
    margin: 0;
    font-size: 44px;
    letter-spacing: -1px;
}

.brand-content p {
    margin: 14px 0 0;
    color: #cbd5e1;
    font-size: 18px;
}

.brand-note {
    margin-top: 36px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.16);
}

.brand-note strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.brand-note span {
    font-size: 13px;
    color: #dbeafe;
}

/* ===== RIGHT LOGIN AREA ===== */

.form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: #ffffff;
}

.login-card {
    width: 100%;
    max-width: 420px;
}

.login-heading {
    margin-bottom: 28px;
}

.login-heading h2 {
    margin: 0;
    font-size: 32px;
    color: #111827;
}

.login-heading p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 15px;
}

.error-box {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #fecaca;
}

label {
    display: block;
    margin-top: 16px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: bold;
    color: #374151;
}

input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    background: #f9fafb;
}

input:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

button {
    width: 100%;
    margin-top: 24px;
    padding: 14px;
    border: 0;
    border-radius: 12px;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 850px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .brand-panel {
        min-height: 280px;
        padding: 32px 20px;
    }

    .brand-content h1 {
        font-size: 34px;
    }

    .brand-content p {
        font-size: 15px;
    }

    .form-panel {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .logo-box {
        width: 84px;
        height: 84px;
        border-radius: 22px;
        font-size: 26px;
    }

    .login-heading h2 {
        font-size: 28px;
    }
}