body {
    background: #f8fafc;
    color: #1D1C3B;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.dashboard-container {
    background: #f8fafc;
    min-height: 100vh;
    padding: 20px 0;
}

/* Dashboard Header */
.dashboard-header {
    background: linear-gradient(135deg, #1D1C3B 0%, #2d2b5a 100%);
    color: white;
    padding: 24px 0;
    margin: -20px 0 32px 0;
    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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.dashboard-title {
    position: relative;
    z-index: 3;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: -0.025em;
}

.dashboard-subtitle {
    position: relative;
    z-index: 3;
    opacity: 0.8;
    font-size: 1.1rem;
    margin: 0;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: none;
    box-shadow: 0 4px 24px rgba(29, 28, 59, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EB257A 0%, #FEF538 100%);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(29, 28, 59, 0.12);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.stat-icon.primary {
    background: #e3277b;
    color: white;
}

.stat-icon.success {
    background: #2ea3fa;
    color: white;
}

.stat-icon.warning {
    background: #fbf337;
    color: #1D1C3B;
}

.stat-value {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    color: #1D1C3B;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Content Cards */
.card {
    background: white;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(29, 28, 59, 0.08);
    overflow: hidden;
}

.card-header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px;
    font-weight: 600;
    font-size: 1.125rem;
    color: #1D1C3B;
}

.card-body {
    padding: 24px;
}

/* Table Styles */
.table-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(29, 28, 59, 0.08);
}

.table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
    width: 100%;
}

.table thead th {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    border-top: none;
}

.table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

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

.table-hover tbody tr:hover {
    background-color: #f8fafc;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Table Sorting */
.sort-indicator {
    font-size: 0.8rem;
    margin-left: 5px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

th[onclick]:hover .sort-indicator {
    opacity: 1;
}

th[onclick]:hover {
    background-color: rgba(235, 37, 122, 0.05);
    transition: background-color 0.2s ease;
}

/* Buttons */
.btn-main {
    background: linear-gradient(135deg, #EB257A, #ff4081);
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(235, 37, 122, 0.3);
}

.btn-main:hover {
    background: linear-gradient(135deg, #d91e6b, #e91e63);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(235, 37, 122, 0.4);
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: none;
    font-weight: 500;
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: #334155;
}

/* Badges and Status */
.badge {
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}

.badge-warning {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
}

/* Charts and Canvas */
canvas {
    max-width: 100%;
    height: auto !important;
}

.chart-container {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(29, 28, 59, 0.08);
}

/* Special Elements */
.cancelled-class {
    color: #ef4444 !important;
    font-weight: 500;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(248, 250, 252, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(4px);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #EB257A;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Status Info Icon */
.status-info-icon {
    display: inline-block;
    margin-left: 4px;
    font-size: 12px;
    color: #6c757d;
    cursor: help;
    transition: color 0.2s ease;
}

.status-info-icon:hover {
    color: #EB257A;
}

.login-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}
.login-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(235, 37, 122, 0.10);
  padding: 40px 48px;
  min-width: 340px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.login-box h2 {
  margin-bottom: 12px;
  color: #1D1C3B;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -1px;
}
.login-box input[type="password"] {
  padding: 14px;
  margin-bottom: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  background: #fafbfc;
  transition: border 0.2s;
}
.login-box input[type="password"]:focus {
  border-color: #EB257A;
  outline: none;
}
.login-box button {
  width: 100%;
  padding: 14px;
  background: #EB257A;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.login-box button:hover {
  background: #c81e63;
}
.login-box .desc {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.logo-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px auto;
  box-shadow: 0 4px 20px rgba(235, 37, 122, 0.15);
}
.logo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-header {
        padding: 16px 0;
        margin: -20px 0 24px 0;
    }
    
    .dashboard-title {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .card-header,
    .card-body {
        padding: 20px;
    }
    
    .table thead th,
    .table tbody td {
        padding: 12px 16px;
    }
}

/* Utility Classes */
.text-muted {
    color: #64748b !important;
}

.text-primary {
    color: #EB257A !important;
}