/* Role-based login pages (admin / vendor / office) */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

html:has(body.rl) { zoom:1 !important; }
body.rl { --rl-a:#ff6a00; --rl-a2:#ff8a1f; --rl-b:#001a3d; --rl-b2:#002a5c; --rl-soft:#fff3e8; }

body.rl, body.rl * { font-family:'Cairo','Open Sans',sans-serif; }
body.rl .auth-bg { background:#f6f7fb !important; min-height:100vh; min-height:100dvh; padding:0 !important; }
body.rl .auth-bg::before, body.rl .auth-bg::after { display:none !important; }
body.rl main > .d-flex { min-height:100vh; min-height:100dvh; flex-wrap:nowrap !important; align-items:stretch !important; }

/* hero */
body.rl .auth-content { position:static !important; inset:auto !important; transform:none !important; height:auto !important; min-height:100vh; min-height:100dvh; flex:1 1 52%; max-width:none !important; width:auto !important; padding:0 !important; margin:0 !important; background:none !important; display:flex; }
body.rl .rl-hero { position:relative; overflow:hidden; flex:1; display:flex; align-items:center; color:#fff;
    background:linear-gradient(150deg,var(--rl-b2) 0%,var(--rl-b) 70%); padding:56px 64px; border-inline-end:6px solid var(--rl-a); }
body.rl .rl-hero-shapes span { position:absolute; border-radius:50%; background:rgba(255,255,255,.08); }
body.rl .rl-hero-shapes span:nth-child(1){ width:420px;height:420px; top:-140px; inset-inline-end:-120px; }
body.rl .rl-hero-shapes span:nth-child(2){ width:260px;height:260px; bottom:-90px; inset-inline-start:-60px; background:rgba(255,255,255,.06); }
body.rl .rl-hero-shapes span:nth-child(3){ width:120px;height:120px; top:38%; inset-inline-start:58%; border:2px solid rgba(255,255,255,.18); background:none; }
body.rl .rl-hero-inner { position:relative; z-index:1; max-width:520px; }
body.rl .rl-badge { display:inline-flex; gap:8px; align-items:center; padding:6px 16px; border-radius:999px;
    background:rgba(255,106,0,.18); color:#ffb27a; border:1px solid rgba(255,106,0,.45); font-weight:600; font-size:14px; margin-bottom:22px; }
body.rl .rl-title { color:#fff; font-size:40px; font-weight:800; line-height:1.35; margin:0 0 16px; }
body.rl .rl-text { color:rgba(255,255,255,.85); font-size:17px; line-height:1.9; margin:0 0 32px; }
body.rl .rl-features { list-style:none; padding:0; margin:0 0 40px; display:grid; gap:14px; }
body.rl .rl-features li { display:flex; align-items:center; gap:14px; font-size:16px; font-weight:600; }
body.rl .rl-fi { width:42px; height:42px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center;
    background:var(--rl-a); color:#fff; font-size:20px; flex:none; }
body.rl .rl-foot { color:rgba(255,255,255,.6); font-size:13px; }

/* form side */
body.rl .auth-wrapper { position:static !important; min-height:100vh; min-height:100dvh; flex:1 1 48%; max-width:none !important; width:auto !important; margin:0 !important;
    display:flex; align-items:center; justify-content:center; padding:40px 24px !important; background:#f6f7fb !important; }
body.rl .auth-wrapper-body { width:100%; max-width:440px; background:#fff !important; border-radius:22px !important;
    box-shadow:0 20px 60px -20px rgba(15,23,42,.18) !important; padding:40px 36px !important; position:relative; }
body.rl .auth-logo { display:block; text-align:center; margin-bottom:18px !important; }
body.rl .auth-logo img { max-height:56px; width:auto; }
body.rl .auth-header, body.rl .auth-wrapper-body > h3, body.rl .badge-soft-success.initial-1 { display:none !important; }
body.rl .rl-form-head { text-align:center; margin-bottom:26px; }
body.rl .rl-form-icon { width:58px; height:58px; margin:0 auto 14px; border-radius:16px; display:flex; align-items:center; justify-content:center;
    background:var(--rl-soft); color:var(--rl-a); font-size:26px; }
body.rl .rl-form-head h2 { font-size:24px; font-weight:800; color:#0f172a; margin:0 0 6px; }
body.rl .rl-form-head p { color:#64748b; margin:0; font-size:14px; }

body.rl .form-label { font-weight:600; color:#334155; font-size:14px; }
body.rl .form-control { border-radius:12px !important; border:1.5px solid #e2e8f0 !important; height:50px; background:#f8fafc !important; transition:.2s; }
body.rl .form-control:focus { border-color:var(--rl-a) !important; background:#fff !important; box-shadow:0 0 0 4px color-mix(in srgb,var(--rl-a) 15%,transparent) !important; }
body.rl .input-group-merge .form-control { border-radius:12px !important; }
body.rl .input-group-append .input-group-text { border:none !important; background:transparent !important; color:#94a3b8; }
body.rl [data-pw-toggle]:hover, body.rl [data-pw-toggle]:hover i { color:var(--rl-a) !important; }
body.rl .btn--primary, body.rl .btn-primary { background:linear-gradient(135deg,var(--rl-a2),var(--rl-a)) !important; border:none !important;
    border-radius:12px !important; height:52px; font-weight:700; font-size:16px; box-shadow:0 10px 24px -10px var(--rl-a); transition:.2s; }
body.rl .btn--primary:hover, body.rl .btn-primary:hover { transform:translateY(-1px); filter:brightness(1.06); }
body.rl .custom-control-input:checked ~ .custom-control-label::before { background:var(--rl-a) !important; border-color:var(--rl-a) !important; }
body.rl a.text__primary, body.rl .text__primary, body.rl #forget-password a, body.rl #forget-password1 a { color:var(--rl-a) !important; }

@media (max-width: 991px) {
    body.rl main > .d-flex { flex-direction:column; flex-wrap:wrap !important; }
    body.rl .rl-hero { padding:36px 24px 70px; }
    body.rl .rl-title { font-size:28px; }
    body.rl .rl-features, body.rl .rl-foot { display:none; }
    body.rl .auth-wrapper { margin-top:-50px !important; padding-top:0 !important; background:transparent !important; }
}

body.rl .rl-hero-shapes span:nth-child(1){ background:rgba(255,106,0,.10); }
body.rl .rl-title span { color:var(--rl-a); }
body.rl img.rl-broken { display:none !important; }
html, body.rl { height:auto; min-height:100%; }
body.rl .grecaptcha-badge { visibility:hidden !important; }
@media (max-width: 991px) {
    body.rl .auth-content, body.rl .auth-wrapper { min-height:0 !important; flex:none !important; width:100% !important; }
    body.rl .rl-hero { border-inline-end:none; border-bottom:5px solid var(--rl-a); padding:32px 22px 70px; }
    body.rl .rl-hero-shapes span:nth-child(3) { display:none; }
    body.rl .rl-text { font-size:15px; margin:0; }
    body.rl .auth-wrapper-body { padding:30px 22px !important; }
}
