@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Academix Design System */
    --academix-bg: #f8fafc;
    --academix-sidebar: #ffffff;
    --academix-primary: #5a5ce2;
    --academix-primary-soft: #e0e7ff;
    --academix-teal: #0d9488;
    --academix-teal-soft: #f0fdfa;
    --academix-black: #1e293b;
    --academix-gray: #64748b;
    --academix-light: #f1f5f9;
    --academix-radius: 1.25rem;
    --academix-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --academix-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.02), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --academix-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Original Layout Fallbacks */
    --primary-color: var(--academix-primary);
    --secondary-color: var(--academix-teal);
    --light-color: var(--academix-bg);
    --white: #FFFFFF;

    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;

    /* Layout Transitions */
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* V3 Premium Design System */
    --v3-bg: #f8fafc;
    --v3-border: #f1f5f9;
    --v3-text: #0f172a;
    --v3-muted: #64748b;
    --v3-primary: #5a5ce2;
    --v3-primary-soft: #eef2ff;
}

/* Global Scrollbar Hiding - Invisible but functional */
html,
body,
.sidebar,
.main-content,
.content-wrapper,
* {
    -ms-overflow-style: none !important;
    /* IE and Edge */
    scrollbar-width: none !important;
    /* Firefox */
}

*::-webkit-scrollbar {
    display: none !important;
    /* Chrome, Safari, and Opera */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}



/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--shadow-glass);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.2);
}

.card-header {
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1.25rem 1.5rem;
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #333333;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
}

.btn-warning {
    background: var(--warning-color);
    color: var(--dark-color);
}

.btn-info {
    background: var(--info-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: #ffffff;
    color: var(--academix-black);
}

.form-control:focus {
    outline: none;
    border-color: var(--academix-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px var(--academix-primary-soft);
}

.form-control:disabled {
    background: var(--gray-100);
    cursor: not-allowed;
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Brighten Bootstrap bg-light */
.bg-light {
    background-color: #ffffff !important;
}

.form-text {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.form-error {
    color: var(--danger-color);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
}

.table thead {
    background: var(--gray-100);
    color: var(--gray-800);
}

.table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-200);
}

.table td {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
}

.table tbody tr {
    transition: background var(--transition-fast);
}

.table tbody tr:hover {
    background: var(--gray-100);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Badges */
.badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--primary-color);
    color: var(--white);
}

.badge-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.badge-success {
    background: var(--success-color);
    color: var(--white);
}

.badge-danger {
    background: var(--danger-color);
    color: var(--white);
}

.badge-warning {
    background: var(--warning-color);
    color: var(--dark-color);
}

.badge-info {
    background: var(--info-color);
    color: var(--white);
}

/* Alerts */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--warning-color);
    color: #856404;
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    border-color: var(--info-color);
    color: var(--info-color);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1060;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn var(--transition-base);
}

.modal-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-300);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: var(--font-size-2xl);
    cursor: pointer;
    color: var(--gray-600);
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--danger-color);
}

.modal-body {
    padding: var(--spacing-lg);
}

/* Minimal Spinner */
.content-loader-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.minimal-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: var(--gradient-primary);
    color: white;
}

.bg-gradient-success {
    background: var(--gradient-success);
    color: white;
}

.bg-gradient-info {
    background: var(--gradient-info);
    color: white;
}

.bg-gradient-warning {
    background: var(--gradient-warning);
    color: #212529;
}

.bg-gradient-danger {
    background: var(--gradient-danger);
    color: white;
}

.bg-gradient-dark {
    background: var(--gradient-dark);
    color: white;
}

/* Icon Styling Enhancements */
.icon-shape {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.card:hover .icon-shape {
    transform: scale(1.1) rotate(5deg);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Font Weight Helpers */
.font-weight-normal {
    font-weight: 400 !important;
}

.font-weight-medium {
    font-weight: 500 !important;
}

.font-weight-semibold {
    font-weight: 600 !important;
}

.font-weight-bold {
    font-weight: 700 !important;
}

/* Text Size Helpers */
.text-xs {
    font-size: var(--font-size-xs) !important;
}

.text-sm {
    font-size: var(--font-size-sm) !important;
}

.text-base {
    font-size: var(--font-size-base) !important;
}

.text-lg {
    font-size: var(--font-size-lg) !important;
}

.text-xl {
    font-size: var(--font-size-xl) !important;
}

/* Icon Circle */
.icon-circle {
    height: 3rem;
    width: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--gray-300);
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-sm);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-success {
    color: var(--success-color);
}

.text-danger {
    color: var(--danger-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-info {
    color: var(--info-color);
}

.text-muted {
    color: var(--gray-600);
}

.bg-primary {
    background: var(--primary-color);
}

.bg-secondary {
    background: var(--secondary-color);
}

.bg-light {
    background: var(--gray-100);
}

.bg-white {
    background: var(--white);
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mt-4 {
    margin-top: var(--spacing-xl);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.mb-4 {
    margin-bottom: var(--spacing-xl);
}

.p-1 {
    padding: var(--spacing-sm);
}

.p-2 {
    padding: var(--spacing-md);
}

.p-3 {
    padding: var(--spacing-lg);
}



.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.rounded {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-full {
    border-radius: var(--radius-full);
}

/* Responsive */
@media (max-width: 768px) {

    .table {

        font-size: var(--font-size-sm);
    }

    .table th,
    .table td {
        padding: var(--spacing-sm);
    }
}

/* Edutera Main Layout */
.edutera-wrapper {
    background-color: var(--edutera-bg);
    min-height: 100vh;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
    color: var(--edutera-text);
}

.edutera-card {
    background: white;
    border-radius: var(--edutera-radius);
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--edutera-shadow);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

/* Header & Nav */
.edutera-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.edutera-nav {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.35rem;
    border-radius: 100px;
}

.edutera-nav-item {
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    border: none;
    color: #64748b;
}

.edutera-nav-item.active {
    background: white;
    color: black;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Metric Pills */
.metric-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.metric-pill {
    background: white;
    border-radius: 100px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--edutera-shadow);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--edutera-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.metric-trend {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    background: #e1e7ff;
    color: #4b6fff;
    margin-left: auto;
}

.metric-trend.down {
    background: #000;
    color: white;
}

/* Revenue Subcards */
.revenue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.revenue-subcard {
    padding: 2rem;
    border-radius: 2rem;
    position: relative;
    min-height: 160px;
    transition: transform 0.3s;
}

.revenue-subcard:hover {
    transform: translateY(-5px);
}

.revenue-subcard.blue {
    background: #1a73e8;
    color: white;
}

.revenue-subcard.black {
    background: #000;
    color: white;
}

.revenue-subcard.white {
    background: #fff;
    border: 1px solid #eee;
}

.subcard-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.revenue-subcard.white .subcard-arrow {
    background: #f2f6fa;
    border: none;
    color: #000;
}

/* Tables */
.edutera-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.edutera-table tr {
    background: white;
}

.edutera-table td {
    padding: 1.25rem 1rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #f1f5f9;
}

.edutera-table th {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-upcoming {
    background: #e2e8f0;
    color: #475569;
}

.status-paid {
    background: #2563eb;
    color: white;
}

/* Action Buttons */
.btn-round {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-round:hover {
    background: #f8fafc;
    transform: scale(1.05);
}

/* Academix Layout System */
.app-container {
    display: flex;
    min-height: 100vh;
    background: var(--academix-bg);
    font-family: var(--font-family);
}

.sidebar {
    width: 280px;
    background: var(--academix-sidebar);
    flex-shrink: 0;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    border-right: 1px solid var(--academix-light);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 2rem 1.5rem;
    box-shadow: var(--academix-shadow);
}

.main-content {
    flex: 1;
    margin-left: 280px;
    background: var(--academix-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-header {
    background: transparent;
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Sidebar Styling */
.sidebar-header {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.logo-ac {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1.25rem;
}

.logo-ac i {
    background: linear-gradient(135deg, #5a5ce2 0%, #4338ca 100%);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(90, 92, 226, 0.3);
}

.logo-ac span {
    display: block;
    margin-left: 14px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.25rem;
    color: var(--academix-gray);
    text-decoration: none;
    border-radius: var(--academix-radius);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    transition: var(--transition-base);
    gap: 15px;
}

.sidebar-nav li a:hover {
    background: #f8fafc;
    color: #111827;
}

.sidebar-nav li.active a {
    background: var(--academix-primary);
    color: #fff;
    font-weight: 700;
}

.sidebar-nav li.active a i {
    color: #fff !important;
}

.sidebar-label,
.nav-header {
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
    margin: 1.8rem 0 0.5rem 1.25rem;
}

.sidebar-nav li {
    position: relative;
}

/* Request Join Card */
.request-card {
    background: linear-gradient(135deg, #abbbb2 0%, #3e7b68 100%);
    border-radius: var(--academix-radius);
    padding: 1.5rem;
    margin-top: auto;
    color: white;
    position: relative;
    overflow: hidden;
}

.request-card p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.avatar-group {
    display: flex;
    margin-bottom: 1rem;
}

.avatar-group img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -8px;
}

.avatar-group img:first-child {
    margin-left: 0;
}

/* Header Components */
.search-pill {
    background: white;
    border-radius: 100px;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--academix-light);
    box-shadow: var(--academix-shadow-sm);
}

.search-pill input {
    border: none;
    outline: none;
    font-size: 0.9rem;
    width: 100%;
    color: var(--academix-black);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    background: var(--academix-light);
    padding: 4px;
    border-radius: 100px;
    display: flex;
}

.theme-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--academix-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.theme-btn.active {
    background: white;
    color: var(--academix-black);
    box-shadow: var(--academix-shadow-sm);
}

.profile-pill {
    background: white;
    border-radius: 100px;
    padding: 5px 15px 5px 5px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--academix-light);
    box-shadow: var(--academix-shadow-sm);
}

/* Dashboard Cards */
.ac-card {
    background: white;
    border-radius: var(--academix-radius);
    padding: 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--academix-shadow);
}

.ac-stat-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Custom Wave Chart Container */
.chart-container-ac {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Progress Bars */
.ac-progress-wrapper {
    margin-bottom: 1.5rem;
}

.ac-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ac-progress-bar {
    height: 10px;
    background: var(--academix-light);
    border-radius: 10px;
    overflow: hidden;
}

.ac-progress-fill {
    height: 100%;
    border-radius: 10px;
}

/* Success Table */
.ac-table {
    width: 100%;
    border-collapse: collapse;
}

.ac-table th {
    text-align: left;
    font-size: 0.75rem;
    color: var(--academix-gray);
    text-transform: uppercase;
    padding-bottom: 1.5rem;
}

.ac-table td {
    padding: 1rem 0;
    border-bottom: 1px solid var(--academix-light);
    vertical-align: middle;
}

.profile-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-cell img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

/* Schedule List */
.schedule-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: var(--academix-radius);
    background: var(--academix-bg);
    margin-bottom: 1rem;
}

.schedule-item:hover {
    background: var(--academix-light);
}

/* Floating Gradient Card */
.upcoming-course-card {
    background: linear-gradient(135deg, #d5e450 0%, var(--academix-primary) 100%);
    border-radius: var(--academix-radius);
    padding: 2rem;
    color: white;

}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ac-animate {
    animation: fadeInScale 0.5s ease forwards;
}

/* ==========================================================================
   V3 HIGH-END DESIGN SYSTEM (Global Portal Expansion)
   ========================================================================== */

.v3-wrapper {
    background-color: var(--v3-bg);
    min-height: calc(100vh - 100px);
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

/* Page Headers */
.v3-page-title {
    font-weight: 800;
    color: var(--v3-text);
    letter-spacing: -0.5px;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.v3-page-subtitle {
    color: var(--v3-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Premium Cards */
.v3-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--v3-border);
    padding: 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.v3-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.05);
}

.v3-section-title {
    font-weight: 800;
    color: var(--v3-text);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Tabbed Navigation (Portal Style) */
.v3-nav-pill {
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--v3-border);
    display: inline-flex;
    gap: 8px;
    margin-bottom: 2rem;
}

.v3-nav-pill .nav-link {
    border-radius: 14px;
    padding: 12px 24px;
    color: var(--v3-muted);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s;
    border: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
}

.v3-nav-pill .nav-link.active {
    background: var(--v3-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(90, 92, 226, 0.25);
}

/* Gloss Effects */
.v3-gloss-sheen::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transform: rotate(45deg);
    pointer-events: none;
}

/* Premium Forms */
.v3-form-label {
    font-weight: 800;
    font-size: 0.75rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    display: block;
}

/* Table Specific Components */
.v3-thead {
    background: #f8fafc;
    border-bottom: 1px solid var(--v3-border);
}

.v3-table-th {
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--v3-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.v3-input {
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff;
    transition: all 0.25s;
}

.v3-input:focus {
    background: #ffffff;
    border-color: var(--v3-primary) !important;
    box-shadow: 0 0 0 4px rgba(90, 92, 226, 0.08);
    outline: none;
}

/* High-End Buttons */
.v3-btn-primary {
    background: var(--v3-primary);
    color: #fff !important;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 14px;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(90, 92, 226, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.v3-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(90, 92, 226, 0.3);
    background: #484acf;
}

.v3-btn-light {
    background: #f1f5f9;
    color: var(--v3-text);
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 14px;
    border: none;
    transition: all 0.2s;
}

.v3-btn-light:hover {
    background: #e2e8f0;
}

/* Progress System */
.v3-progress {
    height: 8px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.v3-progress-bar {
    background: var(--v3-primary);
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* Icon Containers */
.v3-icon-blob {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v3-primary-soft);
    color: var(--v3-primary);
    font-size: 1.25rem;
    margin-bottom: 20px;
}