/* Bizworld Reports Enhanced - Styles */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #16a34a;
    --warning-color: #f59e0b;
    --danger-color: #dc2626;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --transition: all 0.2s ease-in-out;
}

/* Main Container */
.bizworld-reports-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-light);
    border-radius: var(--radius);
}

/* Button Group */
.bizworld-reports-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

/* Main Buttons */
.bizworld-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-white);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.bizworld-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.bizworld-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.bizworld-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Specific button colors */
.bizworld-btn-schools.active,
.bizworld-btn-schools:hover {
    background: #059669;
    border-color: #059669;
}

.bizworld-btn-programs.active,
.bizworld-btn-programs:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

.bizworld-btn-cohorts.active,
.bizworld-btn-cohorts:hover {
    background: #dc2626;
    border-color: #dc2626;
}

/* Dropdown Selects */
.bizworld-dropdown-select,
.bizworld-dropdown-sub-select,
.bizworld-dropdown-courses-select {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    margin: 8px 0;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.bizworld-dropdown-select:focus,
.bizworld-dropdown-sub-select:focus,
.bizworld-dropdown-courses-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

/* Tab Toggle */
.bizworld-tab-toggle {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.bizworld-toggle-btn {
    padding: 12px 24px;
    background: var(--bg-light) !important;
    color: var(--text-secondary) !important;
    border: 2px solid var(--border-color) !important;
    border-radius: var(--radius) !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
    position: relative !important;
}

.bizworld-toggle-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.bizworld-toggle-btn h3 {
    margin: 0 !important;
    font-size: 14px;
    font-weight: 600;
}

/* Progress Tabs */
.bizworld-progress-tab,
.bizworld-quiz-tab {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.bizworld-progress-content,
.bizworld-quiz-content {
    padding: 24px;
    min-height: 200px;
}

/* Progress Tables */
.bizworld-progress-table,
.bizworld-quiz-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 0 !important;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.bizworld-progress-table th,
.bizworld-progress-table td,
.bizworld-quiz-table th,
.bizworld-quiz-table td {
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 16px 12px !important;
    text-align: left !important;
    vertical-align: middle !important;
}

.bizworld-progress-table th,
.bizworld-quiz-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.bizworld-progress-table tbody tr:hover,
.bizworld-quiz-table tbody tr:hover {
    background-color: #f1f5f9 !important;
}

.bizworld-progress-table tr:nth-child(even),
.bizworld-quiz-table tr:nth-child(even) {
    background-color: #fafbfc !important;
}

/* Progress Circles */
.bizworld-progress-circle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    cursor: help !important;
    transition: var(--transition);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.bizworld-progress-circle:hover {
    transform: scale(1.1);
    z-index: 5;
}

/* Completed state */
.bizworld-progress-circle[style*="background:#4caf50"],
.bizworld-progress-circle[style*="background: #4caf50"] {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    color: white !important;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

/* Partial completion with conic gradient */
.bizworld-progress-circle[style*="conic-gradient"] {
    position: relative;
    border: 2px solid #e2e8f0;
    font-size: 10px !important;
    font-weight: 800 !important;
}

/* Empty state */
.bizworld-progress-circle[style*="background:#e0e0e0"],
.bizworld-progress-circle[style*="background: #e0e0e0"] {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0) !important;
    color: var(--text-secondary) !important;
    border: 2px solid #cbd5e1;
}

/* Completed row highlighting */
.bizworld-progress-table tr[style*="background:#78ff83"],
.bizworld-quiz-table tr[style*="background:#78ff83"] {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0) !important;
    border-left: 4px solid var(--success-color) !important;
}

/* Loading states */
.bizworld-progress-content em,
.bizworld-quiz-content em {
    display: block;
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 40px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 2px dashed var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .bizworld-reports-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .bizworld-btn {
        justify-content: center;
        width: 100%;
    }

    .bizworld-tab-toggle {
        flex-direction: column;
        gap: 8px;
    }

    .bizworld-toggle-btn {
        width: 100%;
        justify-content: center;
    }

    .bizworld-dropdown-select,
    .bizworld-dropdown-sub-select,
    .bizworld-dropdown-courses-select {
        max-width: 100%;
    }

    .bizworld-progress-table,
    .bizworld-quiz-table {
        font-size: 12px;
    }

    .bizworld-progress-table th,
    .bizworld-progress-table td,
    .bizworld-quiz-table th,
    .bizworld-quiz-table td {
        padding: 8px 6px !important;
    }

    .bizworld-progress-circle {
        width: 24px !important;
        height: 24px !important;
        font-size: 9px !important;
    }
}

/* Tooltip enhancement */
/* .bizworld-progress-circle[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translate(-50%, 150%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 1000 !important;
    pointer-events: none;
} */

.bizworld-progress-circle[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

/* Animation for loading states */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.bizworld-progress-content em:contains("Loading"),
.bizworld-quiz-content em:contains("Loading") {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Custom scrollbar for tables */
.bizworld-progress-content,
.bizworld-quiz-content {
    overflow-x: auto;
}

.bizworld-progress-content::-webkit-scrollbar,
.bizworld-quiz-content::-webkit-scrollbar {
    height: 8px;
}

.bizworld-progress-content::-webkit-scrollbar-track,
.bizworld-quiz-content::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.bizworld-progress-content::-webkit-scrollbar-thumb,
.bizworld-quiz-content::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

.bizworld-progress-content::-webkit-scrollbar-thumb:hover,
.bizworld-quiz-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}




.glass-title {
    color: white !important;
}