@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --primary-green: #008037;
    /* A richer, more premium emerald green */
    --accent-green: #00ff66;
    --dark-green: #005a26;
    --text-main: #1a1a1a;
    --text-secondary: #4a4a4a;
    --bg-light: #f4f7f5;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --error-red: #ff4d4d;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.08);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --max-width: 1300px;
    --glass-bg: rgba(255, 255, 255, 0.8);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(0, 128, 55, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.brand-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

/* Responsive Utilities */
.flex-column-mobile,
.flex-md-column {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {

    .flex-column-mobile,
    .flex-md-column {
        flex-direction: column !important;
        gap: 30px !important;
    }
}

@media (min-width: 769px) {
    .flex-row-desktop {
        display: flex;
        flex-direction: row;
    }
}

.text-center-mobile {
    text-align: inherit;
}

@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center !important;
    }

    .hide-mobile {
        display: none !important;
    }

    .flex-column-mobile {
        flex-direction: column !important;
        gap: 15px !important;
    }
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.table-responsive table {
    min-width: 600px;
}

/* Header */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    min-height: 90px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--primary-green);
}

.mobile-toggle {
    display: none !important;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-green);
    margin-left: 20px;
}

.close-menu {
    display: none !important;
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: block !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -101%;
        width: 100%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        z-index: 2000;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 40px;
        margin-left: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 20px;
        width: 100%;
        text-align: center;
    }

    .close-menu {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 30px;
        right: 30px;
        width: 40px;
        height: 40px;
        font-size: 24px;
        cursor: pointer;
        color: var(--text-main);
        background: #f4f7f5;
        border-radius: 50%;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 128, 55, 0.2);
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 128, 55, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(0, 128, 55, 0.05);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--primary-green);
}

.btn-white:hover {
    background: #f8faf9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Section Refinement */
.hero-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
}

@media (max-width: 992px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }

    .hero-visual {
        order: -1;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

.hero-visual {
    position: relative;
    flex: 1;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 2;
}

/* Floating Elements */
.float-element {
    position: absolute;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-card {
    background: white;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 15px;
}

.float-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 10%;
    right: -20px;
    animation-delay: 2s;
}

.float-3 {
    top: 50%;
    right: -40px;
    animation-delay: 1s;
}

@media (max-width: 768px) {
    .float-element {
        display: none;
    }
}

.star-rating {
    color: #ffb400;
    font-size: 14px;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(0, 128, 55, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: -20%;
    left: -20%;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 128, 55, 0.1);
    color: var(--primary-green);
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(0, 128, 55, 0.1);
}

/* Grid System */
.grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-2-1 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.grid-2-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 480px) {
    .grid-2-mobile {
        grid-template-columns: 1fr;
    }
}

/* Features */
.feature-icon {
    width: 64px;
    height: 64px;
    background: #f0f7f2;
    color: var(--primary-green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

/* Trust Bar */
.trust-bar {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.trust-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    opacity: 0.5;
    filter: grayscale(1);
    flex-wrap: wrap;
    gap: 40px;
}

/* Stats */
.stat-item h2 {
    font-size: 48px;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Premium Footer */
footer {
    background: #0a110d;
    color: #a0aec0;
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

@media (max-width: 992px) {
    .footer-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid-4 {
        grid-template-columns: 1fr;
    }
}

.footer-logo-text {
    color: white;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
}

.footer-section h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #a0aec0;
    font-size: 15px;
}

.footer-section a:hover {
    color: var(--accent-green);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 20px;
    color: white;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}

.newsletter-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.footer-bottom-bar {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 14px;
}

.course-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 100px;
    background: #f4f7f5;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tab-btn:hover {
    background: #eaf1ed;
}

.tab-btn.active {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 128, 55, 0.15);
}

.course-card-wrapper {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.course-card-wrapper.hidden {
    display: none;
}

.search-wrapper {
    position: relative;
    max-width: 500px;
    width: 100%;
    margin-top: 30px;
}

.search-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 18px;
}

.search-input {
    width: 100%;
    padding: 18px 25px 18px 55px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    background: white;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 8px 30px rgba(0, 128, 55, 0.1);
}

/* Dark Mode Stats (Optional/Utility) */
.bg-dark-mesh {
    background-color: #0a110d;
    background-image:
        radial-gradient(at 0% 0%, rgba(0, 128, 55, 0.15) 0, transparent 50%),
        radial-gradient(at 50% 0%, rgba(0, 128, 55, 0.05) 0, transparent 50%);
}

/* Glass UI */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.auth-mesh {
    background-image:
        radial-gradient(circle at 2px 2px, rgba(0, 0, 0, 0.05) 1px, transparent 0);
    background-size: 24px 24px;

}

/* CV Landing Styles */
.stats-row {
    flex-wrap: nowrap;
}

@media (max-width: 768px) {
    .stats-row {
        flex-direction: column !important;
        gap: 40px !important;
    }
}

#revampModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Auth Page Redesign */
.auth-page-wrapper {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
    padding: 60px 20px;
}

.auth-main-card {
    max-width: 1000px;
    width: 100%;
    display: flex;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f4f2;
}

.auth-left-pane {
    flex: 1;
    padding: 60px;
    background: #fafffd;
    border-right: 1px solid #f0f4f2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-right-pane {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.auth-feature-icon {
    color: var(--primary-green);
    font-size: 20px;
    margin-top: 3px;
}

.auth-feature-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.auth-feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.auth-form-header {
    margin-bottom: 40px;
}

.auth-form-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.auth-input-group {
    margin-bottom: 24px;
}

.auth-input-group label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-input-wrapper {
    position: relative;
}

.auth-input-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #cbd5e0;
}

.auth-input {
    width: 100%;
    height: 58px;
    padding: 0 20px 0 55px;
    border-radius: 12px;
    border: 1.5px solid #edf2f7;
    background: #f8fafc;
    font-size: 15px;
    transition: all 0.3s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary-green);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 128, 55, 0.05);
}

@media (max-width: 900px) {
    .auth-main-card {
        flex-direction: column;
    }

    .auth-left-pane {
        padding: 40px;
        border-right: none;
        border-bottom: 1px solid #f0f4f2;
    }

    .auth-right-pane {
        padding: 40px;
    }
}

/* Fullscreen Auth Styling */
.auth-fullscreen-page {
    min-height: 100vh;
    display: flex;
    background: white;
    overflow: hidden;
}

.auth-fullscreen-left {
    flex: 1.2;
    background: linear-gradient(135deg, #0a110d 0%, #001a0b 100%);
    padding: 80px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.auth-fullscreen-left::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.05;
    pointer-events: none;
}

.auth-fullscreen-right {
    flex: 1;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    overflow-y: auto;
}

.auth-brand {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-hero-title {
    font-size: clamp(40px, 5.5vw, 72px);
    line-height: 1;
    margin: 45px 0;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: authFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.auth-input-fullscreen {
    width: 100%;
    height: 64px;
    padding: 0 24px 0 60px;
    border-radius: 16px;
    border: 2px solid #f0f2f5;
    background: #f8fafc;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-input-fullscreen:focus {
    border-color: var(--primary-green);
    background: white;
    box-shadow: 0 10px 20px rgba(0, 128, 55, 0.08);
    outline: none;
}

@media (max-width: 1100px) {
    .auth-fullscreen-left {
        padding: 60px;
    }

    .auth-fullscreen-right {
        padding: 60px;
    }
}

@media (max-width: 991px) {
    .auth-fullscreen-page {
        flex-direction: column;
        overflow-y: auto;
    }

    .auth-fullscreen-left {
        flex: none;
        padding: 60px 40px;
    }

    .auth-fullscreen-right {
        flex: none;
        padding: 60px 20px;
    }
}

/* =========================================
   DASHBOARD STYLES
   ========================================= */

/* Dashboard Layout */
.dashboard-body {
    background-color: #f8fafc;
    min-height: 100vh;
    display: flex;
}

.dashboard-sidebar {
    width: 280px;
    background: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-main {
    flex: 1;
    margin-left: 280px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
}

/* Sidebar Styling */
.sidebar-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-green);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
}

.sidebar-nav {
    flex: 1;
    padding: 24px 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sidebar-link:hover {
    color: var(--primary-green);
    background: rgba(0, 128, 55, 0.04);
}

.sidebar-link.active {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 128, 55, 0.15);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.sidebar-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 8px 16px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-user {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.sidebar-user-info {
    overflow: hidden;
}

.sidebar-user-name {
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
}

.sidebar-user-email {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-logout {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--error-red);
    transition: all 0.2s;
}

.sidebar-logout:hover {
    background: rgba(255, 77, 77, 0.08);
}

/* Topbar */
.dashboard-topbar {
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 900;
}

.mobile-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
}

.topbar-search {
    position: relative;
    width: 380px;
}

.topbar-search input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border-radius: 100px;
    border: 1px solid transparent;
    background: #f1f5f9;
    font-size: 14px;
    transition: all 0.3s;
}

.topbar-search input:focus {
    background: white;
    border-color: var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    outline: none;
}

.topbar-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.topbar-btn:hover {
    color: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.topbar-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--error-red);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid white;
}

/* Dashboard Content */
.dashboard-content {
    padding: 32px;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.dashboard-welcome {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(0, 128, 55, 0.15);
    position: relative;
    overflow: hidden;
}

.dashboard-welcome::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
    pointer-events: none;
}

.welcome-content h1 {
    color: white;
    font-size: 28px;
    margin-bottom: 8px;
}

.welcome-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.welcome-actions .btn {
    background: white;
    color: var(--primary-green);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.welcome-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Stats Grid */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

/* Dashboard Main Grid -> 2 columns (Main + Sidebar) */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.dashboard-col-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.dashboard-col-side {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Cards */
.dashboard-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.card-header {
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.card-select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    background: white;
    cursor: pointer;
}

.card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-green);
}

.card-body {
    padding: 24px;
}

/* Course Items */
.course-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.course-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 14px;
    transition: all 0.2s;
}

.course-item:hover {
    border-color: rgba(0, 128, 55, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.course-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.course-details {
    flex: 1;
}

.course-details h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.course-progress-bar {
    height: 6px;
    background: #f1f5f9;
    border-radius: 100px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-green);
    border-radius: 100px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.2s;
    border: 1px solid transparent;
}

.quick-action-btn:hover {
    background: white;
    border-color: var(--primary-green);
    color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(0, 128, 55, 0.1);
}

.quick-action-btn i {
    font-size: 20px;
    margin-bottom: 10px;
}

.quick-action-btn span {
    font-size: 13px;
    font-weight: 600;
}

/* Certificates */
.certificate-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.certificate-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.certificate-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0fdf4;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.cert-details {
    flex: 1;
}

.cert-details h5 {
    font-size: 14px;
    margin-bottom: 2px;
}

.cert-details span {
    font-size: 12px;
    color: var(--text-secondary);
}

.cert-download {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s;
}

.cert-download:hover {
    background: #f1f5f9;
    color: var(--primary-green);
}

/* Streak */
.streak-display {
    text-align: center;
    margin-bottom: 24px;
}

.streak-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.streak-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.streak-calendar {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.streak-day {
    flex: 1;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50%;
    background: #f1f5f9;
    color: #cbd5e0;
}

.streak-day.active {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 128, 55, 0.2);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px;
}

.empty-state i {
    font-size: 48px;
    color: #cbd5e0;
    margin-bottom: 16px;
}

.empty-state h4 {
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
        width: 100%;
        max-width: 300px;
    }

    .dashboard-sidebar.active {
        transform: translateX(0);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .dashboard-main {
        margin-left: 0;
    }

    .mobile-sidebar-toggle {
        display: block;
    }

    .sidebar-close {
        display: block;
    }

    .dashboard-content {
        padding: 20px;
    }

    .dashboard-welcome {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .topbar-search {
        display: none;
    }

    .dashboard-topbar {
        padding: 0 20px;
    }
}

/* Video & Embed Utilities */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-unsupported {
    padding: 40px;
    background: #f1f5f9;
    border-radius: 12px;
    text-align: center;
    color: #ef4444;
    font-weight: 600;
    border: 1px dashed #ef4444;
}

/* Badge Rugged Styling for Dashboard */
.badge-rugged {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(0, 128, 55, 0.1);
    color: var(--primary-green);
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

/* Document & PowerPoint Embeds */
.document-container,
.powerpoint-container {
    width: 100%;
    margin: 20px 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.document-container iframe,
.powerpoint-container iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.document-controls,
.powerpoint-controls {
    padding: 15px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.lesson-description {
    font-size: 16px;
    line-height: 1.6;
    color: #334155;
}

/* Base Utility Classes */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}