/* LICIFINDER — Global Styles & Brand System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand palette */
    --lf-indigo: #1E1B4B;
    --lf-violet: #4F46E5;
    --lf-purple: #8B5CF6;
    --lf-mint: #10B981;
    --lf-amber: #F59E0B;
    --lf-slate: #64748B;
    --lf-canvas: #F8FAFC;
    --lf-white: #FFFFFF;
    --lf-red: #DC2626;

    /* Derived */
    --lf-indigo-50: rgba(30,27,75,0.05);
    --lf-violet-10: rgba(79,70,229,0.10);
    --lf-violet-50: rgba(79,70,229,0.50);
    --lf-mint-10: rgba(16,185,129,0.10);
    --lf-amber-10: rgba(245,158,11,0.10);
    --lf-red-10: rgba(220,38,38,0.10);

    /* Typography */
    --lf-font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
    --lf-font-body: 'Inter', system-ui, sans-serif;

    /* Radii & shadows */
    --lf-radius-sm: 8px;
    --lf-radius: 14px;
    --lf-radius-lg: 18px;
    --lf-shadow-sm: 0 1px 3px rgba(30,27,75,0.06);
    --lf-shadow: 0 4px 16px rgba(30,27,75,0.07);
    --lf-shadow-lg: 0 8px 32px rgba(30,27,75,0.10);

    /* Borders */
    --lf-border: #E2E8F0;
    --lf-border-light: #F1F5F9;

    /* Bootstrap overrides */
    --bs-primary: var(--lf-violet);
    --bs-primary-rgb: 79,70,229;
    --bs-success: var(--lf-mint);
    --bs-success-rgb: 16,185,129;
    --bs-warning: var(--lf-amber);
    --bs-warning-rgb: 245,158,11;
    --bs-danger: var(--lf-red);
    --bs-danger-rgb: 220,38,38;
}

/* ── Reset & Base ── */

body {
    font-family: var(--lf-font-body);
    font-weight: 400;
    font-size: 15px;
    color: var(--lf-indigo);
    background: var(--lf-canvas);
    padding-top: 96px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--lf-font-heading);
    font-weight: 700;
    color: var(--lf-indigo);
    letter-spacing: -0.01em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.2rem; }

a {
    color: var(--lf-violet);
    text-decoration: none;
}

/* ── Searches table: constrain customer column ── */

.lf-col-customer {
    max-width: 140px;
    word-break: break-word;
}

a:hover {
    color: #3730A3;
    text-decoration: underline;
}

/* ── Content ── */

#content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px 48px;
}

/* ── Navbar ── */

#topbar {
    background: var(--lf-white) !important;
    border-bottom: 1px solid var(--lf-border);
    padding: 0;
    min-height: 72px;
    box-shadow: var(--lf-shadow-sm);
}

#topbar .navbar-brand {
    padding: 6px 0;
}
#topbar .navbar-brand img {
    display: block;
    height: 44px;
}

#topbar .nav-link {
    color: var(--lf-slate);
    font-size: 15px;
    font-weight: 500;
    font-family: var(--lf-font-body);
    padding: 0.5rem 1rem;
    border-radius: var(--lf-radius-sm);
    transition: background 0.15s, color 0.15s;
}
#topbar .nav-link:hover,
#topbar .nav-link.active {
    color: var(--lf-violet);
    background: var(--lf-violet-10);
}

#topbar .navbar-text {
    color: var(--lf-slate);
    font-size: 14px;
}

.lf-public-user-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

#topbar .lf-public-user-actions .nav-link {
    white-space: nowrap;
}

/* ── Page Head ── */

.lf-page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.lf-page-head h1 {
    margin: 6px 0 8px;
}

.lf-kicker {
    display: inline-block;
    font-family: var(--lf-font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lf-violet);
    background: var(--lf-violet-10);
    padding: 4px 10px;
    border-radius: 999px;
}

/* ── Cards ── */

.licifinder-card {
    background: var(--lf-white);
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius-lg);
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: var(--lf-shadow-sm);
}

.licifinder-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

/* ── KPI Cards ── */

.licifinder-kpi {
    background: var(--lf-white);
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    padding: 20px 22px;
    border-left: 4px solid var(--lf-slate);
}
.licifinder-kpi strong {
    display: block;
    font-family: var(--lf-font-heading);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.2;
    color: var(--lf-indigo);
}
.licifinder-kpi span {
    display: block;
    font-size: 0.85rem;
    color: var(--lf-slate);
    margin-top: 4px;
}

.lf-kpi-purple  { border-left-color: var(--lf-purple); }
.lf-kpi-mint    { border-left-color: var(--lf-mint); }
.lf-kpi-amber   { border-left-color: var(--lf-amber); }
.lf-kpi-indigo  { border-left-color: var(--lf-indigo); }

/* ── Grid ── */

.licifinder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.lf-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.lf-hero-logo {
    max-height: 80px;
}

/* ── Tables ── */

.licifinder-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lf-table {
    min-width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.lf-table thead th {
    background: var(--lf-indigo-50);
    color: var(--lf-indigo);
    font-family: var(--lf-font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 2px solid var(--lf-border);
    white-space: nowrap;
}

.lf-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--lf-border-light);
    color: var(--lf-indigo);
    vertical-align: middle;
}

.lf-table tbody tr:hover {
    background: var(--lf-canvas);
}

.lf-table.table-hover tbody tr:hover {
    background: var(--lf-canvas);
}

/* ── Status Badge ── */

.licifinder-status-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.licifinder-status-badge.is-active,
.licifinder-status-badge.is-sent {
    background: var(--lf-mint-10);
    color: var(--lf-mint);
}

.licifinder-status-badge.is-paused,
.licifinder-status-badge.is-pending {
    background: var(--lf-amber-10);
    color: #B45309;
}

.licifinder-status-badge.is-error {
    background: var(--lf-red-10);
    color: var(--lf-red);
}

.licifinder-status-badge.is-running {
    background: var(--lf-violet-10);
    color: var(--lf-violet);
}

/* ── Buttons ── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: var(--lf-radius-sm);
    font-family: var(--lf-font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    line-height: 1.4;
}
.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--lf-violet);
    color: var(--lf-white);
    border-color: var(--lf-violet);
}
.btn-primary:hover {
    background: #3730A3;
    border-color: #3730A3;
    color: var(--lf-white);
}

.btn-success {
    background: var(--lf-mint);
    color: var(--lf-white);
    border-color: var(--lf-mint);
}
.btn-success:hover {
    background: #059669;
    border-color: #059669;
    color: var(--lf-white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--lf-violet);
    border-color: var(--lf-violet);
}
.btn-outline-primary:hover {
    background: var(--lf-violet);
    color: var(--lf-white);
}

.btn-outline-secondary {
    background: transparent;
    color: var(--lf-slate);
    border-color: var(--lf-border);
}
.btn-outline-secondary:hover {
    background: var(--lf-canvas);
    color: var(--lf-indigo);
    border-color: var(--lf-slate);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
}

.btn-lg {
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: var(--lf-radius);
}

/* ── Alerts ── */

.licifinder-alert-success {
    background: var(--lf-mint-10);
    color: #065F46;
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: var(--lf-radius);
    padding: 14px 18px;
    margin-bottom: 18px;
    font-weight: 500;
}

.licifinder-alert-error {
    background: var(--lf-red-10);
    color: #991B1B;
    border: 1px solid rgba(220,38,38,0.25);
    border-radius: var(--lf-radius);
    padding: 14px 18px;
    margin-bottom: 18px;
    font-weight: 500;
}

.licifinder-alert-info {
    background: var(--lf-violet-10);
    color: #3730A3;
    border: 1px solid rgba(79,70,229,0.25);
    border-radius: var(--lf-radius);
    padding: 14px 18px;
    margin-bottom: 18px;
    font-weight: 500;
}

.licifinder-alert-warning {
    background: var(--lf-amber-10);
    color: #92400E;
    border: 1px solid rgba(245,158,11,0.25);
    border-radius: var(--lf-radius);
    padding: 14px 18px;
    margin-bottom: 18px;
    font-weight: 500;
}

/* ── Actions ── */

.lf-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* ── Muted text ── */

.licifinder-muted {
    color: var(--lf-slate);
    font-size: 0.9rem;
}

/* ── Mini nav ── */

.lf-mini-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--lf-border);
}

.lf-mini-nav a {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--lf-slate);
    padding: 4px 10px;
    border-radius: var(--lf-radius-sm);
    transition: all 0.15s;
}
.lf-mini-nav a:hover {
    color: var(--lf-violet);
    background: var(--lf-violet-10);
    text-decoration: none;
}

/* ── Price period ── */

.lf-price-period {
    font-size: 0.82rem;
    color: var(--lf-slate);
    margin: -4px 0 12px;
}

.lf-price-unit {
    font-size: 0.82rem;
    font-weight: 400;
    font-family: var(--lf-font-body);
    color: var(--lf-slate);
}

/* ── Table actions ── */

.lf-table-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ── Inline form ── */

.lf-inline-form {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}
.lf-inline-form select {
    padding: 5px 8px;
    border: 1px solid var(--lf-border);
    border-radius: 6px;
    font-size: 0.82rem;
    background: var(--lf-white);
}

/* ── Admin command section ── */

.lf-admin-command {
    background: var(--lf-canvas);
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    padding: 18px 22px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.lf-admin-command h2 {
    margin: 0;
    font-size: 1.1rem;
}

/* ── Footer ── */

body > footer,
.lf-footer {
    text-align: center;
    padding: 28px 20px;
    color: var(--lf-slate);
    font-size: 0.82rem;
    border-top: 1px solid var(--lf-border);
    margin-top: 32px;
}
.lf-footer a {
    color: var(--lf-slate);
    font-weight: 500;
}
.lf-footer a:hover {
    color: var(--lf-violet);
}

/* ── Responsive ── */

@media (max-width: 980px) {
    #content {
        padding: 20px 14px 36px;
    }

    .lf-page-head {
        flex-direction: column;
    }

    .licifinder-grid {
        grid-template-columns: 1fr;
    }

    .lf-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body {
        padding-top: 80px;
        font-size: 14px;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }

    #topbar .navbar-brand img {
        height: 34px;
    }

    .lf-public-user-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }

    .licifinder-card {
        padding: 16px;
        border-radius: var(--lf-radius);
    }

    .lf-table thead th,
    .lf-table tbody td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .lf-admin-command {
        flex-direction: column;
        align-items: flex-start;
    }
}

body.lf-app-body {
    padding-top: 0;
    background: #F8FAFC;
}

body.lf-app-body #content {
    max-width: none;
    margin: 0;
    padding: 0;
}

.lf-app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    background: #FFFFFF;
}

.lf-app-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 24px 20px;
    border-right: 1px solid #E6EAF2;
    background: #FFFFFF;
    overflow-y: auto;
}

.lf-app-brand {
    display: inline-flex;
    align-items: center;
    color: #0F172A;
    font-family: var(--lf-font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.lf-app-brand:hover {
    color: #0F172A;
    text-decoration: none;
}

.lf-app-brand-mark {
    height: 44px;
    width: auto;
    display: block;
}

.lf-app-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lf-app-nav-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.lf-app-nav-title {
    margin: 0 0 6px;
    color: #8A94A6;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lf-app-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #526079;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s, transform .15s;
}

.lf-app-nav-link:hover,
.lf-app-nav-link.is-active {
    color: #5B4DFF;
    background: #F2EFFF;
    text-decoration: none;
}

.lf-app-nav-link:hover {
    transform: translateX(1px);
}

.lf-app-nav-icon {
    display: grid;
    place-items: center;
    width: 22px;
    color: inherit;
    font-size: 1.08rem;
}

.lf-app-nav-badge {
    margin-left: auto;
    min-width: 26px;
    padding: 2px 8px;
    border: 1px solid #D8D4FF;
    border-radius: 999px;
    color: #5B4DFF;
    background: #FFFFFF;
    font-size: .78rem;
    text-align: center;
}

.lf-app-sidebar-card {
    margin-top: auto;
    padding: 18px;
    border: 1px solid #DDD7FF;
    border-radius: 14px;
    background: linear-gradient(180deg, #F6F3FF 0%, #FFFFFF 100%);
    box-shadow: 0 10px 30px rgba(79, 70, 229, .08);
}

.lf-app-sidebar-card strong,
.lf-app-sidebar-card span {
    display: block;
}

.lf-app-sidebar-card strong {
    margin-bottom: 6px;
    color: #5B4DFF;
    font-family: var(--lf-font-heading);
}

.lf-app-sidebar-card span {
    color: #64748B;
    font-size: .84rem;
    line-height: 1.45;
}

.lf-logout-button,
.lf-app-logout,
.lf-app-top-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border: 1px solid #E6EAF2;
    border-radius: 10px;
    color: #64748B;
    font-weight: 700;
    font-size: .84rem;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
}

.lf-logout-button:hover,
.lf-app-logout:hover,
.lf-app-top-logout:hover {
    color: #DC2626;
    border-color: #FECACA;
    background: #FEF2F2;
    text-decoration: none;
}

.lf-app-logout {
    align-self: flex-start;
}

.lf-app-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top right, rgba(108, 92, 255, .08), transparent 34%), #FBFCFE;
}

.lf-app-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 28px;
    border-bottom: 1px solid #E6EAF2;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
}

.lf-app-search-wrap {
    flex: 1;
    max-width: 760px;
    position: relative;
    min-width: 0;
}

.lf-app-searchbar {
    flex: 1;
    width: 100%;
    max-width: 760px;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 14px;
    border: 1px solid #E0E6F0;
    border-radius: 10px;
    color: #748096;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
    cursor: text;
}

.lf-app-searchbar:focus-within {
    border-color: #C7C1FF;
    box-shadow: 0 0 0 4px rgba(91, 77, 255, .10);
}

.lf-app-searchbar input {
    flex: 1;
    min-width: 120px;
    border: 0;
    outline: 0;
    color: #0F172A;
    background: transparent;
    font-family: var(--lf-font-body);
    font-size: .92rem;
}

.lf-app-searchbar input::placeholder {
    color: #748096;
}

.lf-app-searchbar button {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    color: #FFFFFF;
    background: #5B4DFF;
    font-family: var(--lf-font-heading);
    font-size: .8rem;
    font-weight: 800;
}

.lf-app-searchbar button:hover {
    background: #4338CA;
}

.lf-app-searchbar button,
.lf-app-searchbar a,
.lf-alert-search-form button,
.lf-alert-search-form a {
    cursor: pointer;
}

.lf-app-search-clear {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #748096;
    font-size: 1.15rem;
    font-weight: 800;
}

.lf-app-search-clear:hover {
    color: #5B4DFF;
    background: #F2EFFF;
    text-decoration: none;
}

.lf-app-searchbar:hover {
    color: #5B4DFF;
    border-color: #C7C1FF;
    text-decoration: none;
}

.lf-app-search-icon {
    color: #5B4DFF;
    font-size: 1.15rem;
}

.lf-app-searchbar kbd {
    margin-left: 0;
    padding: 4px 8px;
    border: 1px solid #E0E6F0;
    border-radius: 7px;
    color: #748096;
    background: #FFFFFF;
    font-family: var(--lf-font-body);
    font-size: .76rem;
    box-shadow: none;
}

.lf-app-top-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.lf-app-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid #E0E6F0;
    border-radius: 11px;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.lf-app-menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: #0F172A;
}

.lf-app-menu-toggle:hover,
body.lf-app-menu-open .lf-app-menu-toggle {
    border-color: #C7C1FF;
    background: #F2EFFF;
}

body.lf-app-menu-open .lf-app-menu-toggle span {
    background: #5B4DFF;
}

.lf-app-menu-backdrop {
    display: none;
}

.lf-app-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: #FFFFFF;
    background: #5B4DFF;
    font-weight: 800;
    letter-spacing: -.03em;
}

.lf-app-user-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.lf-app-user-text strong {
    max-width: 180px;
    color: #0F172A;
    font-size: .92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lf-app-user-text small {
    max-width: 180px;
    color: #748096;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.lf-app-user-text:hover {
    text-decoration: none;
}

a.lf-app-user-text:hover strong,
a.lf-app-user-text:hover small {
    color: #5B4DFF;
}

.lf-app-workspace {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 28px;
}

.lf-app-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.lf-app-titlebar h1 {
    margin: 4px 0 6px;
    color: #0F172A;
    font-size: 1.65rem;
    letter-spacing: -.04em;
}

.lf-app-titlebar p {
    margin-bottom: 0;
}

.lf-panel {
    border: 1px solid #E0E6F0;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
    cursor: pointer;
}

.lf-app-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.lf-app-metric {
    padding: 22px;
    border: 1px solid #E0E6F0;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.lf-app-metric span {
    display: block;
    color: #748096;
    font-size: .85rem;
    font-weight: 700;
}

.lf-app-metric strong {
    display: block;
    margin-top: 7px;
    color: #0F172A;
    font-family: var(--lf-font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

.lf-app-metric small {
    display: block;
    margin-top: 4px;
    color: #8A94A6;
}

.lf-search-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
}

.lf-alert-search-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #DDD7FF;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.lf-alert-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lf-alert-search-form input[type="search"] {
    flex: 1;
    min-width: 160px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #E0E6F0;
    border-radius: 10px;
    color: #0F172A;
    background: #FFFFFF;
    font-family: var(--lf-font-body);
}

.lf-alert-search-form input[type="search"]:focus {
    outline: 0;
    border-color: #C7C1FF;
    box-shadow: 0 0 0 4px rgba(91, 77, 255, .10);
}

.lf-alert-search-live[hidden] {
    display: none;
}

.lf-alert-search-live {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #E0E6F0;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.lf-alert-search-live-top {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 90;
    max-height: min(72vh, 560px);
    overflow-y: auto;
    margin-top: 0;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .16);
}

.lf-alert-live-head,
.lf-alert-live-item-top,
.lf-alert-live-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lf-alert-live-head {
    padding: 0 2px 10px;
    border-bottom: 1px solid #EEF2F7;
}

.lf-alert-live-head strong {
    color: #0F172A;
    font-family: var(--lf-font-heading);
    font-size: .95rem;
}

.lf-alert-live-head span,
.lf-alert-live-message {
    color: #64748B;
    font-size: .84rem;
}

.lf-alert-live-message {
    margin: 0;
}

.lf-alert-live-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
}

.lf-alert-live-item {
    padding: 12px;
    border: 1px solid #EEF2F7;
    border-radius: 12px;
    background: #FBFCFE;
}

.lf-alert-live-item:hover {
    border-color: #C7C1FF;
    background: #FFFFFF;
}

.lf-alert-live-title {
    min-width: 0;
    color: #0F172A;
    font-family: var(--lf-font-heading);
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lf-alert-live-title:hover {
    color: #5B4DFF;
    text-decoration: none;
}

.lf-alert-live-status {
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

.lf-alert-live-status.is-active {
    color: #108548;
    background: #E6F8EE;
}

.lf-alert-live-status.is-paused {
    color: #B45309;
    background: #FFF1D8;
}

.lf-alert-live-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 7px 0 0;
    color: #64748B;
    font-size: .78rem;
}

.lf-alert-live-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.lf-alert-live-tenders {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.lf-alert-live-tender {
    margin: 0;
    padding: 8px;
    border: 1px solid #E0E6F0;
    border-radius: 9px;
    background: #FFFFFF;
}

.lf-alert-live-tender strong,
.lf-alert-live-tender span {
    display: block;
}

.lf-alert-live-tender strong {
    color: #0F172A;
    font-size: .82rem;
    line-height: 1.3;
}

.lf-alert-live-tender span {
    margin-top: 3px;
    color: #64748B;
    font-size: .76rem;
}

.lf-alert-live-actions {
    justify-content: flex-start;
    margin-top: 10px;
}

.lf-alert-live-full {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    color: #5B4DFF;
    background: #F2EFFF;
    font-family: var(--lf-font-heading);
    font-size: .84rem;
    font-weight: 800;
}

.lf-alert-live-full:hover {
    color: #4338CA;
    text-decoration: none;
    background: #ECE8FF;
}

.lf-search-card-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lf-search-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 18px;
    border: 1px solid #E0E6F0;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.lf-search-card:hover {
    border-color: #B9B1FF;
    box-shadow: 0 14px 32px rgba(91, 77, 255, .10);
}

.lf-search-card h2,
.lf-result-card h2 {
    margin: 0 0 8px;
    color: #0F172A;
    font-size: 1.05rem;
    line-height: 1.35;
}

.lf-search-card-meta,
.lf-result-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #64748B;
    font-size: .86rem;
}

.lf-search-card-actions {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.lf-search-match-box {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #EEF2F7;
    border-radius: 12px;
    background: #F8FAFC;
}

.lf-search-match-title {
    margin: 0 0 8px;
    color: #475569;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lf-search-match-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
}

.lf-search-match-fields:last-child {
    margin-bottom: 0;
}

.lf-search-match-tenders {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lf-search-match-tender-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lf-search-match-tender {
    padding: 10px;
    border: 1px solid #E0E6F0;
    border-radius: 10px;
    background: #FFFFFF;
}

.lf-search-match-tender strong,
.lf-search-match-tender span {
    display: block;
}

.lf-search-match-tender strong {
    color: #0F172A;
    font-size: .88rem;
    line-height: 1.35;
}

.lf-search-match-tender span {
    margin-top: 4px;
    color: #64748B;
    font-size: .8rem;
}

.lf-search-match-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    padding-top: 4px;
    border-top: 0;
}

.lf-search-match-page-numbers {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px;
}

.lf-search-match-page-btn,
.lf-search-match-page-number {
    min-height: 24px;
    padding: 2px 6px;
    border: 0;
    border-radius: 6px;
    color: #2563EB;
    background: transparent;
    font-family: var(--lf-font-heading);
    font-size: .72rem;
    font-weight: 800;
}

.lf-search-match-page-btn:hover,
.lf-search-match-page-number:hover,
.lf-search-match-page-number.is-active {
    color: #1D4ED8;
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lf-search-match-page-btn:disabled,
.lf-search-match-page-number:disabled {
    cursor: not-allowed;
    opacity: .46;
}

.lf-search-match-page-btn:disabled:hover,
.lf-search-match-page-number:disabled:hover {
    color: #94A3B8;
    background: transparent;
    text-decoration: none;
}

.lf-search-match-page-status,
.lf-search-match-page-summary,
.lf-search-match-page-message,
.lf-search-match-page-ellipsis {
    color: #2563EB;
    font-size: .72rem;
}

.lf-search-match-page-summary,
.lf-search-match-page-message {
    margin: 0;
}

.lf-search-match-page-message.is-error {
    color: #B91C1C;
}

.lf-search-match-tenders.is-loading .lf-search-match-tender-list {
    opacity: .62;
}

.lf-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
}

.lf-chip.is-success {
    color: #108548;
    background: #E6F8EE;
}

.lf-chip.is-warning {
    color: #B45309;
    background: #FFF1D8;
}

.lf-chip.is-info {
    color: #3056D3;
    background: #EAF1FF;
}

.lf-chip.is-danger {
    color: #B91C1C;
    background: #FEE2E2;
}

.lf-chip.is-muted {
    color: #5B4DFF;
    background: #F2EFFF;
}

.lf-check-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    color: #2563EB;
    background: #DBEAFE;
    font-size: .82rem;
    font-weight: 800;
}

.lf-preview-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(320px, 1fr) minmax(280px, 1fr);
    gap: 20px;
    align-items: start;
}

.lf-filter-panel,
.lf-detail-panel,
.lf-results-panel,
.lf-side-panel {
    min-width: 0;
}

.lf-filter-panel,
.lf-side-panel {
    padding: 18px;
    border: 1px solid #E0E6F0;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.lf-filter-head,
.lf-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.lf-filter-head h2,
.lf-results-head h2,
.lf-side-panel h2,
.lf-detail-panel h2 {
    margin: 0;
    color: #0F172A;
    font-size: 1.05rem;
}

.lf-filter-block {
    padding: 14px 0;
    border-top: 1px solid #EEF2F7;
}

.lf-filter-block:first-of-type {
    border-top: 0;
}

.lf-filter-block h3 {
    margin: 0 0 10px;
    color: #0F172A;
    font-size: .9rem;
}

.lf-filter-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    color: #64748B;
    font-size: .86rem;
}

.lf-filter-row strong {
    color: #0F172A;
    font-weight: 700;
    text-align: right;
}

.lf-filter-items {
    display: inline;
}

.lf-filter-more-btn {
    margin-left: 4px;
    padding: 1px 7px;
    border: 0;
    border-radius: 999px;
    color: #5B4DFF;
    background: #F2EFFF;
    font-family: var(--lf-font-heading);
    font-size: .72rem;
    font-weight: 800;
    cursor: pointer;
}

.lf-filter-more-btn:hover,
.lf-filter-more-btn[aria-expanded="true"] {
    color: #FFFFFF;
    background: #5B4DFF;
}

.lf-filter-more-btn:focus-visible {
    outline: 3px solid rgba(108, 92, 255, .28);
    outline-offset: 2px;
}

.lf-filter-more-list {
    color: #0F172A;
}

.lf-selectlike {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #E0E6F0;
    border-radius: 10px;
    color: #64748B;
    background: #FFFFFF;
    font-size: .88rem;
}

.lf-selectlike strong {
    color: #0F172A;
}

.lf-result-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lf-result-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 18px;
    border: 1px solid #E0E6F0;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
    cursor: pointer;
}

.lf-result-card:focus-visible {
    outline: 3px solid rgba(108, 92, 255, .32);
    outline-offset: 3px;
}

.lf-result-card.is-selected {
    border-color: #6C5CFF;
    box-shadow: 0 0 0 1px #6C5CFF, 0 18px 40px rgba(91, 77, 255, .12);
}

.lf-result-amount {
    color: #0F172A;
    font-family: var(--lf-font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    white-space: nowrap;
    text-align: right;
}

.lf-result-amount span {
    display: block;
    margin-top: 3px;
    color: #64748B;
    font-family: var(--lf-font-body);
    font-size: .8rem;
    font-weight: 500;
}

.lf-detail-panel {
    position: sticky;
    top: 98px;
    max-height: calc(100vh - 118px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-margin-top: 94px;
    padding: 12px 14px;
    border: 1px solid #E0E6F0;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
    scrollbar-color: #C7C1FF #F8FAFC;
    scrollbar-width: thin;
}

.lf-detail-panel::-webkit-scrollbar {
    width: 8px;
}

.lf-detail-panel::-webkit-scrollbar-track {
    background: #F8FAFC;
    border-radius: 999px;
}

.lf-detail-panel::-webkit-scrollbar-thumb {
    background: #C7C1FF;
    border-radius: 999px;
}

.lf-detail-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.lf-detail-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 4px;
    color: #0F172A;
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: -.04em;
}

.lf-detail-org {
    display: flex;
    gap: 5px;
    align-items: center;
    color: #475569;
    font-size: .82rem;
    font-weight: 700;
}

.lf-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.lf-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #E0E6F0;
    border-radius: 10px;
    overflow: hidden;
}

.lf-detail-cell {
    padding: 6px 8px;
    border-right: 1px solid #EEF2F7;
    border-bottom: 1px solid #EEF2F7;
}

.lf-detail-cell:nth-child(3n) {
    border-right: 0;
}

.lf-detail-cell span {
    display: block;
    margin-bottom: 0;
    color: #748096;
    font-size: .68rem;
    font-weight: 700;
}

.lf-detail-cell strong {
    color: #0F172A;
    font-size: .8rem;
}

.lf-feature-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #EEF2F7;
    color: #0F172A;
}

.lf-feature-line:last-child {
    border-bottom: 0;
}

.lf-feature-line span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    font-weight: 800;
}

.lf-feature-line.is-on span {
    color: #0E8F55;
    background: #E6F8EE;
}

.lf-feature-line.is-off span {
    color: #94A3B8;
    background: #F1F5F9;
}

body.lf-app-body .licifinder-card,
body.lf-app-body .licifinder-kpi {
    border-color: #E0E6F0;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

body.lf-app-body .lf-page-head {
    margin-bottom: 18px;
}

@media (max-width: 1200px) {
    .lf-preview-layout,
    .lf-search-board {
        grid-template-columns: 1fr;
    }

    .lf-detail-panel {
        position: static;
        max-height: min(72vh, 680px);
        scroll-margin-top: 94px;
    }
}

@media (max-width: 920px) {
    .lf-app-shell {
        display: block;
        min-height: 100vh;
    }

    .lf-app-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 130;
        width: min(86vw, 320px);
        height: 100vh;
        padding: 18px 18px 20px;
        border-right: 1px solid #E6EAF2;
        border-bottom: 0;
        box-shadow: 24px 0 56px rgba(15, 23, 42, .18);
        transform: translateX(-106%);
        transition: transform .2s ease, visibility .2s ease;
        visibility: hidden;
        pointer-events: none;
    }

    body.lf-app-menu-open {
        overflow: hidden;
    }

    body.lf-app-menu-open .lf-app-sidebar {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .lf-app-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: block;
        border: 0;
        background: rgba(15, 23, 42, .42);
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease;
    }

    body.lf-app-menu-open .lf-app-menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .lf-app-nav {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .lf-app-sidebar-card {
        display: none;
    }

    .lf-app-menu-toggle {
        display: inline-flex;
    }

    .lf-app-topbar {
        position: sticky;
        top: 0;
        z-index: 110;
        flex-direction: row;
        align-items: center;
        padding: 12px 14px;
    }

    .lf-app-searchbar {
        max-width: none;
    }

    .lf-app-search-wrap {
        max-width: none;
        width: auto;
        flex: 1 1 220px;
    }

    .lf-alert-search-form {
        flex-wrap: wrap;
    }

    .lf-alert-search-form input[type="search"] {
        flex-basis: 100%;
    }

    .lf-app-workspace {
        padding: 18px 14px 32px;
    }

    .lf-app-titlebar,
    .lf-results-head,
    .lf-filter-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .lf-app-metric-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .lf-app-user-text,
    .lf-app-top-logout,
    .lf-app-searchbar kbd {
        display: none;
    }

    .lf-app-searchbar button {
        padding: 0 10px;
    }

    .lf-search-card,
    .lf-result-card {
        grid-template-columns: 1fr;
    }

    .lf-search-card-actions {
        flex-wrap: wrap;
    }

    .lf-result-amount {
        text-align: left;
    }

    .lf-detail-grid {
        grid-template-columns: 1fr;
    }

    .lf-detail-panel {
        max-height: 70vh;
        scroll-margin-top: 18px;
    }

    .lf-detail-cell,
    .lf-detail-cell:nth-child(3n) {
        border-right: 0;
    }
}

.licifinder-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

@media (max-width: 768px) {
    .lf-contact-grid {
        grid-template-columns: 1fr !important;
    }
}

.lf-kpi-emerald { border-left-color: #059669; }

.licifinder-kpi a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.licifinder-kpi a:hover strong {
    color: var(--lf-violet);
}

.licifinder-kpi small {
    display: block;
    margin-top: 6px;
    color: var(--lf-slate);
    font-size: .78rem;
}

.lf-admin-kpi-grid {
    margin-bottom: 20px;
}

.lf-admin-main-grid {
    align-items: stretch;
}

.lf-admin-table-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.lf-admin-table-card {
    display: flex;
    min-height: 170px;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 1px solid #E0E6F0;
    border-radius: 14px;
    background: #FBFCFE;
}

.lf-admin-table-card:hover {
    border-color: #C7C1FF;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(91, 77, 255, .08);
}

.lf-admin-table-card-head {
    display: flex;
    align-items: center;
    gap: 9px;
}

.lf-admin-table-card-head span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #F2EFFF;
}

.lf-admin-table-card-head strong,
.lf-admin-table-card > strong {
    color: #0F172A;
    font-family: var(--lf-font-heading);
}

.lf-admin-table-card > p {
    flex: 1;
    margin: 0;
    color: var(--lf-slate);
    font-size: .84rem;
}

.lf-admin-table-card > strong {
    font-size: 1.35rem;
}

.lf-admin-table-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid #EEF2F7;
    font-size: .82rem;
    font-weight: 800;
}

.lf-admin-plan-bar {
    display: block;
    width: 100%;
    height: 6px;
    margin-top: 8px;
    border-radius: 999px;
    background: #EEF2F7;
    overflow: hidden;
}

.lf-admin-plan-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #10B981, #4F46E5);
}

.lf-filter-active {
    margin: 14px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(245, 158, 11, .28);
    border-radius: var(--lf-radius-sm);
    color: #92400E;
    background: var(--lf-amber-10);
    font-size: .9rem;
}

.lf-admin-filter-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 14px;
}

.lf-admin-filter-form input[type="search"] {
    flex: 1 1 280px;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius-sm);
    color: var(--lf-indigo);
    background: #FFFFFF;
    font-family: var(--lf-font-body);
}

.lf-admin-filter-form input[type="search"]:focus {
    outline: 0;
    border-color: #C7C1FF;
    box-shadow: 0 0 0 4px rgba(91, 77, 255, .10);
}

.lf-admin-edit-layout {
    align-items: start;
}

.lf-admin-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.lf-admin-dash-table {
    font-size: .78rem;
}

.lf-admin-dash-table thead th {
    font-size: .68rem;
    padding: 6px 7px;
    letter-spacing: .02em;
}

.lf-admin-dash-table tbody td {
    padding: 6px 7px;
}

.lf-admin-dash-table .btn-sm {
    padding: 3px 8px;
    font-size: .7rem;
    border-radius: 5px;
    gap: 4px;
}

.lf-admin-main-grid .licifinder-card,
.lf-admin-dash-grid .licifinder-card {
    padding: 16px;
}

.lf-admin-edit-grid label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    color: var(--lf-indigo);
    font-weight: 800;
    font-size: .86rem;
}

.lf-admin-edit-grid input,
.lf-admin-edit-grid select,
.lf-admin-edit-grid textarea {
    width: 100%;
    max-width: none;
}

.lf-admin-edit-full {
    grid-column: 1 / -1;
}

@media (max-width: 760px) {
    .lf-admin-edit-grid {
        grid-template-columns: 1fr;
    }
}

.lf-admin-customers-table {
    font-size: .78rem;
    table-layout: fixed;
    width: 100%;
}

.lf-admin-customers-table thead th {
    font-size: .68rem;
    padding: 6px 7px;
    letter-spacing: .02em;
    white-space: normal;
    word-break: break-word;
}

.lf-admin-customers-table tbody td {
    padding: 5px 7px;
    font-size: .78rem;
    word-break: break-word;
    line-height: 1.35;
}

.lf-admin-customers-table .lf-table-actions {
    gap: 4px;
}

.lf-admin-customers-table .btn-sm {
    padding: 3px 8px;
    font-size: .7rem;
    border-radius: 5px;
}

.lf-admin-customers-table .lf-inline-form select {
    padding: 3px 5px;
    font-size: .72rem;
}

.lf-admin-customers-table .lf-td-nowrap {
    white-space: nowrap;
}

/* Móvil/tablet: la tabla conserva su anchura natural y se desplaza
   horizontalmente dentro del panel en lugar de colapsar columnas */

@media (max-width: 920px) {
    .lf-admin-customers-table {
        table-layout: auto;
        width: max-content;
        min-width: 1080px;
    }

    .lf-admin-customers-table thead th {
        white-space: nowrap;
        word-break: normal;
    }

    .lf-admin-customers-table tbody td {
        max-width: 240px;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

/* ── Sort Links ── */

.lf-sort-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.lf-sort-link:hover {
    color: var(--lf-violet);
    text-decoration: none;
}
