:root {
    --main: #1F6485;
    --main-light: #1f658571;
    --secondary: #C9DEE1;
    --secondary-light: #c9dee185;
    --dark: #000000;
    --white: #FFFFFF;
    --light-1: #F1E5FE;
    --light-2: #E8E8E8;
    --light-3: #E4E4E4;
    --light-4: #D9D9D9;
    --light-5: #757575;
    --light-6: #636363;
    --success: #41973C;
    --success-light: #40973c5d;
    --danger: #FF2D55;
    --danger-light: #ff2d538a;
    --warning: #FFC107;
    --warning-light: #ffc10752;
    --body-light: #F5F5F5;
    --sidebar-width: 280px;
    --header-height: 70px;
    --border-radius: 12px;
    --box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Nunito Sans, sans-serif;
}


body {
    font-family: 'Nunito Sans', sans-serif;
    background: linear-gradient(135deg, var(--body-light) 0%, #f8f9fc 100%);
    overflow-x: hidden;
    color: var(--dark);
}


/* Comman Class */

/* === Main Colors === */
.bg-main {
    background-color: var(--main) !important;
}

.bg-main-light {
    background-color: var(--main-light) !important;
}

.text-main {
    color: var(--main) !important;
}

.text-main-light {
    color: var(--main-light) !important;
}

/* === Secondary Colors === */
.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-secondary-light {
    background-color: var(--secondary-light) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-secondary-light {
    color: var(--secondary-light) !important;
}

/* === Dark === */
.bg-dark-custom {
    background-color: var(--dark) !important;
}

.text-dark-custom {
    color: var(--dark) !important;
}

/* === Light Shades === */
.bg-light-1 {
    background-color: var(--light-1) !important;
}

.bg-light-2 {
    background-color: var(--light-2) !important;
}

.bg-light-3 {
    background-color: var(--light-3) !important;
}

.bg-light-4 {
    background-color: var(--light-4) !important;
}

.bg-light-5 {
    background-color: var(--light-5) !important;
}

.bg-light-6 {
    background-color: var(--light-6) !important;
}

.text-light-1 {
    color: var(--light-1) !important;
}

.text-light-2 {
    color: var(--light-2) !important;
}

.text-light-3 {
    color: var(--light-3) !important;
}

.text-light-4 {
    color: var(--light-4) !important;
}

.text-light-5 {
    color: var(--light-5) !important;
}

.text-light-6 {
    color: var(--light-6) !important;
}

/* === Body Background === */
.bg-body-light {
    background-color: var(--body-light) !important;
}

.text-body-light {
    color: var(--body-light) !important;
}

/* === Success (Green) === */
.bg-success {
    background-color: var(--success) !important;
}

.bg-success-light {
    background-color: var(--success-light) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-success-light {
    color: var(--success-light) !important;
}

/* === Danger (Red) === */
.bg-danger {
    background-color: var(--danger) !important;
}

.bg-danger-light {
    background-color: var(--danger-light) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-danger-light {
    color: var(--danger-light) !important;
}

/* === Warning (Yellow) === */
.bg-warning {
    background-color: var(--warning) !important;
}

.bg-warning-light {
    background-color: var(--warning-light) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.text-warning-light {
    color: var(--warning-light) !important;
}

.fs-10 {
    font-size: 10px;
    line-height: 14px;
}

.fs-12 {
    font-size: 12px;
    line-height: 16px;
}

.fs-14 {
    font-size: 14px;
    line-height: 20px;
}

.fs-16 {
    font-size: 16px;
    line-height: 22px;
}

.fs-18 {
    font-size: 18px;
    line-height: 24px;
}

.fs-20 {
    font-size: 20px;
    line-height: 26px;
}

.fs-22 {
    font-size: 22px;
    line-height: 28px;
}

.fs-24 {
    font-size: 24px;
    line-height: 32px;
}

.fs-26 {
    font-size: 26px;
    line-height: 34px;
}

.fs-28 {
    font-size: 28px;
    line-height: 36px;
}

.fs-30 {
    font-size: 30px;
    line-height: 38px;
}

/* Comman Class */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--main) 0%, var(--main-light) 100%);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar.active {
    width: 80px;
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-logo {
    width: 45px;
    height: 45px;
    background: var(--main);
    border-radius: 12px;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    font-weight: 700;
    flex-shrink: 0;
}

.sidebar-title {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    opacity: 1;
    transition: var(--transition);
}

.sidebar.active .sidebar-title {
    display: none;
}

.sidebar.collapsed .sidebar-title {
    opacity: 0;
    width: 0;
}

.sidebar-nav {
    padding: 20px 0;
    height: calc(100vh - 120px);
    overflow-y: auto;
}

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

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.nav-item {
    margin: 2px 12px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 10px;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--main) 0%, #36b3e0 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(68, 198, 252, 0.3);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--white);
    border-radius: 0 2px 2px 0;
}

.nav-link i {
    font-size: 20px;
    flex-shrink: 0;
    width: 20px;
}

.nav-link span {
    opacity: 1;
    transition: var(--transition);
    white-space: nowrap;
}

.sidebar.collapsed .nav-link span {
    opacity: 0;
    width: 0;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 14px;
}

.sidebar.active .nav-link span {
    display: none;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    transition: var(--transition);
    min-height: 100vh;
}

.main-content.active {
    margin-left: 80px;
}

/* Header */
.header {
    background: var(--white);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.sidebar-toggle:hover {
    background: var(--light-2);
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.breadcrumb-nav {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-nav .breadcrumb-item {
    color: var(--light-5);
}

.breadcrumb-nav .breadcrumb-item.active {
    color: var(--main);
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-search {
    position: relative;
    width: 300px;
}

.header-search input {
    width: 100%;
    padding: 10px 40px 10px 16px;
    border: 2px solid var(--light-3);
    border-radius: 25px;
    outline: none;
    transition: var(--transition);
    background: var(--body-light);
}

.header-search input:focus {
    border-color: var(--main);
    background: var(--white);
}

.header-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-5);
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--dark);
    cursor: pointer;
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.notification-btn:hover {
    background: var(--light-2);
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--danger);
    border-radius: 50%;
    font-size: 10px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: var(--body-light);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.user-menu:hover {
    background: var(--light-2);
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--main) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.user-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
    line-height: 1;
}

.user-role {
    font-size: 12px;
    color: var(--light-5);
    line-height: 1;
}

/* Content Area */
.content-area {
    padding: 30px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: none;
    transition: var(--transition);
}

.card:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: none;
    border-bottom: none;
    padding: 12px 15px;
}

.card-body {
    padding: 12px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

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

.stats-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--main);
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--white);
    flex-shrink: 0;
}

.stats-icon.primary {
    background: linear-gradient(135deg, var(--main) 0%, #36b3e0 100%);
}

.stats-icon.success {
    background: linear-gradient(135deg, var(--success) 0%, #36a832 100%);
}

.stats-icon.warning {
    background: linear-gradient(135deg, var(--warning) 0%, #e6a800 100%);
}

.stats-icon.danger {
    background: linear-gradient(135deg, var(--danger) 0%, #e02448 100%);
}

.stats-icon.secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #155064 100%);
}

.stats-info h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 5px 0;
    line-height: 1;
}

.stats-info p {
    font-size: 14px;
    color: var(--light-5);
    margin: 0;
    font-weight: 500;
}

.stats-trend {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
}

.stats-trend.up {
    color: var(--success);
}

.stats-trend.down {
    color: var(--danger);
}

/* Tables */
.table-container {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.table {
    margin: 0;
}

.table thead th {
    background: var(--body-light);
    border: none;
    font-weight: 600;
    color: var(--dark);
    padding: 20px;
    font-size: 14px;
}

.table tbody td {
    padding: 20px;
    border-top: 1px solid var(--light-2);
    vertical-align: middle;
}

.table tbody tr:hover {
    background: var(--body-light);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 20px;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--main) 0%, var(--secondary) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(68, 198, 252, 0.4);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-warning {
    background: var(--warning);
    color: var(--dark);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--main);
    color: var(--main);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--main);
    color: var(--white);
}

/* Forms */
.form-control {
    border: 2px solid var(--light-3);
    border-radius: 8px;
    padding: 12px 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--main);
    box-shadow: 0 0 0 3px rgba(68, 198, 252, 0.1);
}

.form-select {
    border: 2px solid var(--light-3);
    border-radius: 8px;
    padding: 12px 16px;
}

/* Badges */
.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
}

.badge.bg-success {
    background: var(--success) !important;
}

.badge.bg-warning {
    background: var(--warning) !important;
    color: var(--dark) !important;
}

.badge.bg-danger {
    background: var(--danger) !important;
}

.badge.bg-primary {
    background: var(--main) !important;
}

/* Action Buttons */
.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    margin: 0 2px;
}

.action-btn.view {
    background: var(--main-light);
    color: var(--main);
}

.action-btn.edit {
    background: var(--warning-light);
    color: var(--warning);
}

.action-btn.delete {
    background: var(--danger-light);
    color: var(--danger);
}

.action-btn:hover {
    transform: scale(1.1);
}

/* Filter Bar */
.filter-bar {
    background: var(--white);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    box-shadow: var(--box-shadow);
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .main-content.expanded {
        margin-left: 0;
    }

    .header {
        padding: 0 15px;
    }

    .content-area {
        padding: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .header-search {
        display: none;
    }

    .page-title {
        font-size: 20px;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-2);
}

::-webkit-scrollbar-thumb {
    background: var(--light-4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-5);
}

/* Dashboard Welcome */
.welcome-section {
    background: linear-gradient(135deg, var(--main) 0%, var(--main-light) 100%);
    color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    margin-bottom: 0px;
    position: relative;
    overflow: hidden;
    height: 265px;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-20px, -20px) rotate(180deg);
    }
}

.welcome-content {
    position: relative;
    z-index: 1;
}

.welcome-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 10px;
}

.welcome-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

/* Chart Container */
.chart-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-5);
    font-size: 18px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h2 {
    font-size: 1.25rem;
    font-weight: 600
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    text-align: center;
    /* margin-bottom: 3rem; */
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--secondary), var(--main));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header p {
    color: var(--light-5);
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(68, 198, 252, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--main), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(68, 198, 252, 0.15);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .5rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(20px);
    opacity: 0.3;
}

.card-icon i {
    position: relative;
    z-index: 1;
}

.trend-indicator {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.trend-up {
    color: var(--success);
    background: var(--success-light);
}

.trend-down {
    color: var(--danger);
    background: var(--danger-light);
}

.card-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.card-label {
    color: var(--light-5);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: between;
    padding-top: 1rem;
    border-top: 1px solid var(--light-3);
    color: var(--light-6);
    font-size: 0.875rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--light-3);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-count {
    animation: countUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Color variations for different cards */
.students-card .card-icon {
    background: linear-gradient(135deg, var(--main), var(--secondary));
}

.lessons-card .card-icon {
    background: linear-gradient(135deg, var(--success), #2d7a28);
}

.weekly-sub-card .card-icon {
    background: linear-gradient(135deg, var(--warning), #e6a000);
}

.monthly-sub-card .card-icon {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.engagement-card .card-icon {
    background: linear-gradient(135deg, var(--danger), #c0392b);
}

.revenue-card .card-icon {
    background: linear-gradient(135deg, #16a085, #1abc9c);
}

.students-card .progress-fill {
    background: linear-gradient(90deg, var(--main), var(--secondary));
}

.lessons-card .progress-fill {
    background: linear-gradient(90deg, var(--success), #2d7a28);
}

.weekly-sub-card .progress-fill {
    background: linear-gradient(90deg, var(--warning), #e6a000);
}

.monthly-sub-card .progress-fill {
    background: linear-gradient(90deg, #8e44ad, #9b59b6);
}

.engagement-card .progress-fill {
    background: linear-gradient(90deg, var(--danger), #c0392b);
}

.revenue-card .progress-fill {
    background: linear-gradient(90deg, #16a085, #1abc9c);
}

/* .stat-card.weekly-sub-card,.stat-card.monthly-sub-card,.stat-card.engagement-card,.stat-card.revenue-card{
    width:25% ;
} */
.table thead tr th {
    font-size: 14px;
}

.table tbody tr td {
    font-size: 14px;
}

/* Login  */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #44c5fcc9 0%, #1c5d7d8e 100%);
}

.login-container {
    max-width: 500px;
    width: 100%;
    margin: auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--dark);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.login-header {
    background: linear-gradient(135deg, var(--main), var(--secondary));
    padding: 30px;
    text-align: center;
    color: var(--white);
}

.login-header h1 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 2.2rem;
}

.login-header p {
    opacity: 0.9;
    margin-bottom: 0;
}

.login-body {
    padding: 30px;
    background-color: var(--white);
}

.form-control {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding-left: 15px;
    transition: all 0.3s;
    background-color: var(--light-4);
}

.form-control:focus {
    border-color: var(--main);
    background-color: var(--light-4);
    box-shadow: 0 0 0 0.25rem rgba(61, 90, 254, 0.25);
}

.btn-login {
    width: 100%;
    height: 50px;
    line-height: 50px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--main), var(--main-light));
    border: none;
    font-weight: 600;
    color: white;
    transition: all 0.3s;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 90, 254, 0.3);
}

.additional-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.additional-links a {
    color: var(--main);
    text-decoration: none;
    transition: color 0.2s;
}

.additional-links a:hover {
    color: #30d1ca;
    text-decoration: underline;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .login-container {
        margin: 20px;
        border-radius: 12px;
    }

    .login-header {
        padding: 20px;
    }

    .login-body {
        padding: 20px;
    }
}

/* Login  */

.table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin: 30px auto;
    max-width: 1400px;
}

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 0;
    text-align: center;
}

.page-header h1 {
    margin: 0;
    font-weight: 600;
    font-size: 2.5rem;
}

.student-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
    margin-right: 12px;
}

.student-info {
    display: flex;
    align-items: center;
}

.student-name {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.student-username {
    color: var(--light-6);
    font-size: 0.85rem;
    margin: 0;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: #f8f9fa;
    border: none;
    font-weight: 600;
    color: #495057;
    padding: 18px 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody td {
    padding: 18px 15px;
    vertical-align: middle;
    border-color: #f1f3f4;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
}

.grade-badge {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.curriculum-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.curriculum-indian {
    background: #e3f2fd;
    color: #44C6FC;
}

.curriculum-british {
    background: #f3e5f5;
    color: #1C5D7D;
}

.curriculum-american {
    background: #fff3e0;
    color: #f57c00;
}

.curriculum-ministry {
    background: #e8f5e8;
    color: #388e3c;
}

.form-check-input {
    width: 2.5em;
    height: 1.25em;
    border-radius: 1.25em;
}

.form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-view {
    background: #e3f2fd;
    color: #44C6FC;
}

.btn-view:hover {
    background: #bbdefb;
    transform: translateY(-1px);
}

.btn-delete {
    background: #ffebee;
    color: #d32f2f;
}

.btn-delete:hover {
    background: #ffcdd2;
    transform: translateY(-1px);
}

.gender-icon {
    font-size: 1.1rem;
    margin-right: 5px;
}

.male {
    color: #2196f3;
}

.female {
    color: #e91e63;
}

@media (max-width: 768px) {
    .table-container {
        padding: 15px;
        margin: 15px;
    }

    .table-responsive {
        font-size: 0.85rem;
    }

    .student-avatar {
        width: 35px;
        height: 35px;
    }
}

.student-profile-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    border: 1px solid rgba(68, 198, 252, 0.1);
}

.profile-header {
    background: linear-gradient(135deg, var(--main) 0%, var(--secondary) 100%);
    padding: 3rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(-15deg);
}

.profile-info {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.student-avatar {
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.student-avatar.xl {
    width: 120px;
    height: 120px;
}

.student-avatar:hover {
    transform: scale(1.05);
    border-color: var(--white);
}

.student-details h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.student-username {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.status-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.status-badge {
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.status-active {
    background: rgba(65, 151, 60, 0.9);
    color: var(--white);
}

.status-grade {
    background: rgba(255, 193, 7, 0.9);
    color: var(--dark);
}

.status-curriculum {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary);
}

/* Action Buttons */
/* Info Cards Grid */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    padding-top: 0;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(68, 198, 252, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--main), var(--secondary));
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--main-light), var(--secondary-light));
    color: var(--secondary);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light-3);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--light-6);
    font-size: 0.95rem;
}

.info-value {
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

/* Academic Performance */
.performance-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(68, 198, 252, 0.1);
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.subject-card {
    background: linear-gradient(135deg, var(--light-1), rgba(244, 244, 244, 0.5));
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(68, 198, 252, 0.1);
    transition: var(--transition);
}

.subject-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.subject-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-6);
    margin-bottom: 0.5rem;
}

.subject-grade {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.grade-bar {
    height: 6px;
    background: var(--light-3);
    border-radius: 3px;
    overflow: hidden;
}

.grade-fill {
    height: 100%;
    background: linear-gradient(to right, var(--main), var(--secondary));
    border-radius: 3px;
    transition: width 1s ease;
}

/* Recent Activity */
.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-3);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.activity-assignment {
    background: var(--warning-light);
    color: var(--warning);
}

.activity-exam {
    background: var(--danger-light);
    color: var(--danger);
}

.activity-attendance {
    background: var(--success-light);
    color: var(--success);
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.85rem;
    color: var(--light-5);
}

/* Status Toggle */
.status-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--light-1), rgba(244, 244, 244, 0.3));
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--light-4);
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-switch.active {
    background: var(--success);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(30px);
}

.toggle-label {
    font-weight: 600;
    color: var(--dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 0 1rem 2rem;
    }

    .profile-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .action-buttons {
        position: relative;
        top: auto;
        right: auto;
        justify-content: center;
        margin-top: 2rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }
}

/* Animation */
@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.info-card {
    animation: slideInUp 0.6s ease forwards;
}

.info-card:nth-child(2) {
    animation-delay: 0.1s;
}

.info-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Drag & Drop Zone */
.upload-zone {
    border: 3px dashed var(--light-4);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(68, 198, 252, 0.02), rgba(241, 229, 254, 0.1));
    position: relative;
    cursor: pointer;
    margin-bottom: 2rem;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--main);
    background: linear-gradient(135deg, var(--main-light), var(--light-1));
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(68, 198, 252, 0.15);
}

.upload-zone.uploading {
    border-color: var(--warning);
    background: var(--warning-light);
}

.upload-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.upload-zone:hover .upload-icon {
    transform: scale(1.1) rotate(10deg);
}

.upload-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.upload-subtext {
    color: var(--light-5);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.file-input {
    display: none;
}

.browse-btn {
    background: linear-gradient(135deg, var(--main), var(--secondary));
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(68, 198, 252, 0.3);
}

.browse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(68, 198, 252, 0.4);
}

.comman-tabs .nav-item .nav-link {
    color: var(--dark);
}

.comman-tabs .nav-item .nav-link.active {
    color: var(--white);
}

.logo {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}