:root {
    --primary-color: #4F46E5;
    --secondary-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --border-color: #E5E7EB;
    --text-color: #374151;
    --sidebar-width: 260px;
    --topbar-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #7C3AED 100%);
}

.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 10px;
}

.auth-header p {
    color: #6B7280;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #4338CA;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #6B7280;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

#dashboard-page {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--dark-color);
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    font-size: 20px;
    color: white;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #D1D5DB;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-item.active {
    background: var(--primary-color);
    color: white;
    border-left: 4px solid white;
}

.nav-item i {
    width: 20px;
}

.sidebar-footer {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
}

.topbar {
    height: var(--topbar-height);
    background: white;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-menu {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-color);
}

#page-title {
    font-size: 24px;
    color: var(--dark-color);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: var(--primary-color);
    color: white;
}

.content-area {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.primary {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
}

.stat-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
}

.stat-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.stat-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.stat-info h3 {
    font-size: 32px;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.stat-info p {
    color: #6B7280;
    font-size: 14px;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-size: 18px;
    color: var(--dark-color);
}

.card-body {
    padding: 24px;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background: var(--light-color);
}

.table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--dark-color);
    border-bottom: 2px solid var(--border-color);
}

.table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.table tbody tr:hover {
    background: var(--light-color);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-icon {
    padding: 8px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

/* Navigation Sections */
.nav-section {
    margin: 15px 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-section-title {
    padding: 8px 24px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9CA3AF;
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-header h2 {
    font-size: 28px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Modal Styles */
.btn-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-color);
    padding: 4px 8px;
}

.btn-close:hover {
    color: var(--danger-color);
}

.modal-lg {
    max-width: 800px;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item label {
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
}

.detail-item span {
    font-size: 15px;
    color: var(--dark-color);
}

.detail-item code {
    background: var(--light-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 20px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.feature-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--light-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.feature-toggle:hover {
    background: #E5E7EB;
}

.feature-toggle input {
    width: 18px;
    height: 18px;
}

.feature-toggle span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.plan-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--border-color);
    position: relative;
    transition: all 0.3s;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.plan-card.popular {
    border-color: var(--primary-color);
}

.plan-card.inactive {
    opacity: 0.7;
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.plan-badge.inactive-badge {
    background: var(--danger-color);
    left: 20px;
    right: auto;
}

.plan-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.plan-header h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.plan-code {
    color: #6B7280;
    font-size: 12px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-top: 12px;
}

.plan-price .currency {
    font-size: 18px;
    color: var(--text-color);
}

.plan-price .amount {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-price .period {
    font-size: 14px;
    color: #6B7280;
}

.plan-price-yearly {
    font-size: 13px;
    color: #6B7280;
    margin-top: 4px;
}

.plan-limits {
    margin: 16px 0;
}

.limit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-color);
}

.limit-item i {
    width: 20px;
    color: var(--primary-color);
}

.plan-features {
    margin: 16px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
}

.feature-item.enabled {
    color: var(--secondary-color);
}

.feature-item.disabled {
    color: #D1D5DB;
}

.feature-item i:last-child {
    margin-left: auto;
}

.plan-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* Badges */
.badge-success { background: var(--secondary-color); color: white; }
.badge-warning { background: var(--warning-color); color: white; }
.badge-danger { background: var(--danger-color); color: white; }
.badge-info { background: #3B82F6; color: white; }
.badge-secondary { background: #6B7280; color: white; }

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stats-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 6px;
}

/* User/Company Cell */
.user-cell, .company-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-cell i, .company-cell i {
    color: var(--primary-color);
    font-size: 18px;
}

.company-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.company-cell small {
    color: #6B7280;
    font-size: 12px;
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

/* Billing Styles */
.gst-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.gst-item {
    padding: 16px;
    background: var(--light-color);
    border-radius: 8px;
}

.gst-item label {
    display: block;
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 4px;
}

.gst-item span {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
}

.gst-item.total {
    background: var(--primary-color);
}

.gst-item.total label,
.gst-item.total span {
    color: white;
}

/* Progress Bars */
.progress-bar, .usage-bar {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.bar-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.3s;
}

.bar-fill.success { background: var(--secondary-color); }
.bar-fill.warning { background: var(--warning-color); }
.bar-fill.danger { background: var(--danger-color); }

/* System Usage */
.system-usage {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.usage-item {
    padding: 12px;
    background: var(--light-color);
    border-radius: 8px;
}

.usage-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

/* Industry List */
.industry-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.industry-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.industry-rank {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.industry-info {
    flex: 1;
}

.industry-info strong {
    display: block;
    font-size: 14px;
}

.industry-info small {
    color: #6B7280;
    font-size: 12px;
}

.industry-bar {
    width: 100px;
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
}

/* Call Stats */
.call-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.call-stat {
    text-align: center;
}

.call-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
}

.call-stat-label {
    font-size: 14px;
    color: #6B7280;
    margin-top: 4px;
}

.call-stat-bar {
    margin-top: 8px;
}

/* WhatsApp Stats */
.whatsapp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.wa-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--light-color);
    border-radius: 8px;
}

.wa-stat i {
    font-size: 24px;
    color: #25D366;
}

.wa-stat strong {
    display: block;
    font-size: 20px;
}

.wa-stat small {
    color: #6B7280;
    font-size: 12px;
}

.wa-templates h4 {
    margin-bottom: 12px;
}

.template-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Heatmap */
.heatmap-container {
    overflow-x: auto;
}

.heatmap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 600px;
}

.heatmap-row {
    display: flex;
    gap: 2px;
}

.heatmap-label {
    width: 40px;
    font-size: 11px;
    color: #6B7280;
}

.heatmap-hour {
    width: 20px;
    font-size: 10px;
    color: #6B7280;
    text-align: center;
}

.heatmap-cell {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    background: #E5E7EB;
}

.heatmap-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 12px;
    color: #6B7280;
}

.legend-gradient {
    width: 100px;
    height: 10px;
    background: linear-gradient(to right, #E5E7EB, var(--primary-color));
    border-radius: 5px;
}

/* Chart Placeholder */
.chart-container {
    min-height: 300px;
}

.chart-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #6B7280;
}

.chart-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #D1D5DB;
}

/* Pending List */
.pending-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pending-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--light-color);
    border-radius: 8px;
}

.pending-info strong {
    display: block;
}

.pending-info small {
    color: #6B7280;
}

.pending-amount {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Plan Revenue */
.plan-revenue-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plan-revenue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-info strong {
    display: block;
}

.plan-info small {
    color: #6B7280;
    font-size: 12px;
}

.plan-amount {
    text-align: right;
}

/* Rank Badge */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    background: #E5E7EB;
}

.rank-badge.rank-1 { background: #FFD700; color: #000; }
.rank-badge.rank-2 { background: #C0C0C0; color: #000; }
.rank-badge.rank-3 { background: #CD7F32; color: #fff; }

/* Invoice Preview */
.invoice-preview {
    background: var(--light-color);
    padding: 24px;
    border-radius: 8px;
}

.invoice-header {
    text-align: center;
    margin-bottom: 24px;
}

.invoice-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
}

.invoice-table th,
.invoice-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.invoice-table .total-row {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 1200px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .call-stats-grid,
    .whatsapp-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .stats-grid,
    .stats-grid-5 {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Dashboard Enhanced Styles */
.stats-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card small {
    font-size: 12px;
    color: #6B7280;
}

.stat-card small.text-success {
    color: #10B981;
}

.stat-card small.text-danger {
    color: #EF4444;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

/* Staff Status Grid */
.staff-status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.staff-status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #F9FAFB;
    border-radius: 8px;
}

.staff-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E5E7EB;
    color: #6B7280;
}

.staff-avatar.online {
    background: #D1FAE5;
    color: #059669;
}

.staff-avatar.offline {
    background: #FEE2E2;
    color: #DC2626;
}

.staff-status-item .staff-info {
    display: flex;
    flex-direction: column;
}

.staff-status-item .staff-info strong {
    font-size: 13px;
}

.staff-status-item .staff-info small {
    font-size: 11px;
    color: #6B7280;
}

/* Campaign List */
.campaigns-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.campaign-item {
    padding: 12px;
    background: #F9FAFB;
    border-radius: 8px;
}

.campaign-item .campaign-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.campaign-item .campaign-info strong {
    font-size: 14px;
}

.campaign-item .campaign-info small {
    font-size: 12px;
    color: #6B7280;
}

.campaign-progress {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
}

.campaign-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4F46E5, #7C3AED);
    border-radius: 3px;
    transition: width 0.3s;
}

/* Badge Colors */
.badge-info {
    background: #DBEAFE;
    color: #1D4ED8;
}

.badge-primary {
    background: #EEF2FF;
    color: #4F46E5;
}

.badge-success {
    background: #D1FAE5;
    color: #059669;
}

.badge-warning {
    background: #FEF3C7;
    color: #D97706;
}

.badge-danger {
    background: #FEE2E2;
    color: #DC2626;
}

.badge-secondary {
    background: #F3F4F6;
    color: #6B7280;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    color: #1F2937;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #D1D5DB;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #FAFAFA;
}

.upload-area:hover {
    border-color: #4F46E5;
    background: #EEF2FF;
}

.upload-area.dragover {
    border-color: #4F46E5;
    background: #EEF2FF;
}

.upload-area i {
    font-size: 48px;
    color: #9CA3AF;
    margin-bottom: 16px;
}

.upload-area h4 {
    margin-bottom: 8px;
    color: #374151;
}

.upload-area p {
    color: #6B7280;
    font-size: 14px;
}
