:root {
    --primary: #10B981; /* Emerald */
    --primary-glow: rgba(16, 185, 129, 0.25);
    --primary-hover: #059669;
    --secondary: #06B6D4; /* Cyan */
    --secondary-glow: rgba(6, 182, 212, 0.25);
    
    --gold: #F59E0B; /* Amber */
    --gold-glow: rgba(245, 158, 11, 0.15);
    
    --blue: #3B82F6; /* Blue */
    --blue-glow: rgba(59, 130, 246, 0.15);
    
    --red: #EF4444; /* Rose/Red */
    --red-glow: rgba(239, 68, 68, 0.15);
    
    --dark-bg: #0B0F19;
    --dark-card: rgba(17, 24, 39, 0.75);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #F3F4F6;
    --text-dim: #9CA3AF;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--dark-bg);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Premium Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
    border: 2px solid transparent;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Background Orbs */
.bg-orbs-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -2;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    mix-blend-mode: screen;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    animation: floatOrb1 25s infinite alternate ease-in-out;
}

.orb-2 {
    bottom: -15%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #8B5CF6, transparent 70%);
    animation: floatOrb2 30s infinite alternate ease-in-out;
}

.orb-3 {
    top: 35%;
    left: 25%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    animation: floatOrb3 28s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 80px) scale(1.1); }
}
@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-120px, -70px) scale(0.9); }
}
@keyframes floatOrb3 {
    0% { transform: translate(0, 0) scale(0.9); }
    100% { transform: translate(70px, -110px) scale(1.2); }
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--dark-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
}

.glass-card:hover {
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 20px 40px -20px var(--primary-glow);
    transform: translateY(-4px);
}

/* Login Screen */
.login-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.92) 0%, rgba(8, 12, 21, 0.98) 100%);
    z-index: 1000;
}

.login-card {
    width: 100%;
    max-width: 440px;
    padding: 50px 40px;
    border-radius: 36px;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.login-logo img {
    height: 75px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 15px var(--primary-glow));
    animation: pulseLogo 3s infinite alternate ease-in-out;
}

@keyframes pulseLogo {
    0% { transform: scale(1); filter: drop-shadow(0 0 8px var(--primary-glow)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 20px var(--primary-glow)); }
}

.login-logo h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #FFF 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 1.1rem;
    transition: var(--transition);
}

.input-group input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.input-group input:focus {
    border-color: var(--secondary);
    background: rgba(6, 182, 212, 0.05);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.input-group input:focus + i {
    color: var(--secondary);
}

#signInBtn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    border: none;
    border-radius: 18px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px -10px var(--primary-glow);
}

#signInBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px var(--primary-glow);
    background: linear-gradient(135deg, #10B981 0%, #047857 100%);
}

.error-msg {
    color: var(--red);
    font-size: 0.85rem;
    margin-top: 15px;
    display: block;
}

/* App Layout */
.admin-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar styling */
.sidebar {
    width: 290px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    border-right: 1px solid var(--glass-border);
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(20px);
}

.sidebar .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 10px;
    margin-bottom: 50px;
}

.sidebar .logo img {
    height: 38px;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.sidebar .logo span {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #FFF 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}

nav::-webkit-scrollbar {
    width: 4px;
}

nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

nav a {
    color: var(--text-dim);
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

nav a i {
    font-size: 1.15rem;
}

nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.02);
}

nav a.active {
    background: rgba(16, 185, 129, 0.12);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.05);
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.admin-details {
    display: flex;
    flex-direction: column;
}

.admin-details span {
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
}

.admin-details small {
    font-size: 0.75rem;
    color: var(--text-dim);
}

#logoutBtn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
}

#logoutBtn:hover {
    color: var(--red);
    transform: scale(1.1);
}

/* Content Area */
.content {
    flex: 1;
    margin-left: 290px;
    padding: 50px 60px;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

#currentDate {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 5px;
}

.header-actions {
    display: flex;
    gap: 20px;
}

.search-bar {
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 320px;
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 0.9rem;
    width: 100%;
}

.search-bar input::placeholder {
    color: var(--text-dim);
}

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

.stat-card {
    display: flex;
    align-items: center;
    gap: 25px;
}

.stat-icon {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.3);
}

.stat-icon.green {
    background: rgba(16, 185, 129, 0.08);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.stat-icon.blue {
    background: rgba(59, 130, 246, 0.08);
    color: var(--blue);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.stat-icon.gold {
    background: rgba(245, 158, 11, 0.08);
    color: var(--gold);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.stat-icon.red {
    background: rgba(239, 68, 68, 0.08);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.stat-info p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-info h3 {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Tables styling */
.table-container h2 {
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 700;
}

.custom-table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 18px 15px;
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--glass-border);
}

td {
    padding: 22px 15px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

tbody tr {
    transition: var(--transition);
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.015);
}

/* Status Tags & Badges */
.status-tag {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-tag.completed {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.status-tag.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.status-tag.failed, .status-tag.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.badge {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: inline-block;
}

.badge.red {
    background: var(--red);
    color: white;
}

.badge.blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue);
}

.badge.green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
}

.badge.gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(12px);
    overflow-y: auto;
    padding: 40px 0;
}

.modal-content {
    width: 90%;
    max-width: 850px;
    margin: 30px auto;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    animation: modalEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.close-modal {
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--text-dim);
    line-height: 1;
    transition: var(--transition);
}

.close-modal:hover {
    color: white;
    transform: rotate(90deg);
}

.modal-body img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 35px;
}

/* Inputs & Forms inside modals */
textarea {
    width: 100%;
    height: 110px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    color: white;
    padding: 15px;
    resize: none;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

textarea:focus {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
}

/* Buttons inside tables/modals */
.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.btn-reject {
    padding: 14px 28px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 16px;
    color: var(--red);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-reject:hover {
    background: var(--red);
    color: white;
    box-shadow: 0 8px 20px -5px rgba(239, 68, 68, 0.3);
}

.btn-approve {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px -5px var(--primary-glow);
}

.btn-approve:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -5px var(--primary-glow);
}

/* Filter Chips */
.filter-chip {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    padding: 10px 22px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
    margin-right: 12px;
}

.filter-chip:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 20px -5px var(--primary-glow);
}

.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }

/* Mobile Toggle Button */
.mobile-toggle-btn {
    display: none;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 14px;
    transition: var(--transition);
    flex-shrink: 0;
}
.mobile-toggle-btn:active, .mobile-toggle-btn:hover {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.12);
}

/* Sidebar Overlay (mobile) */
.sidebar-overlay {
    position: fixed; inset: 0;
    background: rgba(11, 15, 25, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999; opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.active { opacity: 1; pointer-events: auto; }

/* ========== TABLET (1024px) ========== */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
        padding: 40px 10px;
    }
    .sidebar .logo span, .admin-details, .sidebar-footer {
        display: none;
    }
    .sidebar .logo {
        justify-content: center;
        margin-bottom: 30px;
    }
    nav a span { display: none; }
    nav a { justify-content: center; padding: 16px; }
    .content { margin-left: 80px; padding: 30px; }
    header h1 { font-size: 1.8rem; }
    .search-bar { min-width: 200px; }
}

/* ========== MOBILE (768px) ========== */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -300px;
        width: 270px;
        padding: 30px 18px;
        z-index: 1000;
        transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: none;
    }
    .sidebar.active {
        left: 0;
        box-shadow: 10px 0 40px rgba(0,0,0,0.6);
    }
    .sidebar .logo span, .admin-details, .sidebar-footer { display: flex; }
    .sidebar-footer { display: flex; }
    nav a span { display: inline; }
    nav a { justify-content: flex-start; padding: 14px 18px; font-size: 0.9rem; }
    .content { margin-left: 0; padding: 16px 14px; }
    .mobile-toggle-btn { display: flex; align-items: center; justify-content: center; }
    header { flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
    header h1 { font-size: 1.4rem; flex: 1; min-width: 0; }
    #currentDate { font-size: 0.8rem; }
    .header-actions { width: 100%; }
    .search-bar { min-width: 0; width: 100%; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 25px; }
    .glass-card { padding: 18px; border-radius: 20px; }
    .stat-icon { width: 48px; height: 48px; font-size: 1.2rem; border-radius: 16px; }
    .stat-info h3 { font-size: 1.5rem; }
    .stat-info p { font-size: 0.72rem; }
    .custom-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table { min-width: 550px; }
    th { padding: 12px 10px; font-size: 0.72rem; }
    td { padding: 14px 10px; font-size: 0.85rem; }
    .login-overlay { padding: 12px; align-items: flex-end; }
    .login-card {
        max-width: none; width: 100%;
        padding: 35px 24px;
        border-radius: 30px 30px 0 0;
    }
    .login-logo img { height: 60px; }
    .login-logo h2 { font-size: 1.5rem; }
    .input-group input { padding: 15px 18px 15px 48px; font-size: 0.9rem; }
    #signInBtn { padding: 15px; }
    .modal { padding: 10px; }
    .modal-content { width: 100%; max-width: none; margin: 10px auto; padding: 22px; border-radius: 20px; }
    .modal-header h2 { font-size: 1.3rem; }
    .modal-body .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .modal-footer { flex-direction: column; gap: 10px; }
    .btn-reject, .btn-approve { width: 100%; text-align: center; padding: 12px; }
    .filter-chip { margin-right: 8px; padding: 8px 16px; font-size: 0.8rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .confirm-drawer { width: 96%; }
    .confirm-drawer-content { flex-direction: column; align-items: flex-start; }
    .confirm-actions { width: 100%; justify-content: flex-end; }
}

/* ========== SMALL MOBILE (480px) ========== */
@media (max-width: 480px) {
    .content { padding: 12px 10px; }
    .stats-grid { gap: 10px; }
    .glass-card { padding: 14px; border-radius: 16px; }
    .stat-icon { width: 40px; height: 40px; font-size: 1rem; }
    .stat-info h3 { font-size: 1.3rem; }
    header h1 { font-size: 1.2rem; }
    table { min-width: 460px; }
    th { padding: 10px 8px; }
    td { padding: 12px 8px; font-size: 0.8rem; }
}

/* ========== VERY SMALL (360px) ========== */
@media (max-width: 360px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-info h3 { font-size: 1.5rem; }
}

/* Slide-in Confirmation Drawer */
.confirm-drawer {
    position: fixed;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    padding: 22px 25px;
    border-radius: 24px;
    z-index: 3000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}
.confirm-drawer.show { top: 30px; opacity: 1; }

.confirm-drawer-content { display: flex; align-items: center; gap: 20px; }

.confirm-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: rgba(239, 68, 68, 0.12); color: var(--red);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
}
.confirm-icon.success-icon { background: rgba(16, 185, 129, 0.12); color: var(--primary); }

.confirm-text { flex: 1; }
.confirm-text h4 { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 3px; }
.confirm-text p { font-size: 0.88rem; color: var(--text-dim); }
.confirm-actions { display: flex; gap: 12px; }

.confirm-btn-cancel {
    padding: 10px 18px; background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border); border-radius: 12px;
    color: var(--text-dim); font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
}
.confirm-btn-cancel:hover { background: rgba(255, 255, 255, 0.08); color: white; }

.confirm-btn-yes {
    padding: 10px 18px; background: var(--red);
    border: none; border-radius: 12px; color: white;
    font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
}
.confirm-btn-yes.primary-btn { background: var(--primary); box-shadow: 0 4px 10px var(--primary-glow); }
.confirm-btn-yes:hover { transform: translateY(-1px); }

/* Dashboard details modal & metrics styling */
.modal-body .stat-card { padding: 15px; border-radius: 20px; }
.modal-body .stat-icon { width: 48px; height: 48px; border-radius: 16px; font-size: 1.3rem; }
.modal-body .stat-info h4 { font-size: 1.25rem; font-weight: 700; margin-top: 4px; }
.modal-body th { padding: 12px 10px; font-size: 0.75rem; }
.modal-body td { padding: 14px 10px; font-size: 0.85rem; }

.cursor-pointer { cursor: pointer; }
.tr-link:hover td { color: var(--primary) !important; }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

#marketPublicBar, #marketIndependentBar, #channelAlloBar, #channelBusBar, #channelYobanteBar, #channelOnDemandBar, #channelScheduledBar {
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}



