/* Reset & Base Variables */
:root {
    --primary: #6c5ce7; /* Morado Elegante */
    --primary-light: #a29bfe;
    --primary-dark: #4834d4;
    --accent: #495057;
    --bg-main: #FFFFFF; /* Blanco Puro */
    --bg-card: #FFFFFF;
    --text-main: #2D3436;
    --text-mute: #636E72;
    --border: #f1f2f6; /* Borde muy suave */
    --green: #00B894;
    --red: #D63031;
    --yellow: #FDCB6E;
    --discount-bg: #FFEAA7;
    --rating: #6c5ce7; /* Morado para estrellas */
    --price: #1a73e8;  /* Azul para precios */

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-pill: 50px;

    --btn-secondary-bg: #2D3436;
    --btn-secondary-text: #FFFFFF;
    --benefits-bg: #f7fffb;
    --benefits-border: #e0f2e9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
}

.bg-gray {
    background-color: #FFFFFF;
}

/* Utilities */
.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-green {
    color: var(--green);
}

.text-red {
    color: var(--red);
}

.text-mute {
    color: var(--text-mute);
}

.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.mt-5 {
    margin-top: 5px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.ml-5 {
    margin-left: 5px;
}

.pb-100 {
    padding-bottom: 100px;
}

.p-15 {
    padding: 15px;
}

.p-20 {
    padding: 20px;
}

.flex-row {
    display: flex;
    align-items: center;
}

.gap-15 {
    gap: 15px;
}

.flex-1 {
    flex: 1;
}

/* Glassmorphism */
.glassmorphism {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.delay-2 {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

/* Main Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 15px;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 1210px) {
    .main-header {
        max-width: 1200px;
        margin: 0 auto;
        border-radius: 0 0 16px 16px;
    }
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-main);
    border-radius: var(--radius-pill);
    padding: 8px 15px;
    border: 1px solid var(--border);
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 10px;
    outline: none;
    font-size: 0.95rem;
    font-family: inherit;
}

.search-bar i {
    color: var(--text-mute);
}

.search-btn {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.categories-nav-wrapper {
    overflow-x: auto;
    margin-top: 10px;
    padding-bottom: 5px;
    scrollbar-width: none;
}

.categories-nav-wrapper::-webkit-scrollbar {
    display: none;
}

.categories-nav {
    display: flex;
    gap: 10px;
    white-space: nowrap;
}

.cat-btn {
    background: transparent;
    border: none;
    font-size: 1rem;
    color: var(--text-mute);
    font-weight: 500;
    font-family: inherit;
    padding: 5px 0;
    position: relative;
    cursor: pointer;
}

.cat-btn.active {
    color: var(--primary);
    font-weight: 600;
}

.cat-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.header-benefits {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-mute);
    background: var(--benefits-bg);
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid var(--benefits-border);
}

.header-benefits span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-benefits .arrow-right {
    color: var(--text-mute);
    opacity: 0.5;
}

/* Circular Categories */
.circular-categories {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 15px;
    scrollbar-width: none;
}

.circular-categories::-webkit-scrollbar {
    display: none;
}

.circ-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 60px;
    text-align: center;
    cursor: pointer;
}

.circ-cat .img-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    transition: 0.2s ease;
    background: linear-gradient(135deg, #e0e0e0, #f8f9fa);
}

.circ-cat:hover .img-wrapper {
    border-color: var(--primary);
    transform: scale(1.05);
}

.circ-cat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circ-cat span {
    font-size: 0.7rem;
    color: var(--text-mute);
    font-weight: 500;
    line-height: 1.1;
}

/* Trending Tags */
.trending-tags {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 0 15px 15px;
    scrollbar-width: none;
}

.trending-tags::-webkit-scrollbar {
    display: none;
}

.tag {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.tag-hot {
    background: #FFF4ED;
    border-color: #FFD5BD;
    color: var(--primary-dark);
}

.tag-hot i {
    color: var(--primary);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    padding: 10px;
    background: var(--bg-main);
    min-height: 50vh;
    padding-bottom: 80px;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
        padding: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--primary-light);
}

.product-card:active {
    transform: scale(0.97);
}

.product-card .img-box {
    width: 100%;
    height: 90px;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    overflow: hidden;
}

.product-card .img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.product-card:hover .img-box img {
    transform: scale(1.08);
}

.product-card .badge-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.product-card .info-box {
    padding: 6px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card .title {
    font-size: 0.75rem;
    color: var(--text-main);
    font-weight: 400;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: auto;
}

.product-card .rating {
    font-size: 0.7rem;
    color: var(--text-mute);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.product-card .rating i {
    color: var(--rating);
    font-size: 0.65rem;
}

.product-card .price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 5px;
}

.product-card .price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--price);
}

.product-card .old-price {
    font-size: 0.75rem;
    color: var(--text-mute);
    text-decoration: line-through;
}

.product-card .action-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 8px;
}

.product-card .sold-count {
    font-size: 0.7rem;
    color: #E17055;
    font-weight: 500;
}

.cart-add-btn {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    transition: 0.2s ease;
}

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



/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--text-mute);
    font-size: 0.75rem;
    font-weight: 500;
}

.nav-item i {
    font-size: 1.3rem;
    margin-bottom: 2px;
    transition: 0.2s ease;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.active i {
    transform: scale(1.1);
    font-weight: 900;
}

.badge-wrapper {
    position: relative;
}

.badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(255, 90, 0, 0.3);
}

/* Page Header (Cart, Admin) */
.page-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    box-shadow: var(--shadow-sm);
}

.page-header h1 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.back-btn {
    color: var(--text-main);
    font-size: 1.2rem;
    text-decoration: none;
}

/* Buttons & Inputs */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover,
.btn:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 90, 0, 0.3);
}

.btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
}

.btn-block {
    width: 100%;
}

.styled-form .form-group {
    margin-bottom: 15px;
}

.styled-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 6px;
}

.styled-form input,
.styled-form select,
.styled-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 15px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    outline: none;
    transition: 0.2s ease;
}

.styled-form input:focus,
.styled-form select:focus,
.styled-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.1);
}

/* Radio Cards (Payments) */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input {
    display: none;
}

.radio-card .card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    transition: 0.2s ease;
}

.radio-card input:checked+.card-content {
    border-color: var(--primary);
    background: #FFF4ED;
}

.radio-card input:checked+.card-content::after {
    content: '\f058';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    font-size: 1.2rem;
}

.pay-logo {
    height: 24px;
    object-fit: contain;
}

/* Cart items list */
.cart-item-card {
    display: flex;
    background: #fff;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    gap: 15px;
    align-items: center;
}

.cart-item-card img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info .title {
    font-size: 0.9rem;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-info .price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--price);
    margin-top: 5px;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 2px;
}

.qty-btn {
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    border-radius: 50%;
}

.qty-btn:active {
    background: #E0E0E0;
}

.qty-val {
    font-size: 0.85rem;
    font-weight: 600;
    width: 20px;
    text-align: center;
}

.rm-btn {
    color: var(--red);
    background: #FFF0F0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

/* Admin Tabs */
.tabs-nav {
    display: flex;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-mute);
    font-family: inherit;
    cursor: pointer;
    transition: 0.2s ease;
}

.tab-btn.active {
    background: #6c5ce7; /* Morado */
    color: #ffffff;
}

.sale-record {
    background: #fff;
    border-left: 4px solid var(--accent);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.sale-record.success {
    border-left-color: var(--green);
}

.sale-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s forwards;
}

.glass-modal {
    background: #fff;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.icon-success i {
    font-size: 4rem;
    color: var(--green);
    margin-bottom: 15px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.order-details-card {
    background: #F8F9FA;
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-top: 20px;
    text-align: left;
    font-size: 0.9rem;
}

.order-details-card p {
    margin-bottom: 5px;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 5px;
}

.order-details-card p:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Desktop Sidebar Layout */
@media (min-width: 1024px) {
    body {
        padding-left: 280px;
    }
    
    #categorySidebar {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: transparent !important;
        pointer-events: none;
        z-index: 1000;
    }
    
    #categorySidebar .sidebar-content {
        pointer-events: auto;
        border-radius: 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.05);
        background: var(--bg-card);
    }
    
    .main-header, .bottom-nav {
        left: 280px !important;
        width: calc(100% - 280px) !important;
    }
    
    .fa-bars {
        display: none !important;
    }
    
    .sidebar-content .fa-xmark {
        display: none !important;
    }
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-main: #121212;
    --bg-card: #3A3A3C;
    --text-main: #FFFFFF;
    --text-mute: #D0D0D0;
    --border: #555555;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.7);
    --price: #8AB4F8; /* Brighter blue for dark mode */
    --primary: #E2007A; /* Magenta for dark mode */
    
    --btn-secondary-bg: #EFEFEF;
    --btn-secondary-text: #121212;
    --benefits-bg: #1A2421;
    --benefits-border: #2A3B34;
    
    background-color: var(--bg-main);
    color: var(--text-main);
}

body.dark-mode .product-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.8);
}

body.dark-mode .glassmorphism,
body.dark-mode .glass-card,
body.dark-mode .bottom-nav,
body.dark-mode .search-bar,
body.dark-mode .tag,
body.dark-mode .tabs-nav {
    background: var(--bg-card);
    border-color: var(--border);
}

body.dark-mode .categories-nav .cat-btn {
    color: #FF00FF !important; /* Magenta */
}

body.dark-mode .product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

body.dark-mode .search-bar {
    background: #2a2a2a;
}

body.dark-mode .product-card .img-box {
    background: transparent;
}

body.dark-mode .product-grid {
    background: #1a1a1a;
}

body.dark-mode .cart-item-card,
body.dark-mode .sale-record,
body.dark-mode .styled-form input,
body.dark-mode .styled-form select,
body.dark-mode .styled-form textarea {
    background: var(--bg-card);
    color: var(--text-main);
    border-color: var(--border);
}

body.dark-mode .radio-card .card-content {
    background: var(--bg-card);
    border-color: var(--border);
}

body.dark-mode .radio-card input:checked+.card-content {
    background: #2d2640; /* primary darkish */
}

/* --- CUSTOM OVERRIDES (Magenta Categories & Dark Mode Contrast) --- */

/* Color dinámico para Categorias (Morado claro, Magenta oscuro) */
.categories-nav .cat-btn {
    color: var(--primary) !important;
}
.categories-nav .cat-btn.active {
    font-weight: 700 !important;
    border-bottom: 2px solid var(--primary);
}
.circular-categories .circ-cat:hover .img-wrapper {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

/* Dark Mode Text Adaptability (Global) */
body.dark-mode label,
body.dark-mode .btn,
body.dark-mode .desc,
body.dark-mode .title,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode span,
body.dark-mode .text-main,
body.dark-mode .text-mute,
body.dark-mode .sidebar-item,
body.dark-mode .product-card .title,
body.dark-mode .product-card .price,
body.dark-mode .product-card .desc,
body.dark-mode .qty-val {
    color: #FFFFFF !important;
}

/* Grid and Accordion for Admin */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.grid-2-col .full-width {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
}

.admin-accordion {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
}
.admin-accordion summary {
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    background: var(--bg-body);
    border-bottom: 1px solid var(--border);
    outline: none;
}
.admin-accordion summary::-webkit-details-marker {
    display: none;
}
.admin-accordion summary::after {
    content: '\f0d7'; /* fa-caret-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    transition: transform 0.3s ease;
}
.admin-accordion[open] summary::after {
    transform: rotate(180deg);
}
.admin-accordion .accordion-content {
    padding: 20px;
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.pagination-controls button {
    padding: 8px 12px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background 0.2s;
}
.pagination-controls button:hover:not(:disabled) {
    background: var(--primary);
    color: white;
}
.pagination-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.pagination-info {
    font-size: 0.9rem;
    font-weight: 600;
}