.profile-page__eyebrow {
    color: #6366f1;
    letter-spacing: 0.28em;
    font-size: 0.8rem;
}

.profile-page__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(14, 165, 233, 0.16));
    color: #4338ca;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.12);
}

.profile-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.profile-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.16);
    border-radius: 1.75rem;
    padding: 1.6rem;
    background: linear-gradient(135deg, #312e81 0%, #4338ca 35%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: 0 28px 80px rgba(79, 70, 229, 0.22);
}

.profile-hero__glow {
    position: absolute;
    right: -1.5rem;
    bottom: -2rem;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    filter: blur(24px);
    pointer-events: none;
}

.profile-avatar {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    font-size: 1.35rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.profile-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: #f8fafc;
    font-size: 0.82rem;
    font-weight: 600;
}

.profile-stat-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 84px;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(10px);
}

.profile-stat-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 0.9rem;
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}

.profile-panel {
    height: 100%;
    border-radius: 1.5rem;
    padding: 1.4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.profile-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.profile-card__heading {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.profile-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #4338ca;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.profile-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-card__badge--muted {
    background: #f1f5f9;
    color: #475569;
}

.profile-card__input-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 0.25rem;
    background: #f8fafc;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.profile-card__input {
    width: 100%;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.profile-card__input:focus {
    border-color: transparent;
    box-shadow: none;
}

.profile-card__footer {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding-top: 0.6rem;
    border-top: 1px solid #eef2f7;
}

.profile-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.16);
}

.profile-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(37, 99, 235, 0.22);
}

.profile-action-btn--primary {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
}

.profile-action-btn--primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.profile-panel input,
.profile-panel textarea,
.profile-panel select {
    border-radius: 0.95rem !important;
    border-color: #cbd5e1 !important;
    box-shadow: none !important;
}

.profile-panel input:focus,
.profile-panel textarea:focus,
.profile-panel select:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16) !important;
}

.profile-danger-zone {
    border-radius: 1.4rem;
    padding: 1.3rem;
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.95), rgba(255, 247, 247, 0.92));
    border: 1px solid rgba(251, 113, 133, 0.2);
    box-shadow: 0 16px 40px rgba(251, 113, 133, 0.08);
}

:root {
    --primary: #3b82f6;
    --primary-soft: #eff6ff;
    --primary-strong: #1d4ed8;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-soft: rgba(248, 250, 252, 0.9);
    --shadow-soft: 0 24px 80px rgba(15, 23, 42, 0.08);
    --border-soft: rgba(59, 130, 246, 0.18);
    --text-emphasis: #0f172a;
    --text-muted: #64748b;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    color: var(--text-emphasis);
    background: #eef3f7;
    min-height: 100%;
}

.content-wrapper,
.app-main {
    min-height: 100vh;
    background: transparent;
}

.app-shell {
    min-height: 100vh;
    background: #eef3f7;
    overflow: hidden;
}

.app-sidebar {
    flex: 0 0 280px;
    max-width: 280px;
    min-height: 100vh;
    position: relative;
    top: 0;
    background: linear-gradient(180deg, rgba(59,130,246,0.95), rgba(37,99,235,0.95));
    box-shadow: 0 36px 90px rgba(15, 23, 42, 0.15);
}

.sidebar .offcanvas-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 1.5rem 0.75rem 1.5rem 0.75rem;
}

.sidebar-brand,
.sidebar-user,
.sidebar-nav,
.sidebar-logout {
    width: 100%;
}

.sidebar-brand,
.sidebar-user {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.sidebar-brand {
    margin-bottom: 1.5rem;
}

.sidebar-user {
    padding-bottom: 1.5rem;
}

.sidebar-nav {
    gap: 0.5rem;
}

.sidebar .nav-pills .nav-link {
    width: 100%;
    border-radius: 1rem;
    min-height: 56px;
    padding: 0.95rem 1.2rem;
}

.sidebar .nav-pills .nav-link .bi {
    min-width: 22px;
}

.sidebar .nav-pills .nav-link.active,
.sidebar .nav-pills .nav-link:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.sidebar .nav-pills .nav-link.active {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.sidebar-brand {
    margin-bottom: 1.5rem;
}

.sidebar-user {
    padding-bottom: 1.5rem;
}

.sidebar-nav {
    gap: 0.35rem;
}

.sidebar .nav-pills .nav-link {
    min-height: 58px;
    padding: 0.9rem 1.25rem;
}

.sidebar-brand,
.sidebar-user {
    color: #f8fafc;
}

.sidebar-brand a {
    text-decoration: none;
}

.sidebar-brand .brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: #ffffff;
    color: #2563eb;
}

.sidebar-user {
    font-size: 0.95rem;
}

.sidebar .nav-pills .nav-link {
    color: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    padding: 0.95rem 1.15rem;
    display: flex;
    align-items: center;
    position: relative;
}

.sidebar .nav-pills .nav-link .bi {
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

.sidebar .nav-pills .nav-link.active,
.sidebar .nav-pills .nav-link:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    transform: translateX(2px);
}

.sidebar .nav-pills .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    height: calc(100% - 1.7rem);
    width: 4px;
    background: #ffffff;
    border-radius: 0 10px 10px 0;
}

.main-navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.main-navbar .navbar-brand {
    font-weight: 700;
    color: #2563eb;
}

.main-navbar .dropdown-menu {
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.main-navbar .btn-outline-secondary {
    color: #475569;
    border-color: rgba(148, 163, 184, 0.35);
}

.main-navbar .btn-outline-secondary:hover {
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.5);
    background: rgba(59, 130, 246, 0.08);
}

.page-heading {
    padding: 1.35rem 0 1rem;
}

.page-heading h1,
.page-heading h2,
.page-heading h3 {
    font-weight: 700;
}

.page-heading h1 {
    font-size: clamp(1.6rem, 2.2vw, 2.4rem);
}

.page-heading p {
    color: var(--text-muted);
}

.welcome-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.welcome-card {
    border-radius: 1.75rem;
}

.stat-card {
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.05);
}

.stat-card .small {
    color: var(--text-muted);
}

.stat-card h4 {
    margin-bottom: 0;
}

.glass-card {
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(16px);
}

.glass-card-soft {
    background: rgba(248, 250, 252, 0.86);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.stat-card {
    border: 0;
    border-radius: 1.4rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.82));
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.06);
}

.icon-box {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: rgba(59, 130, 246, 0.1);
}

.dashboard-header {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    border-radius: 24px;
    padding: 30px;
    color: white;
    margin-bottom: 25px;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.25);
}

.dashboard-header h1 {
    font-weight: 700;
}

.dashboard-header p {
    opacity: .9;
    margin-bottom: 0;
}

.stat-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    transition: all .3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.08);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(59, 130, 246, 0.15);
}

.stat-card h3 {
    font-weight: 700;
    color: #0f172a;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.card-header {
    background: white !important;
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.badge.bg-success {
    background: linear-gradient(135deg, #10b981, #34d399) !important;
}

.list-group-item {
    transition: all .3s ease;
}

.list-group-item:hover {
    background: #f8fbff;
    transform: translateX(5px);
}

canvas {
    max-height: 320px;
}

.table-modern thead th {
    border-bottom: 1px solid rgba(15, 23, 42, 0.09);
    color: #334155;
    font-weight: 600;
}

.table-modern tbody tr {
    background: #ffffff;
}

.table-modern tbody tr:hover {
    background: rgba(59, 130, 246, 0.06);
}

.table-modern .btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
}

.form-control,
.form-select {
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: none;
    transition: all .25s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 0.15rem rgba(59, 130, 246, 0.12);
}

.btn-brand {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
    border: none;
    color: #fff;
    box-shadow: 0 18px 40px rgba(59, 130, 246, 0.24);
}

.btn-brand:hover {
    transform: translateY(-1px);
}

.btn-soft {
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.btn-soft:hover {
    background: rgba(59, 130, 246, 0.12);
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.4), transparent 26%),
                radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 28%),
                linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.auth-card {
    max-width: 960px;
    width: 100%;
    border-radius: 2rem;
    overflow: hidden;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 60px 100px rgba(15, 23, 42, 0.12);
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .auth-card {
        grid-template-columns: 1.15fr 1fr;
    }
}

.auth-card .auth-hero {
    background: linear-gradient(160deg, rgba(59,130,246,0.98), rgba(96,165,250,0.95));
    color: #fff;
    position: relative;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
}

.auth-card .auth-hero::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    top: 20px;
    right: -100px;
}

.auth-card .auth-hero::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    bottom: 30px;
    left: -80px;
}

.auth-card .auth-hero h1,
.auth-card .auth-hero p,
.auth-card .auth-hero .feature-dot {
    position: relative;
    z-index: 1;
}

.auth-card .auth-form {
    background: #ffffff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-card .auth-form .form-label {
    font-weight: 600;
    color: #334155;
}

.auth-card .auth-form .form-control {
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
    padding: 1rem 1rem;
}

.auth-card .auth-form .form-control:focus {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 0.15rem rgba(59, 130, 246, 0.12);
}

.auth-card .auth-form .form-check-label {
    color: #475569;
}

.auth-card .auth-form .text-primary {
    color: #2563eb !important;
}

.feature-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
}

.auth-login-form,
.auth-register-form {
    width: 100%;
    margin-top: 1rem;
}

.auth-card .auth-form .btn-brand {
    box-shadow: 0 18px 40px rgba(59, 130, 246, 0.18);
}

.profile-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.profile-avatar {
    width: 86px;
    height: 86px;
    border-radius: 24px;
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    font-weight: 700;
}

@media (max-width: 991px) {
    .sidebar {
        width: 100%;
        min-height: auto;
    }

    .main-navbar {
        border-radius: 0;
    }
}

.dashboard-body {

    background:#f8fafc;

    font-family:'Figtree',sans-serif;

}




/* NAVBAR */

.main-navbar {

    background:
    rgba(255,255,255,.85);

    backdrop-filter:blur(15px);

    border-bottom:
    1px solid #e2e8f0;

    position:sticky;

    top:0;

    z-index:100;

}



.brand-title {

    font-size:20px;

    font-weight:700;

    color:#1e40af;

}



.ai-badge {

    background:#dbeafe;

    color:#2563eb;

    padding:6px 14px;

    border-radius:50px;

    font-size:13px;

    font-weight:600;

}





.sidebar-toggle {

    border-radius:12px;

}





.welcome-text {

    color:#64748b;

    font-size:14px;

}





/* PROFILE BUTTON */


.profile-button {

    display:flex;

    align-items:center;

    gap:10px;

    padding:7px 14px;

    border-radius:50px;

    background:#f1f5f9;

    color:#334155;

    text-decoration:none;

    font-weight:500;

}



.profile-mini {

    width:32px;

    height:32px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:
    linear-gradient(
    135deg,
    #2563eb,
    #06b6d4
    );

    color:white;

}





/* CONTENT */


.content-wrapper {

    padding:25px;

}



.page-heading {

    margin-bottom:25px;

}



.dashboard-content {

    animation:fade .3s ease;

}



@keyframes fade {

    from {

        opacity:0;

        transform:translateY(10px);

    }


    to {

        opacity:1;

    }

}