/* Global styles */
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

/* Prevent layout shift during loading */
body.loading {
  visibility: hidden;
}

/* User header specific styles */
.user-header-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 50 !important;
  background-color: #ffffff !important;
  width: 100% !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.header-spacer {
  height: 6rem !important;
  width: 100% !important;
  display: block !important;
  background-color: transparent !important;
}

/* Ensure proper spacing for user pages */
.user-page-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* CSS Reset for better compatibility */
* {
  box-sizing: border-box;
}

/* Prevent Bootstrap and Tailwind conflicts */
.container {
  max-width: 100% !important;
}

/* Ensure consistent spacing */
.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, 
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

/* Fix button conflicts */
.btn {
  border: 1px solid transparent !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  border-radius: 0.25rem !important;
  transition: all 0.15s ease-in-out !important;
}

/* Ensure form elements work properly */
.form-control {
  display: block !important;
  width: 100% !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  color: #495057 !important;
  background-color: #fff !important;
  background-clip: padding-box !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.form-control:focus {
  color: #495057 !important;
  background-color: #fff !important;
  border-color: #80bdff !important;
  outline: 0 !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}

/* Gradient background for login page */
.gradient-bg {
  background: linear-gradient(135deg, #134b8a 0%, #103e72 50%, #0a2347 100%);
}

/* Login page specific styles */
.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.w-full {
  width: 100%;
}

.lg\:w-1\/2 {
  width: 50%;
}

.lg\:w-2\/3 {
  width: 66.666667%;
}

.lg\:w-1\/3 {
  width: 33.333333%;
}

@media (max-width: 1023px) {
  .lg\:w-1\/2,
  .lg\:w-2\/3,
  .lg\:w-1\/3 {
    width: 100%;
  }
}

.hidden {
  display: none;
}

.lg\:flex {
  display: none;
}

@media (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }
}







/* Text styles */
.text-center {
  text-align: center;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

/* Colors */
.text-gray-900 {
  color: #111827;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-700 {
  color: #374151;
}

.text-white {
  color: #ffffff;
}

.text-teal-100 {
  color: #d7e3f4;
}

.text-red-600 {
  color: #dc2626;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-white {
  background-color: #ffffff;
}

.bg-green-500 {
  background-color: #10b981;
}

.bg-teal-500 {
  background-color: #2b6cb0;
}

.bg-teal-600 {
  background-color: #134b8a;
}

.bg-white\/20 {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Border and shadow */
.border {
  border-width: 1px;
}

.border-gray-300 {
  border-color: #d1d5db;
}

.border-red-200 {
  border-color: #fecaca;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Form elements */
.max-w-md {
  max-width: 28rem;
}

.max-w-lg {
  max-width: 32rem;
}

.w-full {
  width: 100%;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Focus states */
.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-teal-500:focus {
  --tw-ring-color: #2b6cb0;
}

.focus\:border-teal-500:focus {
  border-color: #2b6cb0;
}

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

/* Hover states */
.hover\:from-teal-600:hover {
  --tw-gradient-from: #134b8a;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(13, 148, 136, 0));
}

.hover\:to-teal-700:hover {
  --tw-gradient-to: #103e72;
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Gradient button */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-teal-500 {
  --tw-gradient-from: #2b6cb0;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(20, 184, 166, 0));
}

.to-teal-600 {
  --tw-gradient-to: #134b8a;
}

/* Layout utilities */
.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

/* Responsive utilities */
@media (max-width: 1023px) {
  .lg\:hidden {
    display: none;
  }
}

/* Container responsiveness */
.container {
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Form responsiveness */

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Card responsiveness */

.card-body {
  padding: 1rem;
}

@media (max-width: 576px) {
  .card-body {
    padding: 0.75rem;
  }
}

/* Button responsiveness */
.btn {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

@media (max-width: 576px) {
  .btn {
    display: block;
    width: 100%;
  }

  .btn-group {
    display: block;
  }

  .btn-group .btn {
    border-radius: 0.25rem !important;
    margin-right: 0;
  }
}

/* Table improvements */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.claims-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 800px; /* Ensures table doesn't get too cramped */
}

@media (max-width: 768px) {
  .table-wrapper {
    margin: 0 -15px; /* Negative margins to allow full-width scrolling */
    padding: 0 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .claims-table th,
  .claims-table td {
    white-space: nowrap;
    padding: 8px;
  }

  /* Stack table on mobile for certain tables */
  .stack-on-mobile {
    display: block;
  }

  .stack-on-mobile thead {
    display: none;
  }

  .stack-on-mobile tbody,
  .stack-on-mobile tr,
  .stack-on-mobile td {
    display: block;
    width: 100%;
  }

  .stack-on-mobile tr {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
  }

  .stack-on-mobile td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
    border-bottom: 1px solid #eee;
  }

  .stack-on-mobile td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 45%;
    padding-left: 15px;
    text-align: left;
    font-weight: bold;
  }
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.25em 0.6em;
  font-size: 0.875em;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

/* Pagination responsiveness */
.pagination {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

@media (max-width: 576px) {
  .pagination {
    font-size: 0.875rem;
  }
  
  .page-link {
    padding: 0.25rem 0.5rem;
  }
}

.claims-table th,
.claims-table td {
  border: 1px solid #e5e7eb;
  padding: 6px 4px;
  text-align: left;
  word-wrap: break-word;
  max-width: 150px;
  font-size: 0.75rem;
  line-height: 1.2;
}

.claims-table th {
  background-color: #f3f4f6;
  font-weight: 600;
  color: #374151;
  font-size: 0.8rem;
  padding: 8px 4px;
}

.claims-table tr:nth-child(even) {
  background-color: #f9fafb;
}

.claims-table tr:hover {
  background-color: #f3f4f6;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.status-warning {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.status-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.status-info {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* Responsive table */
@media (max-width: 768px) {
  .overflow-x-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .claims-table {
    min-width: 1200px;
  }
  
  .claims-table th,
  .claims-table td {
    padding: 4px 2px;
    font-size: 0.7rem;
  }
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.h-4 {
    height: 1rem;
}

.w-4 {
    width: 1rem;
}

.opacity-25 {
    opacity: 0.25;
}

.opacity-75 {
    opacity: 0.75;
}

.inline-block {
    display: inline-block;
}

/* Status indicators */
.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-active {
    background-color: #10b981;
}

.status-pending {
    background-color: #f59e0b;
}

.status-error {
    background-color: #ef4444;
}

/* Dashboard card hover effects */
.dashboard-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Navigation button improvements */
.nav-button {
    transition: all 0.2s ease-in-out;
}

.nav-button:hover {
    background-color: #134b8a !important;
    transform: translateY(-1px);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Chart container improvements */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .grid-cols-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

/* Floating Notifications */
.floating-notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    width: 100%;
    pointer-events: none;
}

.floating-notification {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 12px;
    overflow: hidden;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    border-left: 4px solid;
    max-width: 100%;
}

.floating-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.floating-notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

/* Notification Types */
.floating-notification[data-type="success"] {
    border-left-color: #10b981;
}

.floating-notification[data-type="error"] {
    border-left-color: #ef4444;
}

.floating-notification[data-type="warning"] {
    border-left-color: #f59e0b;
}

.floating-notification[data-type="info"] {
    border-left-color: #3b82f6;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.floating-notification[data-type="success"] .notification-icon {
    background-color: #dcfce7;
    color: #166534;
}

.floating-notification[data-type="error"] .notification-icon {
    background-color: #fee2e2;
    color: #991b1b;
}

.floating-notification[data-type="warning"] .notification-icon {
    background-color: #fef3c7;
    color: #92400e;
}

.floating-notification[data-type="info"] .notification-icon {
    background-color: #dbeafe;
    color: #1e40af;
}

.notification-message {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    margin-bottom: 2px;
}

.notification-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
    word-wrap: break-word;
}

.notification-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 16px;
    line-height: 1;
}

.notification-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.notification-progress {
    height: 3px;
    background-color: #f3f4f6;
    overflow: hidden;
}

.notification-progress-bar {
    height: 100%;
    background-color: #d1d5db;
    width: 100%;
    transform-origin: left;
    transition: transform 0.1s linear;
}

.floating-notification[data-type="success"] .notification-progress-bar {
    background-color: #10b981;
}

.floating-notification[data-type="error"] .notification-progress-bar {
    background-color: #ef4444;
}

.floating-notification[data-type="warning"] .notification-progress-bar {
    background-color: #f59e0b;
}

.floating-notification[data-type="info"] .notification-progress-bar {
    background-color: #3b82f6;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .floating-notifications-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .floating-notification {
        margin-bottom: 8px;
    }
    
    .notification-content {
        padding: 12px;
        gap: 10px;
    }
    
    .notification-title {
        font-size: 13px;
    }
    
    .notification-text {
        font-size: 12px;
    }
}

/* Hide original flash messages - they will be converted to floating notifications */
.flash-message {
    display: none !important;
}

/* Premium Dashboard Styles */
.premium-dashboard {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 0;
}

.dashboard-header {
    background: linear-gradient(135deg, #134b8a 0%, #103e72 50%, #0a2347 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.dashboard-header-content {
    position: relative;
    z-index: 1;
}

.dashboard-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

.premium-stat-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.premium-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--card-accent, #134b8a), var(--card-accent-light, #2b6cb0));
}

.premium-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--icon-bg-start, #eef4fb), var(--icon-bg-end, #d7e3f4));
    color: var(--icon-color, #134b8a);
}

.stat-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-card-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-card-action {
    background: linear-gradient(135deg, var(--btn-bg-start, #134b8a), var(--btn-bg-end, #2b6cb0));
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-card-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
    color: white;
}

/* Card variants */
.premium-stat-card.total {
    --card-accent: #134b8a;
    --card-accent-light: #2b6cb0;
    --icon-bg-start: #eef4fb;
    --icon-bg-end: #d7e3f4;
    --icon-color: #134b8a;
    --btn-bg-start: #134b8a;
    --btn-bg-end: #2b6cb0;
}

.premium-stat-card.pending {
    --card-accent: #f59e0b;
    --card-accent-light: #fbbf24;
    --icon-bg-start: #fffbeb;
    --icon-bg-end: #fef3c7;
    --icon-color: #f59e0b;
    --btn-bg-start: #f59e0b;
    --btn-bg-end: #fbbf24;
}

.premium-stat-card.active {
    --card-accent: #10b981;
    --card-accent-light: #34d399;
    --icon-bg-start: #ecfdf5;
    --icon-bg-end: #d1fae5;
    --icon-color: #10b981;
    --btn-bg-start: #10b981;
    --btn-bg-end: #34d399;
}

.premium-stat-card.disabled {
    --card-accent: #ef4444;
    --card-accent-light: #f87171;
    --icon-bg-start: #fef2f2;
    --icon-bg-end: #fecaca;
    --icon-color: #ef4444;
    --btn-bg-start: #ef4444;
    --btn-bg-end: #f87171;
}

.premium-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
    overflow: hidden;
}

.premium-section-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.premium-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.premium-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #134b8a, #2b6cb0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.usage-stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
}

.usage-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.usage-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #134b8a, #2b6cb0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.usage-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.usage-stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.usage-stat-description {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

.premium-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.premium-table .table {
    margin: 0;
    border: none;
}

.premium-table .table thead th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: none;
    padding: 1rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.premium-table .table tbody td {
    border: none;
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.premium-table .table tbody tr:hover {
    background: #f8fafc;
}

.usage-progress {
    background: #f1f5f9;
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.usage-progress-bar {
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.usage-progress-bar.eligibility {
    background: linear-gradient(90deg, #134b8a, #2b6cb0);
}

.usage-progress-bar.claim-status {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.usage-progress-bar.coding {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.usage-progress-bar.payment-posting {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.usage-progress-bar.rejections {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.usage-progress-bar.preauth {
    background: linear-gradient(90deg, #06b6d4, #22d3ee);
}

/* KPI Cards - Modern Dark Theme */
.kpi-card {
    background-color: #3F4652;
    border-radius: 12px;
    padding: 24px;
    color: white;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.kpi-title {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1;
    text-align: left;
}

.kpi-trend {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
}

.kpi-trend.positive {
    color: #10b981;
}

.kpi-trend.negative {
    color: #ef4444;
}

.trend-icon {
    font-size: 12px;
    font-weight: bold;
}

.trend-value {
    font-size: 14px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-title {
        font-size: 2rem;
    }
    
    .premium-stat-card {
        margin-bottom: 1rem;
    }
    
    .stat-card-value {
        font-size: 2rem;
    }
    
    .usage-stat-value {
        font-size: 1.5rem;
    }
    
    .kpi-card {
        padding: 20px;
        margin-bottom: 1rem;
    }
    
    .kpi-value {
        font-size: 2rem;
    }
    
    .kpi-title {
        font-size: 13px;
    }
    
    .trend-value {
        font-size: 13px;
    }
}

/* Usage Simple Cards - Matching Top KPI Style */
.usage-simple-card {
    background-color: #3F4652;
    border-radius: 12px;
    padding: 20px;
    color: white;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    text-align: left;
}

.usage-simple-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.usage-simple-title {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.usage-simple-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1;
}

.usage-simple-percent {
    font-size: 14px;
    font-weight: 500;
    color: #2b6cb0;
}

/* Responsive adjustments for simple usage cards */
@media (max-width: 768px) {
    .usage-simple-card {
        padding: 16px;
        margin-bottom: 1rem;
    }
    
    .usage-simple-value {
        font-size: 1.25rem;
    }
    
    .usage-simple-title {
        font-size: 13px;
    }
    
    .usage-simple-percent {
        font-size: 13px;
    }
}

/* Chart Cards - Matching Example Design */
.chart-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    height: 100%;
}

.chart-header {
    background-color: #3F4652;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.chart-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-align: left;
}

.chart-body {
    padding: 1.5rem;
    background: white;
    height: 300px;
    position: relative;
}

.chart-body canvas {
    max-height: 100%;
    max-width: 100%;
}

/* Responsive adjustments for chart cards */
@media (max-width: 768px) {
    .chart-body {
        height: 250px;
        padding: 1rem;
    }
    
    .chart-header {
        padding: 0.75rem 1rem;
    }
    
    .chart-title {
        font-size: 0.9rem;
    }
}
