/* ============================================
   Laprom Transport ERP — Design System v2
   Floating sidebar · Glass cards · Modern layout
   ============================================ */

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

:root {
    /* Brand */
    --lt-orange: #E87A15;
    --lt-orange-light: #FFF3E8;
    --lt-orange-dark: #C96A10;
    --lt-orange-hover: #D4700F;

    /* Status */
    --lt-green: #22C55E;
    --lt-green-light: #F0FDF4;
    --lt-green-dark: #16A34A;
    --lt-red: #EF4444;
    --lt-red-light: #FEF2F2;
    --lt-yellow: #F59E0B;
    --lt-yellow-light: #FFFBEB;
    --lt-blue: #3B82F6;
    --lt-blue-light: #EFF6FF;

    /* Text */
    --lt-text: #111827;
    --lt-text-secondary: #6B7280;
    --lt-text-muted: #9CA3AF;

    /* Backgrounds */
    --lt-bg: #F1F5F9;
    --lt-bg-white: #FFFFFF;
    --lt-bg-sidebar: #0F172A;
    --lt-bg-sidebar-hover: rgba(255,255,255,0.06);
    --lt-bg-sidebar-active: var(--lt-orange);

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

    /* Shadows */
    --lt-shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --lt-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.03);
    --lt-shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.03);
    --lt-shadow-lg: 0 12px 28px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
    --lt-shadow-xl: 0 20px 40px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.05);
    --lt-shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.03);
    --lt-shadow-card-hover: 0 8px 24px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);

    /* Radius */
    --lt-radius: 14px;
    --lt-radius-sm: 10px;
    --lt-radius-lg: 18px;
    --lt-radius-xl: 24px;
    --lt-radius-full: 9999px;

    /* Transitions */
    --lt-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --lt-transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* Sidebar */
    --sidebar-width: 260px;
    --sidebar-collapsed: 72px;
    --sidebar-margin: 12px;
    --header-height: 64px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--lt-bg);
    color: var(--lt-text);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: var(--lt-orange); text-decoration: none; transition: color var(--lt-transition); }
a:hover { color: var(--lt-orange-dark); }

::selection { background: var(--lt-orange-light); color: var(--lt-orange-dark); }

/* ============================================
   Layout — Floating Sidebar
   ============================================ */
.lt-app {
    display: flex;
    min-height: 100vh;
}

/* ---- Sidebar ---- */
.lt-sidebar {
    width: var(--sidebar-width);
    background: var(--lt-bg-sidebar);
    color: #CBD5E1;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--sidebar-margin);
    left: var(--sidebar-margin);
    height: calc(100vh - var(--sidebar-margin) * 2);
    z-index: 200;
    border-radius: var(--lt-radius-xl);
    box-shadow: var(--lt-shadow-xl);
    overflow: hidden;
    transition: transform var(--lt-transition-slow), opacity var(--lt-transition-slow);
}

.lt-sidebar-top {
    flex-shrink: 0;
}

.lt-sidebar-logo {
    padding: 22px 20px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lt-sidebar-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--lt-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(232, 122, 21, 0.35);
}

.lt-sidebar-logo-text h1 {
    font-size: 17px;
    font-weight: 800;
    color: #FFFFFF;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

.lt-sidebar-logo-text span {
    font-size: 11px;
    color: var(--lt-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ---- Navigation ---- */
.lt-sidebar-nav {
    flex: 1;
    padding: 14px 10px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.lt-sidebar-nav::-webkit-scrollbar { width: 4px; }
.lt-sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.lt-nav-section {
    margin-bottom: 20px;
}

.lt-nav-section-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #475569;
    padding: 0 14px;
    margin-bottom: 6px;
    font-weight: 700;
}

.lt-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--lt-radius-sm);
    color: #94A3B8;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--lt-transition);
    cursor: pointer;
    text-decoration: none;
    position: relative;
}

.lt-nav-item:hover {
    background: var(--lt-bg-sidebar-hover);
    color: #E2E8F0;
}

.lt-nav-item.active {
    background: var(--lt-orange);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(232, 122, 21, 0.3);
}

.lt-nav-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-nav-icon svg {
    width: 20px;
    height: 20px;
    opacity: 0.65;
}

.lt-nav-item.active .lt-nav-icon svg {
    opacity: 1;
}

.lt-nav-item .nav-badge {
    margin-left: auto;
    background: rgba(255,255,255,0.12);
    color: #CBD5E1;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--lt-radius-full);
}

.lt-nav-item.active .nav-badge {
    background: rgba(255,255,255,0.25);
    color: #FFF;
}

/* ---- Sidebar user ---- */
.lt-sidebar-user {
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.lt-sidebar-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lt-orange), var(--lt-orange-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.lt-sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.lt-sidebar-user-name {
    font-size: 13px;
    font-weight: 600;
    color: #E2E8F0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lt-sidebar-user-role {
    font-size: 11px;
    color: #64748B;
}

.lt-sidebar-logout {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    transition: all var(--lt-transition);
    flex-shrink: 0;
}

.lt-sidebar-logout:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

/* ---- Mobile toggle button ---- */
.lt-sidebar-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 300;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--lt-bg-white);
    border: 1px solid var(--lt-border);
    box-shadow: var(--lt-shadow-md);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--lt-text);
    transition: all var(--lt-transition);
}

.lt-sidebar-toggle:hover { background: var(--lt-bg); }
.lt-sidebar-toggle.is-open svg:first-child { display: none; }

.lt-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    transition: opacity 0.3s;
}

.lt-sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   Main content area
   ============================================ */
.lt-main {
    flex: 1;
    margin-left: calc(var(--sidebar-width) + var(--sidebar-margin) * 2);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---- Header ---- */
.lt-header {
    background: var(--lt-bg-white);
    border-bottom: 1px solid var(--lt-border);
    padding: 0 32px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.85);
}

.lt-header-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
}

.lt-header-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--lt-text);
    letter-spacing: -0.3px;
}

.lt-header-subtitle {
    font-size: 12px;
    color: var(--lt-text-secondary);
}

.lt-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lt-header-date {
    font-size: 13px;
    color: var(--lt-text-muted);
    font-weight: 500;
    display: none;
}

@media (min-width: 1024px) {
    .lt-header-date { display: inline; }
}

/* ---- Content area ---- */
.lt-content {
    flex: 1;
    padding: 24px 28px 40px;
    max-width: 1400px;
    width: 100%;
}

/* ============================================
   Cards — elevated glass style
   ============================================ */
.lt-card {
    background: var(--lt-bg-white);
    border-radius: var(--lt-radius);
    border: 1px solid var(--lt-border);
    box-shadow: var(--lt-shadow-card);
    transition: box-shadow var(--lt-transition), transform var(--lt-transition);
}

.lt-card:hover {
    box-shadow: var(--lt-shadow-card-hover);
}

.lt-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--lt-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lt-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--lt-text);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}

.lt-card-body {
    padding: 20px;
}

/* ============================================
   Buttons
   ============================================ */
.lt-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--lt-radius-sm);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--lt-transition);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: -0.1px;
}

.lt-btn:active { transform: scale(0.97); }

.lt-btn-primary {
    background: var(--lt-orange);
    color: #FFF;
    border-color: var(--lt-orange);
    box-shadow: 0 1px 3px rgba(232, 122, 21, 0.25);
}
.lt-btn-primary:hover {
    background: var(--lt-orange-dark);
    color: #FFF;
    box-shadow: 0 2px 8px rgba(232, 122, 21, 0.35);
    transform: translateY(-1px);
}

.lt-btn-secondary {
    background: var(--lt-bg-white);
    color: var(--lt-text);
    border-color: var(--lt-border);
    box-shadow: var(--lt-shadow-xs);
}
.lt-btn-secondary:hover {
    background: var(--lt-bg);
    border-color: #D1D5DB;
}

.lt-btn-success {
    background: var(--lt-green);
    color: #FFF;
    box-shadow: 0 1px 3px rgba(34, 197, 94, 0.25);
}
.lt-btn-success:hover { background: var(--lt-green-dark); color: #FFF; }

.lt-btn-danger {
    background: var(--lt-red);
    color: #FFF;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.25);
}
.lt-btn-danger:hover { background: #DC2626; color: #FFF; }

.lt-btn-ghost {
    background: transparent;
    color: var(--lt-text-secondary);
}
.lt-btn-ghost:hover { background: var(--lt-bg); color: var(--lt-text); }

.lt-btn-xs { padding: 4px 10px; font-size: 11px; border-radius: 8px; gap: 4px; }
.lt-btn-sm { padding: 7px 14px; font-size: 12px; }
.lt-btn-lg { padding: 12px 24px; font-size: 15px; border-radius: var(--lt-radius); }
.lt-btn-icon { padding: 8px; }

/* ============================================
   Forms
   ============================================ */
.lt-form-group {
    margin-bottom: 16px;
}

.lt-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--lt-text);
    margin-bottom: 6px;
}

.lt-input, .lt-select, .lt-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--lt-border);
    border-radius: var(--lt-radius-sm);
    font-family: inherit;
    font-size: 14px;
    color: var(--lt-text);
    background: var(--lt-bg-white);
    transition: border-color var(--lt-transition), box-shadow var(--lt-transition);
}

.lt-input:focus, .lt-select:focus, .lt-textarea:focus {
    outline: none;
    border-color: var(--lt-orange);
    box-shadow: 0 0 0 3px rgba(232, 122, 21, 0.10);
}

.lt-input::placeholder { color: var(--lt-text-muted); }

.lt-input-sm { padding: 6px 10px; font-size: 13px; }
.lt-input-lg { padding: 12px 16px; font-size: 15px; }

.lt-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.lt-textarea { resize: vertical; min-height: 80px; }

.lt-input-group {
    display: flex;
    align-items: stretch;
}

.lt-input-group .lt-input {
    border-radius: var(--lt-radius-sm) 0 0 var(--lt-radius-sm);
    border-right: none;
}

.lt-input-group-append {
    padding: 9px 14px;
    background: var(--lt-bg);
    border: 1.5px solid var(--lt-border);
    border-left: none;
    border-radius: 0 var(--lt-radius-sm) var(--lt-radius-sm) 0;
    font-size: 13px;
    color: var(--lt-text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* ============================================
   Tables
   ============================================ */
.lt-table {
    width: 100%;
    border-collapse: collapse;
}

.lt-table th {
    text-align: left;
    padding: 11px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--lt-text-secondary);
    border-bottom: 2px solid var(--lt-border);
    background: var(--lt-bg);
}

.lt-table td {
    padding: 13px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--lt-border-light);
    vertical-align: middle;
}

.lt-table tbody tr {
    transition: background var(--lt-transition);
}

.lt-table tbody tr:hover td { background: rgba(241,245,249,0.6); }
.lt-table tbody tr:last-child td { border-bottom: none; }

.lt-table .text-right { text-align: right; }
.lt-table .text-center { text-align: center; }

/* ============================================
   Badges & Tags
   ============================================ */
.lt-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--lt-radius-full);
    font-size: 12px;
    font-weight: 600;
}

.lt-badge-green { background: var(--lt-green-light); color: var(--lt-green-dark); }
.lt-badge-red { background: var(--lt-red-light); color: var(--lt-red); }
.lt-badge-orange { background: var(--lt-orange-light); color: var(--lt-orange); }
.lt-badge-blue { background: var(--lt-blue-light); color: var(--lt-blue); }
.lt-badge-gray { background: #F1F5F9; color: var(--lt-text-secondary); }

/* ============================================
   Stars (Rating)
   ============================================ */
.lt-stars {
    display: inline-flex;
    gap: 2px;
}

.lt-star {
    color: #D1D5DB;
    font-size: 14px;
    cursor: pointer;
    transition: color var(--lt-transition);
}

.lt-star.active { color: var(--lt-yellow); }
.lt-star:hover { color: var(--lt-yellow); }

/* ============================================
   Modal — centered, smooth
   ============================================ */
.lt-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lt-modal-overlay.active { display: flex; }

.lt-modal {
    background: var(--lt-bg-white);
    border-radius: var(--lt-radius-xl);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--lt-shadow-xl);
    animation: lt-modal-in 0.25s ease;
}

@keyframes lt-modal-in {
    from { opacity: 0; transform: scale(0.95) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.lt-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--lt-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lt-modal-title { font-size: 17px; font-weight: 700; letter-spacing: -0.2px; }

.lt-modal-close {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: none;
    background: var(--lt-bg);
    cursor: pointer;
    color: var(--lt-text-secondary);
    font-size: 18px;
    transition: all var(--lt-transition);
}

.lt-modal-close:hover { background: var(--lt-border); color: var(--lt-text); }

.lt-modal-body { padding: 24px; }
.lt-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--lt-border-light);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ============================================
   Toast — bottom right
   ============================================ */
.lt-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lt-toast {
    background: var(--lt-bg-white);
    border-radius: var(--lt-radius);
    padding: 14px 20px;
    box-shadow: var(--lt-shadow-lg);
    border-left: 4px solid var(--lt-green);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: lt-toast-in 0.3s ease;
    max-width: 400px;
    font-size: 14px;
    font-weight: 500;
}

.lt-toast.error { border-left-color: var(--lt-red); }
.lt-toast.warning { border-left-color: var(--lt-yellow); }

@keyframes lt-toast-in {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   Stats Cards — elevated
   ============================================ */
.lt-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.lt-stat-card {
    background: var(--lt-bg-white);
    border: 1px solid var(--lt-border);
    border-radius: var(--lt-radius);
    padding: 20px;
    box-shadow: var(--lt-shadow-card);
    transition: all var(--lt-transition);
    position: relative;
    overflow: hidden;
}

.lt-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lt-orange), var(--lt-orange-light));
    opacity: 0;
    transition: opacity var(--lt-transition);
}

.lt-stat-card:hover::before { opacity: 1; }
.lt-stat-card:hover { transform: translateY(-2px); box-shadow: var(--lt-shadow-md); }

.lt-stat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--lt-text-secondary);
    margin-bottom: 6px;
}

.lt-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--lt-text);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.lt-stat-unit {
    font-size: 14px;
    font-weight: 500;
    color: var(--lt-text-secondary);
}

/* ============================================
   Grid utilities
   ============================================ */
.lt-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lt-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.lt-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lt-flex { display: flex; align-items: center; }
.lt-flex-between { display: flex; align-items: center; justify-content: space-between; }
.lt-gap-4 { gap: 4px; }
.lt-gap-8 { gap: 8px; }
.lt-gap-16 { gap: 16px; }
.lt-gap-24 { gap: 24px; }
.lt-mt-16 { margin-top: 16px; }
.lt-mt-24 { margin-top: 24px; }
.lt-mb-8 { margin-bottom: 8px; }
.lt-mb-16 { margin-bottom: 16px; }
.lt-mb-24 { margin-bottom: 24px; }
.lt-text-center { text-align: center; }
.lt-text-right { text-align: right; }
.lt-text-muted { color: var(--lt-text-muted); }
.lt-text-sm { font-size: 13px; }
.lt-text-orange { color: var(--lt-orange); }
.lt-text-green { color: var(--lt-green); }
.lt-text-red { color: var(--lt-red); }
.lt-font-bold { font-weight: 700; }

/* ============================================
   Loading spinner
   ============================================ */
.lt-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--lt-border);
    border-top-color: var(--lt-orange);
    border-radius: 50%;
    animation: lt-spin 0.6s linear infinite;
}

@keyframes lt-spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Search bar
   ============================================ */
.lt-search {
    position: relative;
}

.lt-search .lt-input {
    padding-left: 38px;
}

.lt-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lt-text-muted);
}

/* ============================================
   Empty state
   ============================================ */
.lt-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--lt-text-secondary);
}

.lt-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.3;
}

/* ============================================
   Login page
   ============================================ */
.lt-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.lt-login-card {
    background: var(--lt-bg-white);
    border-radius: var(--lt-radius-xl);
    padding: 44px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--lt-shadow-xl);
}

.lt-login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.lt-login-logo h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--lt-text);
    letter-spacing: -0.5px;
}

.lt-login-logo span {
    font-size: 13px;
    color: var(--lt-orange);
    font-weight: 600;
}

.lt-login-error {
    background: var(--lt-red-light);
    color: var(--lt-red);
    padding: 10px 14px;
    border-radius: var(--lt-radius-sm);
    font-size: 13px;
    margin-bottom: 16px;
}

/* ============================================
   Smart Badges (Transporter Intelligence)
   ============================================ */
.transporter-name-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.transporter-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.lt-smart-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.lt-smart-badge-green { background: #DCFCE7; color: #166534; }
.lt-smart-badge-blue { background: #DBEAFE; color: #1E40AF; }
.lt-smart-badge-orange { background: #FFF7ED; color: #9A3412; }
.lt-smart-badge-gray { background: #F3F4F6; color: #6B7280; }
.lt-smart-badge-red { background: #FEE2E2; color: #991B1B; }

/* Score ring */
.score-ring {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 3px solid;
}

.score-high { border-color: var(--lt-green); color: var(--lt-green-dark); background: var(--lt-green-light); }
.score-mid { border-color: var(--lt-yellow); color: #92400E; background: #FFFBEB; }
.score-low { border-color: var(--lt-text-muted); color: var(--lt-text-secondary); background: var(--lt-bg); }

/* Blacklisted row */
.tr-blacklisted td { opacity: 0.5; }
.tr-blacklisted:hover td { opacity: 0.75; }

/* Interaction items */
.interaction-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--lt-border-light);
}

.interaction-item:last-child { border-bottom: none; }

.interaction-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.interaction-type-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
    background: var(--lt-bg);
    color: var(--lt-text-secondary);
}

.interaction-email_sent .interaction-type-badge { background: #DBEAFE; color: #1E40AF; }
.interaction-response_received .interaction-type-badge { background: #DCFCE7; color: #166534; }
.interaction-offer_accepted .interaction-type-badge { background: var(--lt-green-light); color: var(--lt-green-dark); }
.interaction-offer_rejected .interaction-type-badge { background: #FEE2E2; color: #991B1B; }
.interaction-phone_call .interaction-type-badge { background: #FEF3C7; color: #92400E; }

/* ============================================
   Scrollbar styling (content areas)
   ============================================ */
.lt-content::-webkit-scrollbar { width: 6px; }
.lt-content::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 3px; }
.lt-content::-webkit-scrollbar-thumb:hover { background: #9CA3AF; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .lt-grid-3 { grid-template-columns: 1fr 1fr; }
    .lt-grid-4 { grid-template-columns: 1fr 1fr; }
    .lt-content { padding: 20px 20px 32px; }
}

@media (max-width: 768px) {
    :root {
        --sidebar-margin: 0px;
    }

    .lt-sidebar-toggle {
        display: flex;
    }

    .lt-sidebar {
        transform: translateX(calc(-100% - 20px));
        top: 0;
        left: 0;
        height: 100vh;
        border-radius: 0 var(--lt-radius-xl) var(--lt-radius-xl) 0;
    }

    .lt-sidebar.is-open {
        transform: translateX(0);
    }

    .lt-main {
        margin-left: 0;
    }

    .lt-header {
        padding: 0 16px 0 68px;
    }

    .lt-content {
        padding: 16px;
    }

    .lt-grid-2, .lt-grid-3, .lt-grid-4 {
        grid-template-columns: 1fr;
    }

    .lt-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lt-stat-value { font-size: 22px; }
    .lt-stat-card { padding: 14px; }

    .lt-header-title { font-size: 16px; }

    .lt-card { border-radius: var(--lt-radius-sm); }

    .lt-table th, .lt-table td { padding: 10px 12px; font-size: 13px; }
}

@media (max-width: 480px) {
    .lt-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .lt-stat-value { font-size: 20px; }
    .lt-content { padding: 12px; }
}
