/* ============================================================================
   SECTION 1: CSS Variables (Light & Dark Mode)
   ============================================================================ */

/* SECTION Light Colors */
:root{
    
  /* Backgrounds */
  --bg: #ffffff;
  /* main background */
  --bg-plugin-gradient: linear-gradient(to bottom, #ffffff, #f5f5f5);
  /*panel gradient background */
  --bg-c2ai-border-gradient: linear-gradient(to bottom right, #46c2c6, 70%, #2563eb);
  --panel-shadow: 0rem 0.2rem 0.2rem rgba(0, 0, 0, 0.07);
  /* subtle soft shadow for light mode */
  --modal-footer-shadow: 0rem 0rem 1rem rgba(0, 0, 0, 0.2);
  --modal-header-shadow: 0rem 0rem 1rem rgba(0, 0, 0, 0.2);

  /* Text */
  --text: #2a3142;
  /* primary text */
  --text-muted: #6b7280;
  /* secondary text */
  --text-placeholders: #9ca3af;
  /* input hints, placeholders */
  --warning-text: #b45309;
  /* warning text */
  --menu-text: #ffffff;
  /* menu text */

  /* Borders / Dividers */
  --border: #d1d5db;

  /* Primary Accent */
  --primary: #00356f;
  /* keep same brand accent */

  /* Secondary Accent */
  --secondary: #008387;
  /* keep same brand accent */

  /* Nav Button Highlights */
  --nav-active-background: #e5ecf9;
  /* subtle light highlight */
  --nav-active-left-trim: #0467d2;
  /* keep brand blue trim */
  /* Status Colors (Light Theme) */
  --success: #008387;
  /* keep same brand teal for continuity */
  --failed: #dc2626;
  /* slightly brighter red for light bg */
  --info: #2563eb;
  /* deeper blue for readability */
  --active: #00356f;
  /* same brand navy, contrasts well on white */
  --inactive: #e5e7eb;
  /* light gray to look disabled on white */
  --pending: #f59e0b;
  /* brighter amber for visibility */

  /* Buttons & Inputs */
  --primary-btn-bg: #00356f;
  --primary-btn-onhover: #008387;
  --secondary-btn-bg: #f3f4f6;
  --secondary-btn-onhover-border: #0467d2;
  --input-bg: #ffffff;
  --input-active-bg: #f9fafb;
  --input-active-border: #0467d2;
  --active-box-shadow: 0 0 0 0.2rem #0467d280;

  /* Chart Colors */
  --grid-color: #d1d5db;

  /* SVG Icon Filters */
  --svg-icon-filter: brightness(0) saturate(100%) invert(15%) sepia(18%) saturate(1126%) hue-rotate(185deg) brightness(92%) contrast(86%);
  --svg-icon-menu-filter: brightness(0) saturate(100%) invert(92%) sepia(100%) saturate(2%) hue-rotate(111deg) brightness(106%) contrast(100%);
  --svg-icon-secondary-hover-filter: brightness(0) saturate(100%) invert(26%) sepia(47%) saturate(4084%) hue-rotate(165deg) brightness(95%) contrast(106%);
}
/* !SECTION */

/* SECTION DARK Mode */
@media (prefers-color-scheme: dark){
    :root {
         /* Backgrounds */
        --bg: #141421;
        /* panel gradient background */
        --bg-plugin-gradient: linear-gradient(to bottom, #1a1a2e, #141421);
        /* panels / cards */
        --bg-c2ai-border-gradient: linear-gradient(to bottom right, #008387, 70%, #00124a);
        /* c2ai border; requires a ::before and absolute postioning with a zindex of -1 at 0 top, left, bottom, right and content:'';  */
        --panel-shadow: 0rem 0.2rem 0.2rem rgba(0, 0, 0, 0.3);
        --modal-footer-shadow: 0rem 0rem 1rem rgba(0, 53, 111, 0.8);
        --modal-header-shadow: 0rem 0rem 1rem rgba(0, 53, 111, 0.8);

        /* Text */
        --text: #ffffff;
        /* primary text */
        --text-muted: #9ca3af;
        /* secondary text */
        --text-placeholders: #545a82;
        /* input hints, placeholders */
        --pending-text: #ffb70b;
        /* warning text */
        --menu-text: #ffffff;
        /* menu text */

        /* Borders / Dividers */
        --border: #2e3045;

        /* Primary Accent */
        --primary: #00356f;
        /* main CTA (blue button) */

        /* Secondary Accent */
        --secondary: #008387;

        /* Secondary Accent */
        --offset: #f15722;

        /* Nav Button Highlights */
        --nav-active-background: #0a1330;
        /* active nav item highlight main */
        --nav-active-left-trim: #0467d2;
        /* active nav item highlight left border trim */

        /* Status Colors */
        --success: #008387;
        /* success */
        --failed: #dc3545;
        /* failed */
        --info: #3b82f6;
        /* links / highlights */
        --active: #00356f;
        /* active elements */
        --inactive: #2e3045;
        /* inactive elements */
        --pending: #008387;
        /* pending */

        /* Buttons & Inputs */
        --primary-btn-bg: #00356f;
        --primary-btn-onhover: #008387;
        --secondary-btn-bg: #0a1330;
        --secondary-btn-onhover-border: #0467d2;
        --input-bg: #2e3045;
        --input-active-bg: #0a1330;
        --input-active-border: #0467d2;
        --active-box-shadow: 0 0 0 0.2rem #0467d280;
        --dropdown-item-hover: #545a82;

        /* Chart Colors */
        --grid-color: #2e3045;

        /* SVG Icon Filters */
        --svg-icon-filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(128deg) brightness(102%) contrast(101%);
        --svg-icon-menu-filter: brightness(0) saturate(100%) invert(92%) sepia(100%) saturate(2%) hue-rotate(111deg) brightness(106%) contrast(100%);
        --svg-icon-secondary-hover-filter: brightness(0) saturate(100%) invert(26%) sepia(47%) saturate(4084%) hue-rotate(165deg) brightness(95%) contrast(106%);
    }
}
/* !SECTION */

/* ============================================================================
   SECTION 2: Base & Reset Styles
   ============================================================================ */

/**
 * Base styling and CSS reset
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}
button,
.btn-primary,
.stat-card.clickable,
#users-tbody tr {
  cursor: pointer;
}

/* ============================================================================
   SECTION 3: Header
   ============================================================================ */

header {
    background: var(--primary-btn-bg);
    color: var(--menu-text);
    padding: 1rem 2rem;
    box-shadow: var(--panel-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-icon {
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
}

.menu-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

header h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--menu-text);
}

.company-buttons {
    display: flex;
    gap: 0.5rem;
}

/* ============================================================================
   SECTION 4: Sidebar Navigation
   ============================================================================ */

.sidebar {
    height: 100%;
    width: 15%;
    position: fixed;
    z-index: 200;
    top: 100;
    left: 0;
    background-color: var(--primary-btn-bg);
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

.sidebar a {
    padding: 1rem 1.5rem;
    text-decoration: none;
    font-size: 1rem;
    color: var(--menu-text);
    display: block;
    transition: 0.2s;
    border-left: 3px solid transparent;
}

.sidebar a:hover {
    background-color: var(--nav-active-background);
    border-left-color: var(--nav-active-left-trim);
    color: var(--nav-active-left-trim);
}

.sidebar a.active {
    background-color: var(--nav-active-background);
    border-left-color: var(--nav-active-left-trim);
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 15px;
    font-size: 2.5rem;
    padding: 0;
}

/* ============================================================================
   SECTION 5: Main Content Layout
   ============================================================================ */

.content {
    transition: margin-left 0.3s;
    
    margin: 0 auto;
    padding-left: 16%;
    
}

.content-section {
    animation: fadeIn 0.3s ease-in;
    
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================================
   SECTION 6: Typography
   ============================================================================ */

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}

p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.chart-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-style: italic;
}

/* ============================================================================
   SECTION 7: Forms & Inputs
   ============================================================================ */

/**
 * Form section container
 */
.form-section {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/**
 * Form labels
 */
.form-section label {
    font-weight: 500;
    font-size: 0.95rem;
}

/**
 * Text and date inputs
 */
input[type="date"],
input[type="text"],
input[type="email"],
select {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    background: var(--input-bg);
    color: var(--text);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

input[type="date"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    outline: none;
    border-color: var(--input-active-border);
    background-color: var(--input-active-bg);
    box-shadow: var(--active-box-shadow);
}

/**
 * Select dropdowns
 */
select {
    cursor: pointer;
    min-width: 120px;
}

select option {
    background-color: var(--bg);
    color: var(--text);
}

/* ============================================================================
   SECTION 8: Buttons
   ============================================================================ */

/**
 * Primary button (main actions)
 */
.btn-primary {
    padding: 0.625rem 1.25rem;
    background-color: var(--primary-btn-onhover);
    color: var(--menu-text);
    border: none;
    border-radius: 0.375rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background-color: var(--primary-btn-onhover);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/**
 * Secondary button (alternative actions)
 */
.btn-secondary {
    padding: 0.625rem 1.25rem;
    background-color: var(--secondary-btn-bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--secondary-btn-onhover-border);
    background-color: var(--secondary-btn-bg);
}

/* ============================================================================
   SECTION 9: Tables
   ============================================================================ */

/**
 * Table container with scroll support
 */
.table-container {
    overflow-x: auto;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}

/**
 * Main table styling
 */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

/**
 * Table header
 */
thead {
    background: var(--bg-plugin-gradient);
    border-bottom: 2px solid var(--border);
}

thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

/**
 * Table body rows
 */
tbody tr {
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

tbody tr:hover {
    background-color: var(--nav-active-background);
}

tbody tr:last-child {
    border-bottom: none;
}

/**
 * Table cells
 */
tbody td {
    padding: 0.875rem 1rem;
    color: var(--text);
}

/**
 * Special table cell states
 */
.no-data,
.error {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-style: italic;
}

.error {
    color: var(--failed);
}

/**
 * Detail table in modal
 */
.detail-table {
    margin-top: 1rem;
}

.detail-table thead {
    background: var(--primary-btn-bg);
}

.detail-table thead th {
    color: var(--menu-text);
}

.detail-table tbody tr:hover {
    background-color: var(--nav-active-background);
}

/* ============================================================================
   SECTION 10: Cards & Panels
   ============================================================================ */

/**
 * Base card component
 */
.card {
    background: var(--bg-plugin-gradient);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--panel-shadow);
}

/**
 * Card with chart content
 */
.chart-card {
    min-height: 400px;
}

/**
 * Reserved space for bubble chart
 */
.chart-reserved {
    min-height: 500px;
}

/* ============================================================================
   SECTION 11: Charts
   ============================================================================ */

/**
 * Chart canvas container
 */
.chart-container {
    position: relative;
    width: 100%;
    min-height: 300px;
    padding: 1rem;
}

/**
 * Bubble chart specific container
 */
.bubble-container {
    min-height: 500px;
    max-height: 700px;
}

/**
 * Chart canvas element
 */
canvas {
    width: 100% !important;
    height: auto !important;
}

/* ============================================================================
   SECTION 12: User Detail View
   ============================================================================ */

/**
 * Detail view header
 */
.detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
    position: relative;
}

#user-detail-title {
    margin-bottom: 0.5rem;
}

#user-detail-subtitle {
    color: var(--menu-text);
    font-size: 0.95rem;
}

/**
 * Statistics grid
 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

/**
 * Individual stat card
 */
.stat-card {
    background: var(--bg-plugin-gradient);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--panel-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}



.stat-card.clickable {
    cursor: pointer;
    position: relative;
    /* Outline clickable outlet */
    /* border-width: 0 16px 16px 0;
    border-style: solid;
    border-color: var(--active) #fff; */
   
}
.stat-card.clickable::after {
    content: ''; /* Create the triangle with borders, not text */
    position: absolute;
    top: 0;  /* Place at the very top */
    right: 0; /* Place at the very right */
    width: 0;
    height: 0;
    border-style: solid;
    /* Adjust '8px' to make the triangle larger or smaller */
    border-width: 0 20px 20px 0; /* 0-top, 8px-right, 8px-bottom, 0-left */
    border-color: transparent var(--text-placeholders) transparent transparent;
    transition: all 0.2s ease;
}

/**
 * Optional: Make the triangle more obvious on hover
 */
.stat-card.clickable:hover::after {
    border-color: transparent var(--primary) transparent transparent; /* Use brand color on hover */
}

.stat-card.clickable:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.stat-hint {
    font-size: 0.75rem;
    color: var(--text-placeholders);
    margin-top: 0.25rem;
    font-style: italic;
}

/**
 * Packages section
 */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/**
 * Individual package item
 */
.package-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.2s ease;
}

.package-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.package-header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
}

/**
 * Package frequency badge
 */
.package-badge {
    background-color: var(--secondary);
    color: var(--menu-text);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/**
 * Package cost display
 */
.package-cost {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

/* ============================================================================
   SECTION 13: Modal
   ============================================================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 300;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in;
}

.modal-content {
    background-color: var(--bg);
    margin: 5% auto;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 1.5rem;
    background: var(--primary-btn-bg);
    color: var(--menu-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--modal-header-shadow);
}

.modal-header h2 {
    margin: 0;
    color: var(--menu-text);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.close-modal {
    color: var(--menu-text);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}

.close-modal:hover,
.close-modal:focus {
    transform: scale(1.2);
}

/* ============================================================================
   SECTION 14: Loading States
   ============================================================================ */

/**
 * Loading cell in table
 */
.loading {
    text-align: center;
    padding: 3rem 1rem;
}

/**
 * Spinner animation
 */
.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================================================
   SECTION 15: Footer
   ============================================================================ */

footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    bottom: 0px;
}

/* ============================================================================
   SECTION 16: Utilities
   ============================================================================ */

/**
 * Utility classes for common patterns
 */
.text-center {
    text-align: center;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ============================================================================
   SECTION 17: Responsive Design
   ============================================================================ */

/**
 * Tablet and below
 */
@media (max-width: 768px) {
    .content {
        padding: 1rem;
    }

    header h1 {
        font-size: 1.25rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .form-section {
        flex-direction: column;
        align-items: stretch;
    }

    .form-section label {
        width: 100%;
    }

    input[type="date"],
    select {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.75rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .table-container {
        font-size: 0.875rem;
    }

    thead th,
    tbody td {
        padding: 0.75rem 0.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

/**
 * Mobile devices
 */
@media (max-width: 480px) {
    header {
        padding: 0.75rem 1rem;
    }

    h1 {
        font-size: 1.25rem;
    }

    .card {
        padding: 1rem;
    }

    .chart-container {
        padding: 0.5rem;
        min-height: 250px;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .sidebar {
        padding-top: 40px;
    }
    
    .modal-content {
        width: 100%;
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
    }
}

/**
 * Print styles
 */
@media print {
    .sidebar,
    .form-section,
    .btn-primary,
    .btn-secondary,
    .menu-icon {
        display: none;
    }

    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }

    body {
        background: white;
        color: black;
    }
    
    .content {
        margin-left: 0 !important;
    }
}

/* ============================================================================
   SECTION 18: Pagination Controls
   ============================================================================ */

/**
 * Pagination controls container
 */
.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border);
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-controls button {
    padding: 0.5rem 1rem;
    background-color: var(--primary-btn-bg);
    color: var(--menu-text);
    border: none;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-controls button:hover:not(:disabled) {
    background-color: var(--primary-btn-onhover);
}

.pagination-controls button:disabled {
    background-color: var(--inactive);
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-controls span {
    color: var(--text);
    font-size: 0.9rem;
}

.records-info {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

/* ============================================================================
   SECTION 19: Package Created Date Display
   ============================================================================ */

.package-created {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

/**
 * Responsive pagination
 */
@media (max-width: 768px) {
    .pagination-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pagination-controls button {
        width: 100%;
    }
    
    .records-info {
        text-align: center;
    }
}
