/* ============================================
   RESTOMANAGER - COMPLETE RESPONSIVE STYLES
   Mobile First + Desktop Optimized
   ============================================ */

/* CSS Variables */
:root {
    --primary: #4e73df;
    --primary-dark: #375a7f;
    --secondary: #858796;
    --success: #1cc88a;
    --info: #36b9cc;
    --warning: #f6c23e;
    --danger: #e74a3b;
    --light: #f8f9fc;
    --dark: #2d3748;
    --sidebar-width: 260px;
    --sidebar-collapsed: 70px;
    --header-height: 65px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f0f2f5;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, #1a1f37 0%, #2d3748 100%);
    color: #fff;
    z-index: 1040;
    transition: var(--transition);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

.sidebar-brand-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sidebar-brand-text h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.sidebar-brand-text small {
    font-size: 0.7rem;
    opacity: 0.7;
    white-space: nowrap;
}

.sidebar-user {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.sidebar-user-info h6 {
    font-size: 0.85rem;
    margin: 0;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.sidebar-user-info small {
    font-size: 0.7rem;
    opacity: 0.6;
}

.sidebar-menu {
    padding: 12px 0;
    flex: 1;
    overflow-y: auto;
}

.sidebar-menu-label {
    padding: 8px 20px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    font-weight: 600;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255,255,255,0.75);
    transition: var(--transition);
    position: relative;
    gap: 12px;
    font-size: 0.9rem;
}

.sidebar-link i {
    width: 22px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.sidebar-link span {
    white-space: nowrap;
    flex: 1;
}

.sidebar-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.sidebar-link.active {
    color: #fff;
    background: rgba(78,115,223,0.2);
    border-left: 3px solid var(--primary);
}

.badge-count {
    background: var(--danger);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 8px 0;
}

.btn-logout:hover { color: var(--danger); }

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1035;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   MAIN CONTENT & HEADER
   ============================================ */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: var(--transition);
}

.top-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #fff;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-shadow: var(--shadow-sm);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.header-btn:hover {
    background: var(--primary);
    color: #fff;
}

.header-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark);
}

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

.header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid #fff;
}

.page-content {
    padding: 24px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: #fff;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

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

.card-header {
    background: transparent;
    border-bottom: 1px solid #eaecf4;
    padding: 16px 20px;
    font-weight: 600;
}

.card-header h5 {
    font-size: 1rem;
    margin: 0;
}

.card-body {
    padding: 20px;
}

/* Stat Cards */
.stat-card {
    position: relative;
    overflow: hidden;
}

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

.stat-card h6 {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.stat-card h3 {
    font-size: 1.5rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-icon.primary { background: rgba(78,115,223,0.1); color: var(--primary); }
.stat-icon.success { background: rgba(28,200,138,0.1); color: var(--success); }
.stat-icon.info { background: rgba(54,185,204,0.1); color: var(--info); }
.stat-icon.warning { background: rgba(246,194,62,0.1); color: var(--warning); }
.stat-icon.danger { background: rgba(231,74,59,0.1); color: var(--danger); }

.stat-trend {
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stat-trend.up { color: var(--success); }
.stat-trend.down { color: var(--danger); }

/* ============================================
   TABLES
   ============================================ */
.table {
    width: 100%;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.table thead th {
    background: #f8f9fc;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary);
    border-bottom: 2px solid #eaecf4;
    padding: 12px 16px;
    white-space: nowrap;
}

.table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f2f5;
}

.table-hover tbody tr:hover {
    background: #f8f9fc;
}

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

/* ============================================
   BADGES
   ============================================ */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
}

.badge-soft-primary { background: rgba(78,115,223,0.1); color: var(--primary); }
.badge-soft-success { background: rgba(28,200,138,0.1); color: var(--success); }
.badge-soft-info { background: rgba(54,185,204,0.1); color: var(--info); }
.badge-soft-warning { background: rgba(246,194,62,0.1); color: var(--warning); }
.badge-soft-danger { background: rgba(231,74,59,0.1); color: var(--danger); }
.badge-soft-secondary { background: rgba(133,135,150,0.1); color: var(--secondary); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

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

.btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
}

.btn-icon {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: var(--radius-sm);
}

.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

/* ============================================
   FORMS
   ============================================ */
.form-control, .form-select {
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(78,115,223,0.1);
}

.form-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 6px;
}

.input-group-custom {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group-custom .input-icon {
    position: absolute;
    left: 14px;
    color: var(--secondary);
    font-size: 0.9rem;
    z-index: 2;
}

.input-group-custom input {
    padding-left: 40px;
}

.input-group-custom .password-toggle {
    position: absolute;
    right: 14px;
    color: var(--secondary);
    cursor: pointer;
    z-index: 2;
}

/* ============================================
   SEARCH BOX
   ============================================ */
.search-box {
    position: relative;
}

.search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    font-size: 0.8rem;
    z-index: 2;
}

.search-box input {
    padding-left: 34px;
}

/* ============================================
   MODALS
   ============================================ */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid #eaecf4;
    padding: 16px 20px;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: 1px solid #eaecf4;
    padding: 14px 20px;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 0.9rem;
}

.alert-dismissible .btn-close {
    padding: 14px;
}

/* ============================================
   DROPDOWNS
   ============================================ */
.dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    font-size: 0.875rem;
}

.dropdown-item {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item:hover {
    background: #f8f9fc;
}

.dropdown-header {
    padding: 8px 14px;
}

.dropdown-divider {
    margin: 6px 0;
}

/* ============================================
   TOOLTIPS
   ============================================ */
.custom-tooltip {
    position: relative;
}

.custom-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--dark);
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1060;
}

.custom-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: #f0f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: var(--secondary);
}

.empty-state h5 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 4px;
}

.empty-state p {
    color: #a0aec0;
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================
   INVOICE
   ============================================ */
.invoice-box {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.invoice-header {
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f2f5;
    margin-bottom: 20px;
}

/* ============================================
   KITCHEN CARDS
   ============================================ */
.kitchen-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--warning);
    transition: var(--transition);
}

.kitchen-card.pending { border-left-color: var(--warning); }
.kitchen-card.preparing { border-left-color: var(--info); }

.kitchen-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

/* ============================================
   TABLE STATUS GRID
   ============================================ */
.table-status {
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
    cursor: pointer;
    padding: 12px;
    text-align: center;
}

.table-status:hover {
    transform: scale(1.03);
}

.table-status.available { background: linear-gradient(135deg, var(--success), #169b6b); }
.table-status.occupied { background: linear-gradient(135deg, var(--danger), #c0392b); }
.table-status.reserved { background: linear-gradient(135deg, var(--warning), #d4a017); }
.table-status.cleaning { background: linear-gradient(135deg, var(--info), #2a8a99); }
.table-status.maintenance { background: linear-gradient(135deg, var(--secondary), #6c6e7e); }

.table-status i { font-size: 1.3rem; }
.table-status span { font-size: 1.1rem; }
.table-status small { font-size: 0.7rem; opacity: 0.9; font-weight: 400; }

/* ============================================
   QUICK ACTIONS
   ============================================ */
.quick-action {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.quick-action:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.quick-action i {
    font-size: 1.5rem;
}

.quick-action span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dark);
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}

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

.login-logo i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.login-logo h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.login-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: #f0f2f5;
    padding: 4px;
    border-radius: var(--radius-sm);
}

.login-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary);
    transition: var(--transition);
}

.login-tab.active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--primary-dark);
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--secondary);
    font-size: 0.8rem;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.social-login {
    display: flex;
    gap: 12px;
}

.social-btn {
    flex: 1;
    padding: 10px;
    background: #f8f9fc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.social-btn:hover {
    background: #f0f2f5;
}

.login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f2f5;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.fade-in {
    animation: fadeInUp 0.3s ease forwards;
}

.stagger-children > * {
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.3s; }

/* ============================================
   CHART CONTAINER
   ============================================ */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* ============================================
   ORDER ITEM ROW
   ============================================ */
.order-item-row {
    background: #f8f9fc;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .sidebar, .top-header, .no-print, .btn, .dropdown, .modal, .sidebar-overlay {
        display: none !important;
    }
    .main-content {
        margin-left: 0 !important;
    }
    .invoice-box {
        box-shadow: none;
        padding: 0;
    }
    body {
        background: #fff;
    }
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 1199px)
   ============================================ */
@media (max-width: 1199px) {
    :root {
        --sidebar-width: 0px;
    }

    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }

    .sidebar.show {
        transform: translateX(0);
    }

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

    .header-title {
        font-size: 1.1rem;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 767px)
   ============================================ */
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }

    .page-content {
        padding: 16px;
    }

    .top-header {
        padding: 0 16px;
        height: 56px;
    }

    .header-title {
        font-size: 1rem;
    }

    .header-btn {
        width: 36px;
        height: 36px;
    }

    .card-header {
        padding: 14px 16px;
    }

    .card-body {
        padding: 16px;
    }

    .stat-card .card-body {
        padding: 16px;
    }

    .stat-card h3 {
        font-size: 1.3rem;
    }

    .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .table thead th {
        padding: 10px 12px;
        font-size: 0.7rem;
    }

    .table tbody td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .btn-lg {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .modal-dialog {
        margin: 12px;
    }

    .modal-body {
        padding: 16px;
    }

    .login-card {
        padding: 24px;
        margin: 12px;
    }

    .invoice-box {
        padding: 20px;
    }

    .quick-action {
        padding: 14px;
    }

    .quick-action i {
        font-size: 1.2rem;
    }

    .quick-action span {
        font-size: 0.7rem;
    }

    .kitchen-card {
        padding: 12px;
    }

    .table-status {
        height: 90px !important;
    }

    .table-status span {
        font-size: 0.95rem;
    }

    .table-status small {
        font-size: 0.6rem;
    }

    .order-item-row {
        padding: 12px;
    }

    .chart-container {
        height: 220px;
    }

    .d-flex.gap-2 {
        flex-wrap: wrap;
    }

    .search-box input,
    .form-select.form-select-sm {
        width: 100% !important;
    }

    .card-header .d-flex.gap-2 {
        width: 100%;
        margin-top: 10px;
    }

    .card-header.d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .row.g-3 > .col-6 {
        width: 50%;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .page-content {
        padding: 12px;
    }

    .stat-card h3 {
        font-size: 1.1rem;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .header-right {
        gap: 6px;
    }

    .header-btn {
        width: 34px;
        height: 34px;
    }

    .table-status {
        height: 80px !important;
        padding: 8px;
    }

    .table-status i {
        font-size: 1rem;
    }

    .table-status span {
        font-size: 0.85rem;
    }

    .kitchen-card h5 {
        font-size: 0.95rem;
    }

    .btn-sm {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .login-card {
        padding: 20px 16px;
    }

    .login-logo i {
        font-size: 2rem;
    }

    .invoice-box {
        padding: 16px;
    }

    .col-6.col-md-4.col-lg-2 {
        width: 50%;
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast-notification {
    position: fixed;
    top: 80px;
    right: 24px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    background: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.3s ease;
}

.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid var(--danger); }
.toast-info { border-left: 4px solid var(--info); }

/* ============================================
   LIST GROUP
   ============================================ */
.list-group-item {
    border: none;
    border-bottom: 1px solid #f0f2f5;
    padding: 14px 16px;
}

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

/* ============================================
   PROGRESS / UTILITIES
   ============================================ */
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-info { color: var(--info) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-secondary { color: var(--secondary) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-info { background-color: var(--info) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-danger { background-color: var(--danger) !important; }

/* Fix for Bootstrap conflicts */
.container-fluid {
    padding: 0;
}

/* Form check alignment */
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-input {
    margin-top: 0;
}
