:root {
    /* Modern Color Palette */
    --primary-color: #4f46e5;
    /* Indigo 600 */
    --primary-light: #e0e7ff;
    /* Indigo 100 */
    --primary-hover: #4338ca;
    /* Indigo 700 */

    --success-color: #10b981;
    /* Emerald 500 */
    --warning-color: #f59e0b;
    /* Amber 500 */
    --danger-color: #ef4444;
    /* Red 500 */

    --surface: #ffffff;
    --background: #f3f4f6;
    /* Gray 100 */
    --text-primary: #111827;
    /* Gray 900 */
    --text-secondary: #6b7280;
    /* Gray 500 */
    --border-color: #e5e7eb;
    /* Gray 200 */

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.5;
}

/* Layout Main Container */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar - Sleek & Dark or Light? Let's go Clean Light Sidebar */
.mobile-menu-btn {
    display: none;
    /* Hide on desktop */
}

.sidebar {
    width: 250px;
    background-color: var(--surface);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

/* Custom Scrollbar for Sidebar */
.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
}

/* Old Icon Style Removed/Reset if needed, but safe to just leave .brand as container */
.brand img {
    display: block;
    /* ensure no inline spacing issues */
}

/* Order View Modal Transitions */
#viewOrderModal .modal {
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
}

#viewOrderModal.open {
    display: flex;
    opacity: 1;
}

#viewOrderModal.open .modal {
    transform: translateY(0);
    opacity: 1;
}

/* Row Hover Interaction */
.orders-table tbody tr:hover {
    background-color: #f1f5f9 !important;
    transition: background 0.2s ease;
}

.orders-table tbody tr:active {
    background-color: #e2e8f0 !important;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

/* Colorize Icons */
.sidebar nav a i {
    font-size: 1.25rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    /* Default muted color */
    color: #94a3b8;
}

/* Specific Colors per Menu Item (Icon Only) */
/* 1. Dashboard - Blue */
.sidebar nav a:nth-child(1) i {
    color: #3b82f6;
}

.sidebar nav a:nth-child(1):hover i,
.sidebar nav a:nth-child(1).active i {
    color: #2563eb;
}

/* 2. Lists - Emerald */
.sidebar nav a:nth-child(2) i {
    color: #10b981;
}

.sidebar nav a:nth-child(2):hover i,
.sidebar nav a:nth-child(2).active i {
    color: #059669;
}

/* 3. New Order - Indigo (Primary) */
.sidebar nav a:nth-child(3) i {
    color: #6366f1;
}

.sidebar nav a:nth-child(3):hover i,
.sidebar nav a:nth-child(3).active i {
    color: #4f46e5;
}

/* 4. History - Orange */
.sidebar nav a:nth-child(4) i {
    color: #f97316;
}

.sidebar nav a:nth-child(4):hover i,
.sidebar nav a:nth-child(4).active i {
    color: #ea580c;
}

/* 5. Drivers - Purple */
.sidebar nav a:nth-child(5) i {
    color: #a855f7;
}

.sidebar nav a:nth-child(5):hover i,
.sidebar nav a:nth-child(5).active i {
    color: #9333ea;
}

/* 6. Config - Slate/Gray */
.sidebar nav a:nth-child(6) i {
    color: #64748b;
}

.sidebar nav a:nth-child(6):hover i,
.sidebar nav a:nth-child(6).active i {
    color: #475569;
}

/* Active Menu Item Style - Light Gray Background */
.sidebar nav a.active {
    background-color: #f1f5f9;
    /* Light Slate Gray */
    color: #1e293b;
    /* Dark Slate for Text */
    font-weight: 600;
    border-color: #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Subtle background tint for icon on hover/active */
.sidebar nav a i {
    background: transparent;
    padding: 4px;
    border-radius: 6px;
    margin-right: -4px;
}

.sidebar nav a:hover i,
.sidebar nav a.active i {
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

/* Main Content Area */
.main-content {
    flex: 1;
    padding: 2.5rem 3rem;
    overflow-y: auto;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 2.5rem auto;
    max-width: 1500px;
}

.top-bar h1 {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    /* Pill shape */
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.user-profile:hover {
    box-shadow: var(--shadow-md);
}

.user-profile span {
    font-weight: 500;
    font-size: 0.9rem;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 1500px;
    /* Optimal reading width for forms */
    margin: 0 auto;
}

/* Cards */
.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 8px;
    border-radius: var(--radius-sm);
}

.card-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Forms & Inputs */
.input-group {
    margin-bottom: 1.25rem;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

input[type="text"],
input[type="tel"],
input[type="number"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: #f9fafb;
    transition: all 0.2s;
}

input:focus {
    outline: none;
    background-color: var(--surface);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

input::placeholder {
    color: #9ca3af;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Corporate/Enterprise Item Cards */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.item-input {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    transition: all 0.2s ease;
    text-align: center;
}

/* Quando o item tem valor (selecionado como na imagem) */
.item-input.has-value {
    background: #f0f7ff;
    /* Fundo azul bem claro */
    border-color: #3b82f6;
    /* Borda azul vibrante */
}

.item-input i.ph {
    font-size: 3rem;
    margin-bottom: 0.25rem;
}

.item-input label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2563eb;
    /* Azul das labels */
    margin: 0;
}

/* Cores específicas dos ícones permanecem as mesmas */
.color-box i {
    color: #d97706;
}

.color-bag i {
    color: #db2777;
}

.color-gallon i {
    color: #2563eb;
}

.color-sheet i {
    color: #059669;
}

/* Ultra-Professional Modern Pill Control - Refined Colors */
.qty-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9;
    border-radius: 9999px;
    padding: 4px;
    width: 100%;
    max-width: 135px;
    height: 44px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.qty-control input {
    width: 38px;
    background: transparent;
    border: none;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    padding: 0;
}

.btn-qty {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.1s;
}

.btn-qty.plus {
    background: #4f46e5;
    /* Indigo/Violet as in image */
    color: white;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.4);
}

.btn-qty.minus {
    background: white;
    color: #64748b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Clear existing icons if any (using CSS drawings instead) */
.btn-qty i {
    display: none !important;
}

/* CSS Drawn Minus Signal */
.btn-qty.minus::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background-color: currentColor;
    border-radius: 1px;
}

/* CSS Drawn Plus Signal */
.btn-qty.plus::before,
.btn-qty.plus::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    border-radius: 1px;
}

/* Horizontal line */
.btn-qty.plus::before {
    width: 14px;
    height: 2px;
}

/* Vertical line */
.btn-qty.plus::after {
    width: 2px;
    height: 14px;
}

/* Button Colors - Pro Palette */
.btn-qty.minus {
    background: white;
    color: #64748b;
    /* Slate 500 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-qty.minus:active {
    background: #f1f5f9;
}

.btn-qty.plus {
    background: #4f46e5;
    /* Main Indigo Brand Color */
    color: white;
    /* Signs always white in plus */
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.4);
}

.btn-qty.plus:active {
    background: #3730a3;
}

.btn-qty:active {
    transform: scale(0.95);
}

/* Hide Spinners */
.qty-control input::-webkit-inner-spin-button,
.qty-control input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Selection State - Discrete */
.item-input.has-value {
    border-color: #3b82f6;
    /* Blue 500 */
    background: #f0f9ff;
    /* Blue 50 */
}

.item-input.has-value label {
    color: #1d4ed8;
}

.item-input.has-value i.ph {
    opacity: 0.8;
}

/* Split Layout for Pros and Summary */
.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Pros take slightly more space or balanced */
    gap: 2rem;
}

@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Professionals List */
.professionals-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pro-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.pro-row:focus-within {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pro-main-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pro-main-info .pro-name {
    flex: 2;
    font-weight: 600;
}

.pro-main-info .currency-wrapper {
    flex: 1;
}

.pro-detail-info {
    display: flex;
    justify-content: flex-end;
    gap: 1.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f1f5f9;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.detail-item .value {
    font-weight: 600;
    color: var(--text-primary);
}

.detail-item.highlighted .value {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.pro-row input {
    background: white !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0.6rem 0.75rem !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    transition: all 0.2s;
}

.pro-row input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px var(--primary-light) !important;
    outline: none;
}

/* Hide Spinners for Professional Value Inputs */
.pro-value::-webkit-inner-spin-button,
.pro-value::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pro-value {
    -moz-appearance: textfield;
    appearance: none;
    /* Lint fix for standard property */
}

.pro-main-info .currency-wrapper {
    flex: 1;
    min-width: 140px;
    /* Largura mínima garantida */
    max-width: 180px;
    /* Aumentado para evitar corte */
    position: relative;
    display: flex;
    align-items: center;
}

.pro-main-info .currency-wrapper span {
    position: absolute;
    left: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    pointer-events: none;
    z-index: 5;
}

.pro-main-info .currency-wrapper input {
    padding-left: 2.8rem !important;
    /* Mais espaço para o R$ */
    padding-right: 0.75rem !important;
    text-align: right;
    width: 100%;
    font-size: 1.05rem !important;
    /* Ajuste leve para caber melhor */
}

.btn-remove {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #fee2e2;
    color: var(--danger-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-remove:hover {
    background: var(--danger-color);
    color: white;
}

/* Botão verde + para adicionar 2ª compra no profissional */
.btn-add-purchase {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #22c55e;
    background: #f0fdf4;
    color: #16a34a;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-add-purchase:hover {
    background: #22c55e;
    color: white;
    border-color: #22c55e;
}

/* Linha de 2ª compra do profissional */
.pro-purchase2-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 6px;
    padding: 6px 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
}

.pro-purchase2-row .purchase2-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #16a34a;
    white-space: nowrap;
}

.pro-purchase2-row .currency-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.pro-purchase2-row .currency-wrapper span {
    position: absolute;
    left: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    pointer-events: none;
}

.pro-purchase2-row .currency-wrapper input {
    width: 100%;
    padding: 0.45rem 0.75rem 0.45rem 2.5rem !important;
    border: 1px solid #86efac !important;
    border-radius: 8px !important;
    background: white !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #15803d !important;
    text-align: right;
}

.pro-purchase2-row .currency-wrapper input:focus {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15) !important;
    outline: none;
}

.btn-remove-purchase2 {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fca5a5;
    background: #fef2f2;
    color: #ef4444;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-remove-purchase2:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.btn-icon-small {
    background: var(--primary-light);
    color: var(--primary-color);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon-small:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Summary & Totals */
.summary-section {
    position: relative;
    overflow: hidden;
}

.totals-display {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.totals-display .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.totals-display .row span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

.totals-display hr {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

.totals-display .highlight {
    margin-top: 0.5rem;
}

.totals-display .highlight span:first-child {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.big-number {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    letter-spacing: -1px;
}

/* Client Total Preview Box */
#clientTotalPreview {
    background: linear-gradient(135deg, #e0e7ff 0%, #fae8ff 100%);
    border: 1px solid #c7d2fe;
}

/* Actions Buttons */
.actions {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-secondary {
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 8px rgba(79, 70, 229, 0.4);
    transform: translateY(-1px);
}

/* Currency Wrapper Input */
.currency-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-wrapper span {
    position: absolute;
    left: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    pointer-events: none;
}

.currency-wrapper input {
    padding-left: 2.5rem !important;
    /* Make space for R$ */
}

/* Highlight Value Box */
.highlight-value-box {
    background-color: #f0fdf4;
    /* Green 50 */
    border: 2px solid #10b981;
    /* Green 500 */
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
}

.highlight-value-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: #10b981;
}

.highlight-value-box label {
    color: #047857;
    /* Green 700 */
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.currency-wrapper.large-input input {
    font-size: 2.25rem;
    font-weight: 800;
    color: #064e3b;
    /* Green 900 */
    padding: 1rem 1rem 1rem 4rem !important;
    height: auto;
    border-color: #86efac;
    background-color: white;
}

.currency-wrapper.large-input span {
    font-size: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    left: 1.25rem;
    color: #10b981;
}

.currency-wrapper.large-input input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.highlight-value-box small {
    display: block;
    margin-top: 0.75rem;
    color: #065f46;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Print styles moved to print-styles.css */

/* User Dropdown Menu */
.user-dropdown {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    padding: 8px;
    z-index: 1000;
}

.user-dropdown.show {
    display: flex;
}

.user-dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    width: 100%;
    border: none;
    background: none;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.user-dropdown button:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

.user-profile-sidebar:hover {
    background: #f8fafc;
}

.user-profile-sidebar.active {
    background: #f1f5f9;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.pagination-btn {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-light);
}

.pagination-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8fafc;
}

.pagination-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 12px;
}