﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --text-muted: #64748b;
    --brand: #2563eb;
    --brand-dark: #1d4ed8;
    --brand-dim: rgba(37,99,235,0.08);
    --font: 'Plus Jakarta Sans', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg,#eff6ff,#f8fafc);
    font-family: var(--font);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--text);
}

.login-wrapper {
    width: 100%;
    max-width: 1150px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 480px;
    box-shadow: 0 20px 40px rgba(15,23,42,0.06);
}

.login-left {
    background: linear-gradient(135deg,#2563eb,#1e40af);
    padding: 60px;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
}

.brand-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

    .brand-title span {
        color: #bfdbfe;
    }

.hero-title {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    max-width: 500px;
}

.hero-cards {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.mini-card {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 18px;
    backdrop-filter: blur(10px);
}

    .mini-card i {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .mini-card h4 {
        font-size: 16px;
        margin-bottom: 6px;
        font-weight: 700;
    }

    .mini-card p {
        font-size: 13px;
        color: rgba(255,255,255,0.8);
        line-height: 1.5;
    }

.login-right {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-top {
    margin-bottom: 34px;
}

    .login-top h2 {
        font-size: 34px;
        font-weight: 800;
        margin-bottom: 10px;
        letter-spacing: -0.5px;
    }

    .login-top p {
        color: var(--text-muted);
        font-size: 14px;
        line-height: 1.7;
    }

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.input-wrap {
    position: relative;
}

    .input-wrap i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 18px;
    }

.form-control {
    width: 100%;
    height: 54px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 18px 0 48px;
    font-size: 14px;
    font-family: var(--font);
    outline: none;
    transition: all .15s ease;
    background: #fff;
}

    .form-control:focus {
        border-color: var(--brand);
        box-shadow: 0 0 0 4px var(--brand-dim);
    }

.btn-login {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s ease;
    margin-top: 10px;
    font-family: var(--font);
}

    .btn-login:hover {
        background: var(--brand-dark);
    }

.extra-links {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

    .extra-links a {
        color: var(--brand);
        text-decoration: none;
        font-weight: 700;
    }

@media(max-width: 950px) {

    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .login-left {
        display: none;
    }

    .login-right {
        padding: 40px 28px;
    }
}
