*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Blue/Orange palette ── */
:root {
    --primary:       var(--custom-primary, #087b2f);   /* primary blue */
    --primary-dark:  var(--custom-primary-dark, #066327);   /* dark blue */
    --secondary:     var(--custom-secondary, #0a9b38);   /* secondary orange */
    --secondary-light: var(--custom-secondary-light, #19ad46); /* light orange */
    --accent:        var(--custom-secondary, #0a9b38);   /* accent orange */
    --accent-light:  #e8f5ec;   /* light blue accent */
    --accent-faint:  rgba(8,123,47, 0.08);
    --accent-border: rgba(8,123,47, 0.20);

    --bg-base:       #F5F7FA;   /* light background */
    --bg-panel:      #FFFFFF;   /* card / form surface */
    --bg-input:      #f8fafc;
    --bg-input-focus:#ffffff;

    --text-primary:  #1F2937;   /* dark text */
    --text-secondary:#6B7280;   /* muted grey */
    --text-label:    #374151;

    --border-subtle: #e2e8f0;
    --border-focus:  var(--custom-primary, #087b2f);

    --success:       #4ade80;
    --error-bg:      #fef2f2;
    --error-border:  #fecaca;
    --error-text:    #dc2626;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg-base);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
}

/* ── Outer wrapper ── */
.lp-wrap {
    display: flex;
    width: 100%;
    max-width: 1060px;
    min-height: 620px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.10),
                0 0 0 1px rgba(8,123,47, 0.10);
    background: var(--bg-panel);
}

/* ── LEFT — Login form ── */
.lp-form-side {
    flex: 1;
    padding: 52px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-panel);
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}

.lp-brand .brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(8,123,47, 0.35);
}

.lp-brand .brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.lp-brand .brand-sub {
    font-size: 12px;
    color: var(--text-secondary);
}

.lp-heading {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.lp-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Error */
.lp-error {
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    color: var(--error-text);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
}

/* Form fields */
.fg {
    margin-bottom: 18px;
}

.fg label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-label);
    margin-bottom: 7px;
}

.fi-wrap {
    position: relative;
}

.fi-wrap .fi-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 15px;
    pointer-events: none;
}

.fi-wrap input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid var(--border-subtle);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-input);
    outline: none;
    transition: all 0.2s;
}

.fi-wrap input:focus {
    border-color: var(--primary);
    background: var(--bg-input-focus);
    box-shadow: 0 0 0 3px var(--accent-faint);
}

.fi-wrap .toggle-pw {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 15px;
    transition: color 0.2s;
}

.fi-wrap .toggle-pw:hover {
    color: var(--primary);
}

/* Options row */
.lp-opts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.lp-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.lp-remember input {
    accent-color: var(--primary);
    width: 15px;
    height: 15px;
}

.lp-forgot {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.lp-forgot:hover {
    color: var(--secondary-light);
    text-decoration: underline;
}

/* Submit */
.btn-login {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    transition: all 0.22s;
    letter-spacing: 0.2px;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-border);
}

.lp-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ── RIGHT — Marketing panel ── */
.lp-info-side {
    width: 50%;
    background: linear-gradient(155deg, var(--primary) 0%, var(--primary-dark) 40%, var(--primary) 100%);
    padding: 52px 44px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border-left: 1px solid var(--border-subtle);
}

/* decorative circles */
.lp-info-side::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    opacity: 0.06;
    border-radius: 50%;
    top: -120px;
    right: -100px;
}

.lp-info-side::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    background: var(--secondary);
    opacity: 0.04;
    border-radius: 50%;
    bottom: -80px;
    left: -60px;
}

.lp-info-top {
    position: relative;
    z-index: 2;
}

.lp-tagline {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 12px;
}

.lp-tagline span {
    color: var(--secondary-light);
}

.lp-desc {
    font-size: 14px;
    color: rgba(245, 240, 224, 0.55);
    line-height: 1.7;
    margin-bottom: 34px;
}

/* Big stats row */
.lp-stats {
    display: flex;
    gap: 14px;
    margin-bottom: 34px;
}

.lp-stat {
    flex: 1;
    background: var(--accent-faint);
    border: 1px solid var(--accent-border);
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
}

.lp-stat .st-icon {
    font-size: 22px;
    color: var(--secondary-light);
    margin-bottom: 8px;
}

.lp-stat .st-val {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.lp-stat .st-lbl {
    font-size: 11px;
    color: rgba(245, 240, 224, 0.45);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tips */
.lp-tips-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(245, 240, 224, 0.40);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.lp-tips {
    display: flex;
    flex-direction: column;
    gap: 11px;
    position: relative;
    z-index: 2;
}

.lp-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 160, 23, 0.10);
    border-radius: 12px;
    padding: 13px 14px;
}

.lp-tip .tip-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: rgba(8,123,47, 0.12);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--secondary-light);
}

.lp-tip h5 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.lp-tip p {
    font-size: 12px;
    color: rgba(245, 240, 224, 0.50);
    line-height: 1.5;
}

.lp-info-bottom {
    position: relative;
    z-index: 2;
}

.lp-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(245, 240, 224, 0.35);
    margin-top: 24px;
}

.lp-secure i {
    color: var(--success);
    font-size: 13px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .lp-info-side {
        display: none;
    }

    .lp-form-side {
        padding: 44px 32px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
        align-items: stretch;
    }

    .lp-wrap {
        border-radius: 0;
        min-height: 100vh;
    }

    .lp-form-side {
        padding: 40px 24px;
    }
}
/* Deliveryfly identity. The supplied logo stays unchanged on a white surface. */
:root { --accent-light:#e8f5ec; --accent-faint:rgba(8,123,47,.08); --accent-border:rgba(8,123,47,.22); --bg:#f4f7f4; --text:#19251d; --text-muted:#59665d; }
::selection { background:#c9edcf; color:#102818; }
:focus-visible { outline:3px solid #087b2f; outline-offset:3px; }
input,select,textarea { caret-color:#087b2f; }
::-webkit-scrollbar-thumb { background:#b1c6b6; border-radius:6px; }
::-webkit-scrollbar-thumb:hover { background:#6c9778; }
.sidebar { background:#101e15; box-shadow:3px 0 18px rgba(16,30,21,.12); }
.sidebar-logo { min-height:100px; padding:18px 22px; }
.sidebar-logo a { display:block; width:100%; background:#fff; border-radius:8px; padding:6px 9px; }
.sidebar-logo img { width:100%; height:62px; object-fit:contain; padding:0!important; border-radius:0; }
.sidebar .nav-link.active, .sidebar .nav-link:hover { background:#173f25; color:#fff; }
.sidebar .nav-link.active { box-shadow:inset 2px 0 #23be4c; }
.sidebar .nav-link.active i, .sidebar .nav-link:hover i { color:#64dc80; }
.sidebar .nav-section-title { color:#a7bead; }
.sidebar .nav-link { color:#d5e2d8; }
.brand-support { color:#c7decd; display:block; padding:12px 22px; font-size:12px; }
.brand-support i { margin-right:8px; color:#64dc80; }
.sidebar.collapsed .brand-support { display:none; }
.brand-help { font-size:12px; font-weight:600; color:var(--primary); white-space:nowrap; }
.brand-help i { margin-right:5px; }
.lp-wrap { border-radius:16px; box-shadow:0 12px 40px rgba(18,46,25,.10); }
.lp-brand { justify-content:flex-start; }
.lp-brand img { width:270px; max-width:100%; height:auto!important; border-radius:0!important; margin:0!important; }
.lp-info-side { background:#101e15; }
.lp-tagline span { color:#64dc80; }
.lp-info-side .lp-desc,.lp-info-side .lp-tips p,.lp-info-side .lp-secure { color:#c4d6c9; }
.lp-info-side .st-icon { color:#64dc80; }
.lp-contact { display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; font-size:12px; color:#59665d; }
.lp-contact a { color:#087b2f; text-decoration:none; font-weight:600; }
.btn-login { background:var(--primary); box-shadow:none; }
.btn-login:hover { background:var(--primary-dark); }
.fi-wrap input:focus { border-color:#087b2f; box-shadow:0 0 0 3px rgba(8,123,47,.12); }
@media(max-width:600px) { .brand-help { display:none; } .lp-form-side { padding:32px 24px; } .lp-brand img { width:230px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }
