 :root {
     --primary-color: #8a2be2;
     --secondary-color: #9370db;
     --light-purple: #e6e6fa;
     --dark-purple: #4b0082;
 }

 body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }

 .navbar {
     background-color: white;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }

 .navbar-brand {
     font-weight: 700 !important;
     color: var(--primary-color) !important;
     font-size: 1.8rem !important;
 }

 .nav-link {
     color: #333 !important;
     font-weight: 500 !important;
     margin: 0 10px !important;
     transition: all 0.3s ease !important;
 }

 .nav-link:hover {
     color: var(--primary-color) !important;
 }

.navbar .nav-item form {
    margin: 0;
}


 footer {
     background-color: #2c1a4d;
     color: white;
     padding: 50px 0 20px;
 }

 .footer-links a {
     color: #b3b1ff;
     text-decoration: none;
     display: block;
     margin-bottom: 10px;
     transition: all 0.3s ease;
 }

 .footer-links a:hover {
     color: white;
     padding-left: 5px;
 }

 .social-icons a {
     color: white;
     background: rgba(255, 255, 255, 0.1);
     width: 40px;
     height: 40px;
     border-radius: 50%;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     margin-right: 10px;
     transition: all 0.3s ease;
 }

 .social-icons a:hover {
     background: var(--primary-color);
     transform: translateY(-3px);
 }


.btn-primary {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 999px;
    font-weight: 600;
    padding-inline: 1.4rem;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 8px 24px rgba(138, 43, 226, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--dark-purple) !important;
    border-color: var(--dark-purple) !important;
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(75, 0, 130, 0.32);
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    border-radius: 999px;
    font-weight: 600;
    padding-inline: 1.4rem;
    transition: all 0.25s ease-in-out;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.25);
}

.auth-btn {
    padding: 0.35rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
}

.auth-modal .modal-content {
    box-shadow: 0 20px 60px rgba(75, 0, 130, 0.2);
}

.auth-visual {
    position: relative;
    min-height: 100%;
    background-size: cover;
    background-position: center;
}

.auth-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.75), rgba(147, 112, 219, 0.9));
    color: white;
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    font-weight: 600;
    font-size: 1rem;
}

.auth-form-wrapper {
    padding: 2.5rem;
    background-color: white;
}

.auth-form-wrapper h4 {
    color: var(--dark-purple);
}

.auth-form-wrapper .form-control,
.auth-form-wrapper .form-select {
    border-radius: 12px;
    border-color: #e0def5;
    /* padding: 0.85rem 1rem; */
}

.auth-form-wrapper .form-control:focus,
.auth-form-wrapper .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(138, 43, 226, 0.15);
}

.auth-form-wrapper .btn-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.auth-form-wrapper .btn-link:hover {
    text-decoration: underline;
}

.dashboard-hero {
    background: linear-gradient(135deg, rgba(230, 230, 250, 0.6), rgba(147, 112, 219, 0.08));
    min-height: 60vh;
}

.dashboard-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 80px rgba(75, 0, 130, 0.08);
    border: 1px solid rgba(147, 112, 219, 0.15);
}

.dashboard-card h1 {
    color: var(--dark-purple);
    font-weight: 700;
}

.summary-tile {
    background: var(--light-purple);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border: 1px solid rgba(138, 43, 226, 0.15);
}

.summary-tile .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark-purple);
    opacity: 0.7;
}

.summary-tile .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Dashboard shell */
.dashboard-body {
    background: #f5f4fb;
    min-height: 100vh;
}

.dashboard-shell {
    display: flex;
    min-height: 100vh;
}

.dashboard-sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--dark-purple), #5a1f8d);
    color: #fff;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: fixed;
    inset-block: 0;
    left: 0;
    overflow: hidden;
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.brand-logo {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
}

.brand-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.12em;
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.is-active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.9rem;
}

.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 280px;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 2.5rem 1.5rem;
    border-bottom: 1px solid rgba(138, 43, 226, 0.15);
    background: #fff;
}

.dashboard-breadcrumb {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.dashboard-heading {
    font-weight: 700;
    color: var(--dark-purple);
}

.dashboard-subheading {
    color: #6c6b80;
}

.dashboard-content {
    flex: 1;
    padding: 2.5rem;
    background: linear-gradient(180deg, rgba(230, 230, 250, 0.4), transparent);
}

.dashboard-widget {
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 20px 60px rgba(75, 0, 130, 0.06);
    border: 1px solid rgba(147, 112, 219, 0.12);
}

.dashboard-widget h6 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a7695;
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.timeline {
    border-left: 2px solid rgba(138, 43, 226, 0.2);
    padding-left: 1.25rem;
}

.timeline-step {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -1.65rem;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.15);
}

.session-card {
    border: 1px solid rgba(138, 43, 226, 0.15);
    border-radius: 16px;
    padding: 1.2rem;
    background: #fff;
    margin-bottom: 1rem;
}

.session-card h5 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
    color: var(--dark-purple);
}

.session-card small {
    color: #7a7695;
}