html{
    color-scheme: light;
}

#listing-results{
    width: 100%;
    overflow-x: auto;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
    /* Override semua warna ke versi light jika perlu */
  }
}
:host, :root {
  --primary-color: #dc2626;         /* merah utama */
  --primary-hover: #b91c1c;         /* merah saat hover */
  --secondary-color: #1e3a8a;       /* navy biru untuk aksen */
  --success-color: #059669;         /* hijau sukses */
  --warning-color: #d97706;         /* oranye warning */
  --danger-color: #dc2626;          /* merah bahaya */
  --info-color: #0ea5e9;            /* biru informasi */
  --dark-gray: #1e293b;             /* warna teks utama */
  --medium-gray: #64748b;           /* warna teks sekunder */
  --light-gray: #f8fafc;            /* warna latar terang */
  --border-color: #e2e8f0;          /* warna border halus */
  --shadow-light: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 10px 15px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --border-radius-small: 6px;
  --transition: all 0.3s ease;
  --w-color-primary-hue: 0;
  --w-color-primary-saturation: 84%;
  --w-color-primary-lightness: 60%;
  --w-color-primary-200-hue: 0;
  --w-color-primary-200-saturation: 74%;
  --w-color-primary-200-lightness: 55%;
  --w-color-surface-menus: hsl(0 84% 60%);
  --w-color-text-label-menus-active: #fff;
  --w-color-text-label-menus-default: #ffffffcc;
--w-color-text-label: #1e293b; /* slate-800 */
--w-color-text-context: #334155; /* slate-700 */
--w-color-text-meta: #64748b; /* slate-500 */
--w-color-text-placeholder: #94a3b8; /* slate-400 */
--w-color-text-link-default: var(--w-color-primary); /* masih boleh merah untuk tautan */
--w-color-text-link-hover: var(--w-color-primary-200);
--w-color-surface-button-default: var(--w-color-primary); /* merah */
--w-color-surface-button-hover: var(--w-color-primary-200);
--w-color-surface-button-inactive: #e2e8f0; /* abu terang */
--w-color-surface-button-outline-hover: #fee2e2; /* merah sangat terang */
--w-color-text-button: #ffffff;
--w-color-text-button-outline-default: var(--w-color-primary);
--w-color-text-button-outline-hover: var(--w-color-primary-200);
--w-color-surface-button-default: #f1f5f9;
--w-color-surface-button-hover: #e2e8f0;
--w-color-text-button: #1e293b;


}

.footer__container{
    background-color: #fff;
}


body {
    color: #1e293b;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--light-gray);
    color: var(--dark-gray);
    line-height: 1.6;   
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.admin-container, 
.dashboard-container, 
.report-container, 
.auction-manage-container {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.nice-padding {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 20px; */
}

/* ============================================
   HEADERS & TITLES
   ============================================ */



.page-title,
.dashboard-title,
.report-title,
.manage-title {
    color: white;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: none;
}

.page-subtitle,
.dashboard-subtitle,
.report-subtitle,
.manage-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.nice-padding h1 {
    color: var(--dark-gray);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    /* border-bottom: 3px solid var(--primary-color); */
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   FILTERS SECTION
   ============================================ */
.filters,
.filters-section,
.filters-card,
.report-filters {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.filters-title {
    color: var(--dark-gray);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-form,
.filter-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: end;
}

.filter-item,
.filter-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 180px;
}

.filter-item label,
.filter-col label {
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.filter-item input,
.filter-item select,
.filter-col input,
.filter-col select {
    width: 100%;
    padding: 0.75rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-size: 0.875rem;
    transition: var(--transition);
    background: white;
}

.filter-item input:focus,
.filter-item select:focus,
.filter-col input:focus,
.filter-col select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.filter-btn,
.filter-button,
.btn-filter {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-small);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    height: fit-content;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover,
.filter-button:hover,
.btn-filter:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-reset {
    background: var(--medium-gray);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-small);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-reset:hover {
    background: #475569;
    color: white;
    text-decoration: none;
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* ============================================
   STATS & METRICS CARDS
   ============================================ */
.stats-container,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card,
.help-block {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover,
.help-block:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--warning-color) 100%);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.stat-value,
.stat-number,
.help-block h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.stat-label,
.help-block p {
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.help-block small {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Color variants for help blocks */
.help-info {
    background-color: #e1f5fe;
    border-left: 4px solid var(--secondary-color);
}

.help-success {
    background-color: #e8f5e8;
    border-left: 4px solid var(--success-color);
}

.help-warning {
    background-color: #fff8e1;
    border-left: 4px solid var(--warning-color);
}

.help-critical {
    background-color: #ffebee;
    border-left: 4px solid var(--danger-color);
}

/* ============================================
   TABLES
   ============================================ */
.table-container,
.table-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 2rem;
    margin-top: 2rem;
}


.table-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-responsive {
    overflow-x: auto;
}

.table,
.listing,
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.table th,
.listing th,
.data-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.table td,
.listing td,
.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
    vertical-align: middle;
}

.table tbody tr:hover,
.listing tbody tr:hover,
.data-table tbody tr:hover {
    background-color: rgba(220, 38, 38, 0.05);
    transform: scale(1.005);
    transition: var(--transition);
}

/* ============================================
   BADGES & STATUS INDICATORS
   ============================================ */
.badge,
.status-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-success,
.status-tag.success {
    background-color: rgba(5, 150, 105, 0.1);
    color: var(--success-color);
}

.badge-warning,
.status-tag.warning {
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--warning-color);
}

.badge-danger,
.status-tag.danger {
    background-color: rgba(220, 38, 38, 0.1);
    color: var(--danger-color);
}

.badge-info,
.status-tag.info,
.status-tag.primary {
    background-color: rgba(8, 145, 178, 0.1);
    color: var(--info-color);
}

.badge-secondary {
    background-color: rgba(100, 116, 139, 0.1);
    color: var(--medium-gray);
}

.badge-primary {
    background-color: rgba(220, 38, 38, 0.1);
    color: var(--primary-color);
}

/* ============================================
   BUTTONS & ACTIONS
   ============================================ */
.content-wrapper .button,
.content-wrapper .action-btn,
.content-wrapper .btn {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.content-wrapper .button:hover,
.content-wrapper .action-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.content-wrapper .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
}

.content-wrapper .btn-primary:hover {
    box-shadow: var(--shadow-medium);
    color: white;
}

.content-wrapper .btn-secondary,
.content-wrapper .button-secondary {
    background: #f8fafc;
    color: var(--medium-gray);
    border: 1px solid var(--border-color);
}

.content-wrapper .btn-secondary:hover,
.content-wrapper .button-secondary:hover {
    background: #f1f5f9;
    color: var(--dark-gray);
    border-color: #d1d5db;
}

.content-wrapper .btn-view {
    background: var(--secondary-color);
    color: white;
}

.content-wrapper .btn-view:hover {
    background: #005c87;
    color: white;
}

.content-wrapper .button-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ============================================
   CHARTS & VISUALIZATIONS
   ============================================ */
.chart-container,
.charts-section {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.chart-container:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.chart-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.chart-wrapper {
    flex: 1;
    position: relative;
    min-height: 300px;
}

.chart-wrapper canvas {
    max-height: 100% !important;
}

/* ============================================
   SECTIONS & CONTENT AREAS
   ============================================ */
.section-title {
    color: var(--dark-gray);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--warning-color) 100%);
    border-radius: 2px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.menu-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    text-align: center;
    text-decoration: none;
    color: var(--dark-gray);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
    color: var(--primary-color);
}

.menu-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1.5rem;
}

.pagination a, 
.pagination span {
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-small);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--light-gray);
    transform: translateY(-1px);
}

.pagination .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ============================================
   EMPTY STATES
   ============================================ */
/* Empty state styles */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.empty-text {
    font-size: 16px;
    color: #666;
    max-width: 400px;
    margin: 0 auto;
}

/* Export page styles */
.export-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.export-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.export-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.export-card h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.export-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.export-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.export-btn:hover {
    background: #005a87;
    color: white;
    text-decoration: none;
}

/* Vendor dashboard styles */
.vendor-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.vendor-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.vendor-stat-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vendor-stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #007cba;
    margin-bottom: 5px;
}

.vendor-stat-label {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Notification styles */
.notification-list {
    max-width: 800px;
    margin: 0 auto;
}

.notification-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.notification-item:hover {
    transform: translateY(-1px);
}

.notification-item.unread {
    border-left: 4px solid #007cba;
    background: #f8f9fa;
}


.notification-title {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.notification-time {
    color: #666;
    font-size: 12px;
}

.notification-content {
    color: #555;
    line-height: 1.5;
}

/* Additional form styles */
.form-section {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-section h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

/* Loading states */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #666;
}

.loading::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .admin-container,
    .dashboard-container,
    .report-container,
    .auction-manage-container {
        padding: 1rem;
    }

    .nice-padding {
        padding: 1rem;
    }

    .page-title,
    .dashboard-title,
    .report-title,
    .manage-title {
        font-size: 1.5rem;
    }

    .page-subtitle,
    .dashboard-subtitle,
    .report-subtitle,
    .manage-subtitle {
        font-size: 0.875rem;
    }

    .stat-value,
    .stat-number,
    .help-block h3 {
        font-size: 1.5rem;
    }

    .stat-label,
    .help-block p {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.125rem;
    }

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

    .stats-container,
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .filter-group,
    .filter-row {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .filter-item,
    .filter-col {
        min-width: 100%;
    }

    .table th,
    .table td,
    .listing th,
    .listing td,
    .data-table th,
    .data-table td {
        white-space: nowrap;
        padding: 0.75rem;
        font-size: 0.8rem;
    }

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

    .button-group {
        flex-direction: column;
    }
}

/* ============================================
   LIVE AUCTION SPECIFIC STYLES
   ============================================ */
.live-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ef4444;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.auction-filter {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.auction-filter h3 {
    margin: 0 0 1rem 0;
    color: var(--dark-gray);
    font-size: 1rem;
    font-weight: 600;
}

.auction-select {
    width: 100%;
    padding: 0.75rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-size: 0.875rem;
    background: white;
    color: var(--dark-gray);
    transition: var(--transition);
}

.auction-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.auction-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--warning-color) 100%);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

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

.auction-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--transition);
}

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

.auction-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.auction-card p {
    padding: 0.5rem 1.5rem;
    margin: 0.5rem 0;
    color: var(--dark-gray);
    font-size: 0.875rem;
}

.auction-card p strong {
    color: var(--dark-gray);
    font-weight: 600;
}

.break-indicator {
    background: #fff3cd;
    color: #856404;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem 1.5rem;
    border-radius: var(--border-radius-small);
    border: 1px solid #ffeaa7;
    font-weight: 600;
    text-align: center;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

.lot-tabs {
    display: flex;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.lot-tab {
    flex: 1;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border: none;
    border-right: 1px solid var(--border-color);
    cursor: pointer;
    font-weight: 500;
    color: var(--medium-gray);
    transition: var(--transition);
    text-align: center;
}

.lot-tab:last-child {
    border-right: none;
}

.lot-tab:hover {
    background: #f1f5f9;
    color: var(--dark-gray);
}

.lot-tab.active {
    background: white;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    font-weight: 600;
}

.lot-tab span {
    display: block;
    font-size: 0.9rem;
}

.lane-content {
    display: none;
    padding: 1.5rem;
}

.lane-content.active {
    display: block;
}

.connection-status {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-small);
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: center;
    font-size: 0.875rem;
}

.connection-status.connected {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.connection-status.disconnected {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.round-info {
    background: #e3f2fd;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-small);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.live-item {
    background: #f8fafc;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius-small);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    opacity: 0.6;
}

.live-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.live-item strong {
    color: var(--dark-gray);
    font-weight: 600;
}

.live-item br + strong {
    margin-top: 0.5rem;
    display: inline-block;
}

.bid-list {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.bid-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-small);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.bid-item:hover {
    background: #f8fafc;
    border-color: var(--primary-color);
}

.bid-info {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.bid-price {
    color: var(--success-color);
    font-weight: 600;
}

.bid-source {
    color: var(--medium-gray);
    font-size: 0.75rem;
    font-style: italic;
}

.lot-status {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #fef3c7;
    color: #92400e;
}

.hidden {
    display: none !important;
}

.lane-message {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: var(--border-radius-small);
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    color: #1565c0;
}

.card-header {
    padding: 1.5rem;
    margin: 0;
}

.card-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.card-body {
    color: #1e293b;
    padding: 1.5rem;
}

.auction-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-label i {
    color: var(--primary-color);
    width: 16px;
}

.detail-value {
    font-size: 0.875rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.item-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.detail-row .label {
    color: var(--medium-gray);
    font-weight: 500;
}

.detail-row .value {
    color: var(--dark-gray);
    font-weight: 600;
}

.detail-row .value.price {
    color: var(--success-color);
    font-weight: 700;
}

.empty-state-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    margin: 2rem 0;
}

.empty-state-content .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.empty-state-content h3 {
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.empty-state-content p {
    color: #adb5bd;
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   AUCTION MANAGE PAGE SPECIFIC STYLES
   ============================================ */
.auctions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.auction-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.auction-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.auction-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.auction-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.auction-title-wrapper {
    flex: 1;
    position: relative;
    z-index: 1;
}

.auction-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

.auction-id {
    font-size: 0.75rem;
    opacity: 0.8;
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

.auction-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.auction-body {
    padding: 1.5rem;
}

.auction-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.detail-value {
    font-size: 0.875rem;
    color: var(--dark-gray);
    font-weight: 600;
    text-align: right;
}

.auction-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--medium-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auction-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
}

.auction-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: none;
    flex: 1;
    justify-content: center;
    min-width: 110px;
}

.action-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.action-btn.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
}

.action-btn.btn-primary:hover {
    box-shadow: var(--shadow-medium);
    color: white;
}

.action-btn.btn-live {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    animation: pulse 2s infinite;
}

.action-btn.btn-live:hover {
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.action-btn.btn-secondary {
    background: #6b7280;
    color: white;
}

.action-btn.btn-secondary:hover {
    background: #4b5563;
    color: white;
}

.action-btn.btn-edit {
    background: #0ea5e9;
    color: white;
}

.action-btn.btn-edit:hover {
    background: #0284c7;
    color: white;
}

.filter-select {
    width: 100%;
    padding: 0.75rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-size: 0.875rem;
    background: white;
    color: var(--dark-gray);
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Live auction indicator animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Status-specific styling improvements */
.status-scheduled {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.status-live {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    animation: pulse 2s infinite;
}

.status-done {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.status-cancelled {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

/* Responsive improvements for auction manage */
@media (max-width: 768px) {
    .auctions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .auction-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .auction-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .auction-actions {
        flex-direction: column;
    }

    .action-btn {
        flex: none;
        min-width: 100%;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .detail-value {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .auction-manage-container {
        padding: 1rem;
    }

    .auction-card {
        margin-bottom: 1rem;
    }

    .auction-title {
        font-size: 1.125rem;
    }

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

    .action-btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

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

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

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

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

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.border-radius { border-radius: var(--border-radius); }
.border-radius-small { border-radius: var(--border-radius-small); }

.shadow-light { box-shadow: var(--shadow-light); }
.shadow-medium { box-shadow: var(--shadow-medium); }
.shadow-heavy { box-shadow: var(--shadow-heavy); }/* ============================================
   SPECIFIC OVERRIDES
   ============================================ */
.auction-status {
    padding: 0.25rem 0.7rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.status-scheduled {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-live {
    background: #dcfce7;
    color: #059669;
}

.status-done {
    background: #f3f4f6;
    color: #6b7280;
}

.status-cancelled {
    background: #fee2e2;
    color: #dc2626;
}

/* Grid layouts for different content types */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.col3, .col6, .col12 {
    flex: 1;
    min-width: 0;
}

.col3 {
    flex: 0 0 calc(25% - 0.75rem);
}

.col6 {
    flex: 0 0 calc(50% - 0.5rem);
}

.col12 {
    flex: 0 0 100%;
}

@media (max-width: 768px) {
    .col3, .col6 {
        flex: 0 0 100%;
    }
}

/* Additional utility classes */
.text-muted {
    color: #6c757d !important;
}

/* Status tags */
.status-tag {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    background-color: #666;
}

.status-tag.success {
    background-color: #189370;
}

.status-tag.primary {
    background-color: #007cba;
}

.status-tag.warning {
    background-color: #ffb700;
}

/* Help blocks for statistics */
.help-block {
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.help-info {
    background-color: #e1f5fe;
    border-left: 4px solid #007cba;
}

.help-success {
    background-color: #e8f5e8;
    border-left: 4px solid #189370;
}

.help-warning {
    background-color: #fff8e1;
    border-left: 4px solid #ffb700;
}

.help-critical {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
}

.help-block h3 {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: bold;
}

.help-block p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Chart containers */
.chart-container {
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

/* Header styling */
.header-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-title-icon {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
}

/* Button groups */
.button-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.button-group-right {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Info tables */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.info-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.info-table td:first-child {
    width: 40%;
    background-color: #f8f9fa;
    font-weight: 500;
    color: #495057;
}

.info-table td:last-child {
    color: #212529;
}

/* Improve listing tables */
.listing td {
    padding: 12px 15px;
    vertical-align: middle;
}

/* Action buttons styling */
.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.action-buttons .button {
    margin: 0;
}

/* Form section styling */
.form-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #e9ecef;
    margin-bottom: 25px;
}

.admin-form {
    padding: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #495057;
    background: white;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* Button enhancements */
.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-download {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-download:hover {
    background: #138496;
    color: white;
    text-decoration: none;
}

/* Header actions */
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Empty state improvements */
.empty-state-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 60px 20px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.empty-state-content h3 {
    color: #6c757d;
    margin-bottom: 10px;
    font-weight: 500;
}

.empty-state-content p {
    color: #adb5bd;
    font-size: 0.9rem;
    margin: 0;
}

/* Current page styling for pagination */
.current-page {
    padding: 8px 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-weight: 600;
    color: #495057;
    margin: 0 5px;
}

.page-link {
    padding: 8px 15px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
    margin: 0 2px;
    transition: all 0.2s ease;
}

.page-link:hover {
    background: #007cba;
    color: white;
    border-color: #007cba;
    text-decoration: none;
}

/* Alert styles */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.alert li {
    margin: 5px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-actions {
        flex-direction: column;
        }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 15px;
    }

    .report-header {
        flex-direction: column;
        align-items: stretch;
    }
}

/* === CLEANED TEXT VISIBILITY & MODERN LOOK === */
.page-title,
.dashboard-title,
.report-title,
.manage-title,
.section-title,
.card-header h2,
.table-title,
.chart-title,
.stat-value,
.stat-number,
.stat-label,
.help-block h3,
.help-block p,
.empty-title,
.empty-text,
.export-card h3,
.export-card p,
.notification-title,
.notification-time,
.notification-content,
.detail-label,
.detail-value,
.item-header h4,
.detail-row .label,
.detail-row .value {
    color: #1e293b !important;
    text-shadow: none !important;
}

/* PDF Buttons Styling */
.pdf-buttons {
    margin-top: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.pdf-buttons h3 {
    margin: 0 0 15px 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.pdf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.pdf-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
    color: white;
    text-decoration: none;
}

.pdf-btn:active {
    transform: translateY(0);
}

/* Action buttons styling improvement */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.btn-secondary {
    background: #64748b;
    color: white;
}

.btn-secondary:hover {
    background: #475569;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

@media (max-width: 768px) {
    .pdf-grid {
        grid-template-columns: 1fr;
    }
}

/* PDF Actions in table */
.pdf-actions {
    display: flex;
    gap: 5px;
    margin-top: 8px;
    justify-content: center;
}

.pdf-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    transition: var(--transition);
}

.pdf-action:hover {
    background: var(--primary-hover);
    color: white;
    text-decoration: none;
    transform: scale(1.1);
}

.btn-view {
    background: var(--info-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-view:hover {
    background: #0284c7;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}