/* =========================================
   ENHANCED DASHBOARD STYLES
   ========================================= */

/* 1. Main Card Styling */
.card.rounded-lg {
    border-radius: 16px !important;
}
.shadow-sm {
    box-shadow: 0 4px 24px rgba(0,0,0,0.06) !important;
}

/* 2. "Create Campaign" Button - Custom Style */
/* 2. "Create Campaign" Button - Custom Orange Style */
.btn-create-custom {
    /* Changed from Green Gradient to Orange Gradient (#FFA000) */
    background: linear-gradient(135deg, #FFA000 0%, #FF8C00 100%); 
    color: white !important;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    /* Orange colored shadow */
    box-shadow: 0 4px 10px rgba(255, 160, 0, 0.3); 
    transition: all 0.3s ease;
}

.btn-create-custom:hover {
    /* Slightly darker orange on hover */
    background: linear-gradient(135deg, #FF8C00 0%, #e67e22 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 160, 0, 0.4);
}

/* 3. Modern Search Bar */
.search-modern {
    border-radius: 50px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    height: 35px;
    font-size: 14px;
    box-shadow: none !important;
    transition: all 0.3s ease;
}
.search-modern:focus {
    background: #fff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}
.search-icon-overlay {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

/* Update: Restrict Search Box Width */
#searchForm {
    max-width: 300px;  /* Makes the search box smaller (adjust px if needed) */
    margin-left: auto; /* Pushes the box to the right side */
    width: 100%;
}
/* 4. Table Styling */
.custom-table {
    border-collapse: separate;
    border-spacing: 0 8px; /* Gap between rows */
}

/* Table Header */
.custom-table thead th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    padding: 10px 20px;
}

/* Table Rows */
.custom-table tbody tr {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: transform 0.2s;
}
.custom-table tbody tr:hover {
    transform: translateY(-3px); 
    background: #f8f9fa;
    z-index: 10;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Table Cells */
.custom-table td {
    border: 1px solid #f1f5f9;
    border-width: 1px 0;
    padding: 15px 20px !important;
    vertical-align: middle !important;
    color: #334155;
    font-weight: 500;
}
/* Rounded corners for rows */
.custom-table td:first-child { border-left: 1px solid #f1f5f9; border-radius: 10px 0 0 10px; }
.custom-table td:last-child { border-right: 1px solid #f1f5f9; border-radius: 0 10px 10px 0; }

.custom-table td:nth-child(3) {
    white-space: nowrap !important; /* Forces text to stay on one line */
    min-width: 220px; /* Ensures enough width for "November 6, 2025 4:44 PM" */
}


/* =========================================
   ACTION COLUMN - DYNAMIC ICON STYLING 
   ========================================= */

/* Base Style for All Action Buttons */
#campaignsTable .btn,
#campaignsTable a.btn {
    width: 25px;        /* Changed from 35px to 28px */
    height: 25px;       /* Changed from 35px to 28px */
    line-height: 25px;  /* Changed from 35px to 28px (keeps icon centered) */
    font-size: 12px;    /* Added this to make the icon symbol smaller */
    padding: 0;
    text-align: center;
    border-radius: 50%;
    margin: 0 3px;      /* Slightly reduced margin */
    border: none;
    background-color: #f1f5f9;
    color: #64748b;
    transition: all 0.3s ease;
    display: inline-block;
}

/* 1. EXPORT / DOWNLOAD BUTTONS (Green) 
   - Moved to top as primary action
   - Detects: fa-file-export, fa-download, fa-file-csv 
*/
#campaignsTable .btn:has(.fa-file-export),
#campaignsTable .btn:has(.fa-download),
#campaignsTable .btn:has(.fa-file-csv) {
    background-color: #dcfce7; /* Light Green BG */
    color: #16a34a;            /* Dark Green Icon */
}

/* Hover Effect for Export */
#campaignsTable .btn:has(.fa-file-export):hover,
#campaignsTable .btn:has(.fa-download):hover { 
    background-color: #16a34a; 
    color: #fff; 
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
}

/* 2. DELETE BUTTONS (Red) */
#campaignsTable .btn:has(.fa-trash), 
#campaignsTable .btn:has(.fa-trash-alt),
#campaignsTable .btn:has(.fa-times) {
    background-color: #fee2e2;
    color: #dc2626;
}
#campaignsTable .btn:has(.fa-trash):hover { 
    background-color: #dc2626; 
    color: #fff; 
    transform: translateY(-2px);
}

/* 3. VIEW / LIST BUTTONS (Blue/Purple) */
#campaignsTable .btn:has(.fa-list), 
#campaignsTable .btn:has(.fa-eye) {
    background-color: #e0f2fe;
    color: #0284c7;
}
#campaignsTable .btn:has(.fa-eye):hover { 
    background-color: #0284c7; 
    color: #fff; 
    transform: translateY(-2px);
}

/* 4. DOWNLOAD BUTTONS (Green) - Detects fa-download */
#campaignsTable .btn:has(.fa-download) {
    background-color: #dcfce7;
    color: #16a34a;
}
#campaignsTable .btn:has(.fa-download):hover { background-color: #16a34a; color: #fff; }


/* Fallback for older browsers that don't support :has() 
   This colors buttons based on Bootstrap classes if your JS uses them */
#campaignsTable .btn-primary { background-color: #e0f2fe !important; color: #0284c7 !important; }
#campaignsTable .btn-danger  { background-color: #fee2e2 !important; color: #dc2626 !important; }
#campaignsTable .btn-info    { background-color: #f3e8ff !important; color: #9333ea !important; }


/* NEW: RFP VALIDATION (Purple/Indigo) 
   Detects: fa-sliders (used for rules/settings)
*/
#campaignsTable .btn:has(.fa-sliders) {
    background-color: #e0e7ff; /* Light Indigo */
    color: #4f46e5;            /* Deep Indigo */
}
#campaignsTable .btn:has(.fa-sliders):hover { 
    background-color: #4f46e5; 
    color: #fff; 
    transform: translateY(-2px);
}


/* NEW: LINKEDIN MAPPING (LinkedIn Brand Blue)
   Detects: fa-linkedin
*/
#campaignsTable .btn:has(.fa-linkedin) {
    background-color: #e3f2fd; /* Very Light Blue */
    color: #0077b5;            /* Official LinkedIn Blue */
}
#campaignsTable .btn:has(.fa-linkedin):hover { 
    background-color: #0077b5; 
    color: #fff; 
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 119, 181, 0.3);
}


/* Pagination Styles */
.pagination { margin-top: 20px; }
.pagination li a {
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    border-radius: 8px;
    margin: 0 2px;
}
.pagination li.active a {
    background: #1f2937;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.pagination li a:hover:not(.active) {
    background: #e2e8f0;
    color: #1f2937;
}

/* =========================================
   CREATE CAMPAIGN - ORANGE THEME UI
   ========================================= */

/* 1. Common Orange Utils */
.text-orange {
    color: #FFA000 !important;
}
.bg-light-orange {
    background-color: #fffaf0; /* Very faint orange bg for instructions */
}

/* 2. Step Wizard Navigation (Tabs) */
.step-wizard {
    border-bottom: none;
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.step-wizard .nav-item {
    flex: 1; /* Distribute space evenly */
    text-align: center;
    border-bottom: 3px solid #f1f5f9; /* Default line color */
}

.step-wizard .nav-link {
    border: none !important;
    border-radius: 0;
    padding: 18px 10px;
    color: #94a3b8 !important; /* Inactive Text Color */
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
}

/* The Number Badge (1, 2, 3) */
.step-wizard .step-badge {
    background: #cbd5e1;
    color: #fff;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    margin-right: 6px;
    transition: all 0.3s ease;
}

/* HOVER STATE - Uses #FFA000 */
.step-wizard .nav-link:hover {
    color: #FFA000 !important;
    background-color: #fffbf2; /* Very light orange tint */
}
.step-wizard .nav-link:hover .step-badge {
    background: #FFA000;
    color: #fff;
}

/* ACTIVE STATE - Uses #FFA000 */
.step-wizard .nav-link.active {
    color: #000 !important; /* Active text is black/dark */
    font-weight: 700;
}

/* Underline for Active Item */
.step-wizard .nav-item:has(.active) {
    border-bottom: 3px solid #FFA000;
}

/* Badge for Active Item */
.step-wizard .nav-link.active .step-badge {
    background: #FFA000;
    color: #fff;
    transform: scale(1.1);
    animation: stepPulse 1.6s ease-in-out infinite;
    border-radius: 50%;
}

/* Pulse animation */
@keyframes stepPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 160, 0, 0.6);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(255, 160, 0, 0.25);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 160, 0, 0);
    }
}

/* Responsive adjustment for tabs */
@media (max-width: 768px) {
    .step-wizard .nav-link { font-size: 11px; padding: 10px 5px; }
    .step-text { display: none; } /* Hide text on small screens, keep numbers */
    .step-wizard .step-badge { margin-right: 0; }
}


/* 3. Form & Inputs */
.modern-input {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}
.modern-input:focus {
    border-color: #FFA000;
    box-shadow: 0 0 0 3px rgba(255, 160, 0, 0.15);
}

.border-dashed {
    border: 2px dashed #e2e8f0;
    transition: border-color 0.3s;
}
.border-dashed:hover {
    border-color: #FFA000;
}

/* 4. Mandatory List Styling */
.mandatory-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: #475569;
}
.mandatory-list li i {
    color: #10b981 !important; /* Keep checkmarks green for semantic success */
    width: 20px;
}

/* 5. Action Button (Submit) - ORANGE */
.btn-orange-action {
    background: #FFA000;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 50px; /* Pill shape */
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn-orange-action:hover {
    background: #e69000; /* Darker orange on hover */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 160, 0, 0.3);
}

/* File Input Customization */
input[type="file"] {
    font-size: 13px;
}


/* =========================================
   MAPPING TABLE SPECIFIC STYLES
   ========================================= */

/* Modern Select Box */
.modern-select {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    height: 42px !important;
    font-size: 14px;
    color: #475569;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    padding-left: 15px;
}

.modern-select:focus {
    background-color: #fff;
    border-color: #FFA000; /* Orange focus border */
    box-shadow: 0 0 0 3px rgba(255, 160, 0, 0.1);
}

/* Table Enhancements for Mapping */
.custom-table tbody tr {
    transition: background-color 0.2s;
}

.custom-table tbody tr:hover {
    background-color: #f8f9fa; /* Very faint orange hover on row */
}

/* Optional Divider Row Styling */
.custom-table tr.bg-light td {
    background-color: #f1f5f9 !important;
    letter-spacing: 1px;
}


/* =========================================
   START QC PAGE STYLES
   ========================================= */

/* Light Warning Background for Checklist Card */
.bg-warning-light {
    background-color: #fffaf0; /* Light Orange/Yellow tint */
    border-bottom: 1px solid #ffeeba;
    padding: 15px 20px;
    border-radius: 12px 12px 0 0 !important;
}

/* Upload Icon Animation (Optional subtle bounce) */
.border-dashed:hover .fa-cloud-upload-alt {
    color: #FFA000 !important;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* Text Underline hover effect */
.text-underline:hover {
    text-decoration: underline !important;
    color: #FFA000 !important;
}


/* =========================================
   FILE EXPORT TABLE STYLES
   ========================================= */

/* Target the specific table class we added */
.file-list-table tbody tr {
   /* height: 70px; */
}

/* 
   COLUMN 2: ERROR FILES (Red Theme) 
   We assume the link is inside the 2nd TD 
*/
/* 
   COLUMN 2: ERROR LOGS (Warning Theme #856404) 
   Default: Light Yellow BG, #856404 Text
   Hover: Solid #856404 BG, White Text
*/
.file-list-table tbody td:nth-child(2) a {
    display: inline-block;
    padding: 4px 16px;
    background-color: #fff3cd; /* Light Yellow Background (Matches #856404 nicely) */
    color: #856404 !important; /* THE EXACT COLOR YOU REQUESTED */
    border: 1px solid #ffeeba;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* HOVER STATE - Turns Solid #856404 with White Text */
.file-list-table tbody td:nth-child(2) a:hover {
    background-color: #856404; /* Solid Color */
    border-color: #856404;
    color: #ffffff !important; /* Forces White Text */
    box-shadow: 0 4px 10px rgba(133, 100, 4, 0.3);
    transform: translateY(-2px);
}

/* Add Warning Icon automatically */
.file-list-table tbody td:nth-child(2) a:not(:empty)::before {
    content: "\f071"; /* FontAwesome Warning Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
}

/* 
   COLUMN 3: CORRECTED FILES (Green Theme) 
   We assume the link is inside the 3rd TD 
*/
.file-list-table tbody td:nth-child(3) a {
    display: inline-block;
    padding: 4px 16px;
    background-color: #dcfce7; /* Light Green */
    color: #16a34a;            /* Dark Green Text */
    border: 1px solid #bbf7d0;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}
/* HOVER STATE - Turns Solid Green with White Text */
.file-list-table tbody td:nth-child(3) a:hover {
    background-color: #16a34a; /* Solid Green */
    border-color: #16a34a;
    color: #ffffff !important; /* Forces White Text */
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
    transform: translateY(-2px);
}

/* Add Check Icon automatically */
.file-list-table tbody td:nth-child(3) a:not(:empty)::before {
    content: "\f00c"; /* FontAwesome Check Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
}

/* Clean up empty cells */
.file-list-table td:empty::after {
    content: "-";
    color: #cbd5e1;
}



/* =========================================
   DYNAMIC VALIDATION FORM STYLES
   ========================================= */

/* Wrapper for the injected JS content */
.dynamic-form-wrapper {
    padding: 10px 0;
}

/* Style ANY form-group created by JS */
.dynamic-form-wrapper .form-group {
    background-color: #f8fafc; /* Light gray box for each rule */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s;
}

.dynamic-form-wrapper .form-group:hover {
    background-color: #fff;
    border-color: #FFA000; /* Orange border on hover */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Style Labels */
.dynamic-form-wrapper label {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* Style Inputs & Selects created by JS */
.dynamic-form-wrapper input[type="text"],
.dynamic-form-wrapper input[type="number"],
.dynamic-form-wrapper select {
    display: block;
    width: 100%;
    height: 45px;
    padding: 6px 15px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 8px; /* Rounded corners */
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/* Focus State (Orange) */
.dynamic-form-wrapper input:focus,
.dynamic-form-wrapper select:focus {
    border-color: #FFA000;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255, 160, 0, 0.2);
}

/* =========================================
   CUSTOM ORANGE CHECKBOX (Forces White Tick)
   ========================================= */
.dynamic-form-wrapper input[type="checkbox"] {
    /* Remove default browser style */
    -webkit-appearance: none;
    appearance: none;
    
    /* Box Styling */
    background-color: #fff;
    margin-right: 12px;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1; /* Light Grey Border */
    border-radius: 4px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    transition: all 0.2s ease;
}

/* Hover State */
.dynamic-form-wrapper input[type="checkbox"]:hover {
    border-color: #FFA000;
}

/* Checked State - ORANGE Background */
.dynamic-form-wrapper input[type="checkbox"]:checked {
    background-color: #FFA000;
    border-color: #FFA000;
    
    /* SVG Checkmark (White) */
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Focus State */
.dynamic-form-wrapper input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 160, 0, 0.2);
}



/* =========================================
   USER MANUAL / DOCUMENTATION STYLES
   ========================================= */

/* 1. Sidebar Navigation */
.doc-nav .list-group-item {
    color: #64748b;
    transition: all 0.2s;
}
.doc-nav .list-group-item:hover {
    color: #FFA000;
    background-color: #fffbf2; /* Light orange tint */
    padding-left: 25px; /* Slide effect */
}
.doc-nav .list-group-item.active {
    color: #FFA000 !important;
    background-color: #fff;
    border-right: 3px solid #FFA000;
}

/* 2. Step Number Badge */
.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #FFA000;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(255, 160, 0, 0.3);
}

/* 3. Custom Code Block */
.custom-code {
    background-color: #1f2937; /* Dark BG like sidebar */
    color: #4ade80; /* Terminal Green text */
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Courier New', Courier, monospace;
}

/* 4. Manual Lists */
.manual-list li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #334155;
}
.manual-ul li {
    margin-bottom: 10px;
    list-style-type: none;
    position: relative;
    padding-left: 10px;
}
.manual-ul li::before {
    content: "\f0da"; /* FontAwesome Caret Right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #FFA000;
    position: absolute;
    left: -15px;
    top: 2px;
}

/* 5. Highlight Cards */
.alert-warning-light {
    background-color: #fffaf0;
    border: 1px solid #ffeeba;
    padding: 20px;
    border-radius: 8px;
}



/* =========================================
   MODERN FOOTER STYLES
   ========================================= */

/* 1. Layout & Positioning */
.main-footer {
    background-color: #ffffff;      /* Clean White */
    border-top: 1px solid #f1f5f9;  /* Subtle top border */
    padding: 10px 0;
    z-index: 900;                   /* Below Sidebar (1000) but above content */
    
    /* Alignment with Sidebar */
    margin-left: 240px;             /* Must match Sidebar Width in head.php */
    transition: margin-left 0.3s ease;
}

/* 2. Link Styling */
.footer-nav .nav-link {
    transition: color 0.2s;
}
.footer-nav .nav-link:hover {
    color: #0f172a !important;      /* Dark Navy on hover */
    text-decoration: underline;
}

/* 3. Responsive Adjustments */
@media (max-width: 768px) {
    /* On mobile, sidebar is hidden, so footer takes full width */
    .main-footer {
        margin-left: 0;
    }
}

/* 4. Prevent Content Overlap */
/* Extremely Important: Adds space at bottom of page so fixed footer doesn't hide content */
body {
    padding-bottom: 70px !important; 
}




/* =========================================
   CHECKLIST PAGE STYLES
   ========================================= */

/* 1. Feature Cards */
.border-left-orange {
    border-left: 4px solid #FFA000;
}
.step-number-small {
    width: 28px;
    height: 28px;
    background: #0f172a; /* Slate */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
}

/* 2. Custom Check List */
.check-list {
    list-style: none;
    padding: 0;
}
.check-list li {
    margin-bottom: 15px;
    font-size: 14px;
    color: #334155;
    position: relative;
    padding-left: 30px;
}
.check-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    text-align: center;
}

/* Sub-lists */
.sub-list {
    list-style: disc;
    padding-left: 20px;
    color: #64748b;
    margin-top: 5px;
    font-size: 13px;
}

/* 3. Exclusion Badges (Lead Type) */
.badge-exclusion {
    background-color: #fee2e2; /* Light Red BG */
    color: #991b1b;           /* Dark Red Text */
    border: 1px solid #fecaca;
    padding: 6px 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.2s;
}
.badge-exclusion:hover {
    background-color: #ef4444;
    color: white;
    transform: translateY(-1px);
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    list-style: none;
    margin: 0;
}

.pagination li {
    display: inline-flex;
}

.pagination li a {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ffffff;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Hover */
.pagination li a:hover {
    background: #f3f4f6;
    color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Active page */
.pagination li.active a {
    background: linear-gradient(135deg, #FFA000, #dd8d06);
    color: #ffffff;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
}

/* Next / Last buttons */
.pagination li a[aria-label="Next"],
.pagination li a[aria-label="Last"] {
    font-weight: 600;
    padding: 0 18px;
}

/* Disabled (optional) */
.pagination li.disabled a {
    opacity: 0.45;
    pointer-events: none;
    box-shadow: none;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .pagination li a {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
        padding: 0 10px;
    }
}