/* Eduplus Meeting - Custom Styles */

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #7c3aed;
    --bg-light: #f8f9fc;
    --sidebar-bg: #1e1b4b;
    --sidebar-text: #c7d2fe;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    background-color: var(--bg-light);
    color: #374151;
}

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

/* Sidebar */
.sidebar {
    width: 250px;
    min-height: 100vh;
    background: var(--sidebar-bg);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: transform 0.3s;
}
.sidebar .nav-link {
    color: var(--sidebar-text);
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    margin: 0.1rem 0.5rem;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.sidebar .nav-link i {
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
}
.sidebar-brand {
    padding: 1.25rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Main content */
.main-content {
    margin-left: 250px;
    padding: 1.5rem;
    min-height: 100vh;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 0.5rem;
}
.stat-card {
    border-left: 4px solid var(--primary);
}
.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}
.stat-card .stat-label {
    font-size: 0.8rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Table */
.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    border-bottom-width: 1px;
}

/* Landing page */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    padding: 6rem 0;
}
.hero-section h1 {
    font-size: 2.75rem;
    font-weight: 800;
}

/* Loader overlay */
.loader-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.loader-overlay.active {
    display: flex;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
}

/* Sidebar section labels */
.sidebar-section-label {
    color: rgba(255,255,255,0.35);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.25rem 0.25rem;
    list-style: none;
}

/* DataTables overrides */
.dataTables_wrapper .dataTables_filter input {
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}
.dataTables_wrapper .dataTables_length select {
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
}
.dataTables_wrapper .dataTables_info {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Settings cards */
.settings-provider-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.settings-provider-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.settings-provider-header {
    padding: 1rem 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.settings-provider-header .provider-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.settings-provider-body {
    padding: 1.25rem;
    background: #fff;
}
.settings-help-text {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}
