
    /* =========================================================
           ApcZando — Connexion Premium
           Backend volontairement inchangé
           ========================================================= */

    :root {
        --apcz-yellow: #ffc515;
        --apcz-yellow-dark: #f5b900;
        --apcz-blue: #087cf0;
        --apcz-blue-dark: #0068d9;
        --apcz-green: #159447;
        --apcz-text: #171717;
        --apcz-muted: #6c7280;
        --apcz-bg: #f5f7fb;
        --apcz-border: #e5e9ef;
    }

    body {
        margin: 0;
        background: var(--apcz-bg);
        color: var(--apcz-text);
        font-family: Arial, Helvetica, sans-serif;
    }

    .login-page {
        min-height: 680px;
        padding: 62px 20px 72px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-shell {
        width: min(1040px, 100%);
        display: grid;
        grid-template-columns: .9fr 1.1fr;
        min-height: 570px;
        background: #fff;
        border: 1px solid var(--apcz-border);
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 20px 55px rgba(15, 23, 42, .10);
    }

    /* Panneau marque */
    .login-brand {
        position: relative;
        padding: 46px 42px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: var(--apcz-yellow);
        overflow: hidden;
    }

    .login-brand::after {
        content: "";
        position: absolute;
        width: 250px;
        height: 250px;
        right: -100px;
        bottom: -105px;
        border-radius: 50%;
        border: 55px solid rgba(255, 255, 255, .20);
    }

    .login-brand::before {
        content: "";
        position: absolute;
        width: 130px;
        height: 130px;
        right: 35px;
        top: 55px;
        border-radius: 50%;
        background: rgba(8, 124, 240, .08);
    }

    .login-brand-content,
    .login-brand-bottom {
        position: relative;
        z-index: 1;
    }

    .login-brand-logo {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 42px;
        text-decoration: none;
    }

    .login-brand-logo img {
        width: 58px;
        height: 58px;
        object-fit: contain;
    }

    .login-brand-logo-text strong {
        display: block;
        color: var(--apcz-blue);
        font-size: 30px;
        font-weight: 800;
        line-height: 1;
    }

    .login-brand-logo-text strong span {
        color: var(--apcz-green);
    }

    .login-brand-logo-text small {
        display: block;
        margin-top: 7px;
        color: #171717;
        font-size: 11px;
        font-weight: 600;
    }

    .login-kicker {
        display: inline-flex;
        padding: 7px 11px;
        margin-bottom: 16px;
        border-radius: 6px;
        background: rgba(255, 255, 255, .55);
        color: var(--apcz-blue);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .10em;
        text-transform: uppercase;
    }

    .login-brand h1 {
        max-width: 360px;
        margin: 0 0 16px;
        color: #111;
        font-size: clamp(2rem, 3.4vw, 3rem);
        line-height: 1.05;
        letter-spacing: -.045em;
        font-weight: 850;
    }

    .login-brand-intro {
        max-width: 370px;
        margin: 0;
        color: #3e3e3e;
        line-height: 1.65;
        font-size: .94rem;
    }

    .login-benefits {
        display: grid;
        gap: 10px;
        margin: 28px 0 0;
    }

    .login-benefit {
        display: flex;
        align-items: center;
        gap: 11px;
        color: #222;
        font-size: .86rem;
        font-weight: 700;
    }

    .login-benefit-icon {
        width: 31px;
        height: 31px;
        flex: 0 0 31px;
        display: grid;
        place-items: center;
        border-radius: 7px;
        background: rgba(255, 255, 255, .72);
        color: var(--apcz-blue);
        font-weight: 900;
    }

    .login-brand-bottom {
        color: #4b4b4b;
        font-size: .78rem;
        font-weight: 600;
    }

    /* Formulaire */
    .login-form-panel {
        padding: 50px 52px;
        display: flex;
        align-items: center;
        background: #fff;
    }

    .login-form-inner {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .login-form-header {
        margin-bottom: 29px;
    }

    .login-form-kicker {
        display: block;
        margin-bottom: 7px;
        color: var(--apcz-green);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .login-form-header h2 {
        margin: 0 0 8px;
        color: #171717;
        font-size: 1.75rem;
        font-weight: 800;
        letter-spacing: -.025em;
    }

    .login-form-header p {
        margin: 0;
        color: var(--apcz-muted);
        font-size: .9rem;
        line-height: 1.55;
    }

    .login-alert {
        margin-bottom: 22px;
    }

    .login-alert .alert {
        margin-bottom: 0;
        border-radius: 8px;
        font-size: .86rem;
        font-weight: 600;
    }

    .login-field {
        margin-bottom: 19px;
    }

    .login-label {
        display: block;
        margin-bottom: 8px;
        color: #252a31;
        font-size: .84rem;
        font-weight: 750;
    }

    .login-input-wrap {
        position: relative;
    }

    .login-input-icon {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #8b94a1;
        font-size: 17px;
        pointer-events: none;
    }

    .login-input {
        width: 100%;
        height: 52px !important;
        min-height: 52px !important;
        padding: 0 15px 0 45px !important;
        border: 1px solid #dce1e8 !important;
        border-radius: 8px !important;
        background: #fff !important;
        color: #20242a !important;
        font-size: .92rem !important;
        box-sizing: border-box;
        outline: none;
        box-shadow: none !important;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    .login-input:focus {
        border-color: var(--apcz-blue) !important;
        box-shadow: 0 0 0 3px rgba(8, 124, 240, .12) !important;
    }

    .login-submit {
        width: 100%;
        min-height: 52px;
        margin-top: 4px;
        border: 0;
        border-radius: 8px;
        background: var(--apcz-blue);
        color: #fff;
        font-size: .94rem;
        font-weight: 800;
        cursor: pointer;
        transition: .2s ease;
        box-shadow: 0 7px 18px rgba(8, 124, 240, .20);
    }

    .login-submit:hover {
        background: var(--apcz-blue-dark);
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(8, 124, 240, .27);
    }

    /* Choix client / vendeur */
    .login-options {
        margin-top: 25px;
        padding-top: 23px;
        border-top: 1px solid #edf0f3;
    }

    .login-option {
        padding: 15px 16px;
        border: 1px solid #e4e8ed;
        border-radius: 9px;
        background: #fafbfc;
        transition: .2s ease;
    }

    .login-option+.login-option {
        margin-top: 10px;
    }

    .login-option:hover {
        border-color: #cfd8e3;
        background: #fff;
        box-shadow: 0 5px 16px rgba(15, 23, 42, .05);
        transform: translateY(-1px);
    }

    .login-option-head {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-bottom: 4px;
    }

    .login-option-icon {
        width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        border-radius: 7px;
        background: #fff;
        border: 1px solid #e3e7eb;
        font-size: 15px;
    }

    .login-option h3 {
        margin: 0;
        color: #252a31;
        font-size: .88rem;
        font-weight: 800;
    }

    .login-option p {
        margin: 0 0 10px 39px;
        color: #737b86;
        font-size: .77rem;
    }

    .login-option a {
        display: inline-flex;
        align-items: center;
        min-height: 35px;
        margin-left: 39px;
        padding: 0 13px;
        border-radius: 6px;
        text-decoration: none;
        font-size: .78rem;
        font-weight: 750;
        transition: .18s ease;
    }

    .login-option-client a {
        color: var(--apcz-blue);
        border: 1px solid #b9dbfa;
        background: #f3f9ff;
    }

    .login-option-client a:hover {
        color: #fff;
        background: var(--apcz-blue);
        border-color: var(--apcz-blue);
    }

    .login-option-vendeur a {
        color: var(--apcz-green);
        border: 1px solid #bde4cc;
        background: #f2fbf5;
    }

    .login-option-vendeur a:hover {
        color: #fff;
        background: var(--apcz-green);
        border-color: var(--apcz-green);
    }

    @media (max-width: 850px) {
        .login-page {
            padding: 40px 16px 55px;
        }

        .login-shell {
            grid-template-columns: 1fr;
            min-height: auto;
        }

        .login-brand {
            padding: 32px 30px;
        }

        .login-brand-logo {
            margin-bottom: 30px;
        }

        .login-brand h1 {
            font-size: 2.2rem;
        }

        .login-brand-bottom {
            margin-top: 28px;
        }

        .login-form-panel {
            padding: 38px 30px 42px;
        }
    }

    @media (max-width: 520px) {
        .login-page {
            padding: 22px 12px 40px;
            display: block;
        }

        .login-shell {
            border-radius: 12px;
        }

        .login-brand {
            padding: 27px 22px 29px;
        }

        .login-brand-logo img {
            width: 48px;
            height: 48px;
        }

        .login-brand-logo-text strong {
            font-size: 25px;
        }

        .login-brand-logo-text small {
            font-size: 9px;
        }

        .login-brand h1 {
            font-size: 1.9rem;
        }

        .login-brand-intro {
            font-size: .88rem;
        }

        .login-form-panel {
            padding: 30px 20px 34px;
        }

        .login-form-header h2 {
            font-size: 1.5rem;
        }

        .login-input,
        .login-submit {
            height: 52px !important;
            min-height: 52px !important;
        }

        .login-option {
            padding: 14px;
        }
    }
