/* ============================================================
   TMS — Main Stylesheet
   Color Palette:
     Crimson  #8B1A1A  (primary brand)
     Slate    #2C4A7C  (secondary / data)
     Gold     #E6A800  (accent / achievement)
     Gray-50  #F4F3F1  (page bg)
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=DM+Serif+Display&display=swap");

/* ============================================================
   Global Theme
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --crimson: #8b1a1a;
    --crimson-dark: #6a1212;
    --crimson-light: #fdf0f0;

    --slate: #2c4a7c;
    --slate-light: #eef2f8;

    --gold: #e6a800;

    --gray-50: #f4f3f1;
    --gray-100: #edecea;
    --gray-200: #d6d4cf;
    --gray-400: #9c9a95;
    --gray-600: #636159;
    --gray-800: #3a3935;
}

html,
body {
    min-height: 100%;
}

body {
    color: var(--gray-800);
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    background-color: var(--gray-50);
    position: relative;
}

/* Global background grid */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-size: 40px 40px;
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--slate);
    text-decoration: none;
}

a:hover {
    color: var(--crimson) !important;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "DM Serif Display", serif;
}

/* ============================================================
   Login Form
   ============================================================ */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}

.ftco-section {
    padding: 7em 0;
}

.heading-section {
    color: #000;
}

.checkbox-primary {
    color: var(--crimson);
}

.justify-content-center {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.container-box {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.login-wrap {
    position: relative;
    background: #fff;
    border-radius: 5px;
    -webkit-box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
    -moz-box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
    box-shadow: 0px 10px 34px -15px rgba(0, 0, 0, 0.24);
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.checkbox-wrap input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
}

.btn-color {
    color: var(--crimson);
}

#box {
    height: 0;
    opacity: 0;
    transition: height 0.3s, opacity 0.3s;
    overflow: hidden;
}

/* New login card design */
.accent-tl {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 280px;
    background: var(--crimson);
    opacity: 0.05;
    border-radius: 0 0 100% 0;
    pointer-events: none;
}

.accent-br {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 220px;
    height: 220px;
    background: var(--slate);
    opacity: 0.05;
    border-radius: 100% 0 0 0;
    pointer-events: none;
}

.login-page .card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    width: 100%;
    max-width: 420px;
    padding: 44px 40px 36px;
    box-shadow: 0 14px 32px rgba(58, 57, 53, 0.08);
}

.login-page .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 44px;
    right: 44px;
    height: 3px;
    background: var(--crimson);
    border-radius: 0 0 4px 4px;
}

.login-page .card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    border-bottom: none;
    padding: 0;
    margin-bottom: 36px;
}

.login-page .logo-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--crimson-light);
    border: 1.5px solid rgba(139, 26, 26, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.login-page .logo-wrap img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.login-page .card-header h1 {
    font-family: "DM Serif Display", serif;
    font-size: 26px;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.login-page .card-header p {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 0;
}
.login-page .login-system-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    margin: 2px 0 0;
}

.login-page .org-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--slate-light);
    color: var(--slate);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 11px;
    border-radius: 20px;
    margin-top: 12px;
}

.login-page .field {
    margin-bottom: 18px;
}

.login-page .field label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 7px;
    letter-spacing: 0.03em;
}

.login-page .input-wrap {
    position: relative;
}

.login-page .input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
    display: flex;
}

.login-page input[type="email"],
.login-page input[type="password"],
.login-page input[type="text"] {
    width: 100%;
    height: 46px;
    border: 1.5px solid var(--gray-200);
    border-radius: 11px;
    padding: 0 44px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    color: var(--gray-800);
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.login-page input:focus {
    border-color: var(--slate);
    box-shadow: 0 0 0 3px rgba(44, 74, 124, 0.09);
}

.login-page input::placeholder {
    color: var(--gray-400);
    font-size: 13px;
}

.login-page .eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    display: flex;
    padding: 4px;
    border-radius: 6px;
    transition: color 0.15s;
}

.login-page .eye-btn:hover {
    color: var(--gray-600);
}

.login-page .options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.login-page .check-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--gray-600);
    cursor: pointer;
    user-select: none;
}

.login-page .check-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--crimson);
    cursor: pointer;
}

.login-page .forgot-link {
    font-size: 13px;
    color: var(--crimson);
    text-decoration: none;
    font-weight: 500;
}

.login-page .forgot-link:hover {
    text-decoration: underline;
}

.login-page .btn-signin {
    width: 100%;
    height: 48px;
    background: var(--crimson);
    color: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s, transform 0.1s;
}

.login-page .btn-signin:hover {
    background: var(--crimson-dark);
    color: #fff !important;
}

.login-page .btn-signin:active {
    transform: scale(0.99);
}

.login-page .support-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 13px;
    color: var(--gray-400);
    text-decoration: none;
    margin-top: 16px;
}

.login-page .support-link:hover {
    color: var(--slate) !important;
}

.login-page .support-link span {
    text-decoration: underline;
}

.login-page .card-footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
}

.login-page .card-footer p,
.login-page .card-footer a {
    font-size: 11px;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 0;
}

.login-page .card-footer a:hover {
    color: var(--slate) !important;
}

/* Existing old login background styles */
.fullBg {
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    background: transparent;
}

.login-dark {
    height: 1000px;
    position: fixed;
}

.login-dark .illustration {
    text-align: center;
    padding: 15px 0 20px;
    font-size: 40px;
    color: #ffffff;
}

.login-dark form {
    height: auto;
    width: -webkit-fill-available;
    background-color: #1e2833ab;
    padding: 40px;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
}

.icheck-primary {
    margin-bottom: 10px;
}

.login-box {
    width: 480px !important;
}

/* Login page title */
.login-main-title {
    font-family: "DM Sans", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 220px;
    text-align: center;
}

/* Login icon circle */
.login-wrap .icon {
    width: 80px;
    height: 80px;
    background: var(--crimson);
    border-radius: 50%;
    font-size: 30px;
    margin: 0 auto;
    margin-bottom: 10px;
}

/* ============================================================
   Notifications / Dropdown
   ============================================================ */

.badge {
    padding: 3px 5px 2px;
    position: absolute;
    top: 8px;
    right: 1px;
    display: inline-block;
    min-width: 10px;
    font-size: 8px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
}

.dropdown {
    display: inline-block;
    margin-left: 20px;
    padding: 10px;
}

.item-info-container {
    float: left;
}

.make-read-container {
    float: right;
}

.glyphicon-bell {
    font-size: 1.5rem;
}

.notifications {
    min-width: 420px;
}

.notifications-wrapper {
    overflow: auto;
    max-height: 250px;
}

.menu-title {
    color: var(--crimson);
    font-size: 1.5rem;
    display: inline-block;
}

.glyphicon-circle-arrow-right {
    margin-left: 10px;
}

.notification-heading,
.notification-footer {
    padding: 2px 10px;
}

.dropdown-menu.divider {
    margin: 5px 0;
}

.item-title {
    color: #000;
}

.item-info {
    font-size: 13px;
}

.notifications a.content {
    text-decoration: none;
    background: #cccccc;
}

.notification-item {
    padding: 10px;
    margin: 5px;
    background-color: rgba(139, 26, 26, 0.08);
    border-radius: 4px;
}

.dropdown-menu {
    top: 46px;
}

@media screen and (max-width: 768px) {
    #box {
        padding: 10px;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #fff;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }
}

@media screen and (min-width: 769px) {
    #box {
        padding: 10px;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #fff;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }
}

/* ============================================================
   Buttons / Pagination / Forms
   ============================================================ */

.btn-info {
    background-color: var(--crimson) !important;
    border-color: var(--crimson) !important;
    color: #fff !important;
}

.btn-info:hover {
    color: #fff !important;
    background-color: var(--crimson-dark) !important;
    border-color: var(--crimson-dark) !important;
}

.page-item.active .page-link {
    background-color: var(--crimson) !important;
    border-color: var(--crimson) !important;
}

div.dataTables_processing > div:last-child > div {
    background-color: var(--crimson);
}

ul.alert-danger {
    list-style: none;
}

.input-container {
    position: relative;
}

.icon {
    top: 50%;
    right: 10px;
}

.align-items-center {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}

.form-group.required .control-label:after {
    content: "*";
    color: red;
}

.chosen-select {
    width: 100%;
    padding: 8px;
    font-size: 14px;
}

.invalid-feedback {
    display: block;
}

.accordion {
    width: 100%;
}

.modal {
    overflow-y: auto !important;
}

.input-group-btn {
    width: auto !important;
}

/* Select2 */
.select2-selection__rendered {
    line-height: 30px !important;
}

.select2-container .select2-selection--single {
    height: 40px !important;
    padding-left: 5px !important;
}

.select2-selection__arrow {
    height: 34px !important;
}

/* Application quick action buttons */
.application-quick__actions {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    align-content: center;
}

/* ============================================================
   Navbar
   ============================================================ */

.nav-1 {
    background-color: var(--crimson) !important;
}

.nav-2 {
    background-color: transparent !important;
    color: #555555;
}

.nav-link.active:hover {
    color: #ffffff !important;
    text-decoration: none;
}

.nav-link:not(.active):hover {
    color: var(--crimson) !important;
    text-decoration: none;
}

.nav-item > .nav-treeview {
    padding-left: 12px;
}

.nav-sidebar > .nav-item .nav-icon.far {
    font-size: 0.9rem;
}

/* ============================================================
   Footer
   ============================================================ */

.main-footer {
    background: #fff;
    border-top: 1px solid var(--gray-200);
    color: #7b8794;
    padding: 18px 30px;
    font-size: 14px;
}

/* normal expanded sidebar */
body:not(.sidebar-collapse) .main-footer {
    margin-left: 250px !important;
}

/* collapsed sidebar */
body.sidebar-collapse .main-footer {
    margin-left: 4.6rem !important;
}

/* mobile */
@media (max-width: 991.98px) {
    body:not(.sidebar-collapse) .main-footer,
    body.sidebar-collapse .main-footer {
        margin-left: 0 !important;
    }
}

/* ============================================================
   Dashboard Boxes
   ============================================================ */

.longer {
    height: 205px !important;
    line-height: 132px !important;
    margin-bottom: 18px !important;
}

.extra-padding .info-box {
    margin-bottom: 1.2em !important;
}

span.info-box-icon {
    background: rgba(0, 0, 0, 0.2);
}

.small-box {
    border-radius: 2px;
    position: relative;
    display: block;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.small-box > .inner {
    padding: 10px;
}

.small-box > .small-box-footer {
    position: relative;
    text-align: center;
    padding: 3px 0;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    z-index: 10;
    background: rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.small-box > .small-box-footer:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.15);
}

.small-box h3 {
    font-size: 38px;
    font-weight: bold;
    margin: 0 0 10px 0;
    white-space: nowrap;
    padding: 0;
}

.small-box p {
    font-size: 15px;
}

.small-box p > small {
    display: block;
    color: #f9f9f9;
    font-size: 13px;
    margin-top: 5px;
}

.small-box h3,
.small-box p {
    z-index: 5;
}

.small-box .icon {
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    position: absolute;
    top: -10px;
    right: 10px;
    z-index: 0;
    color: rgba(0, 0, 0, 0.15);
    font-size: 165px;
    width: 20% !important;
    height: 20% !important;
}

.small-box:hover {
    text-decoration: none;
    color: #f9f9f9;
}

.small-box:hover .icon {
    font-size: 15px !important;
    height: 15px !important;
    width: 15px !important;
}

@media (max-width: 767px) {
    .small-box {
        text-align: center;
    }

    .small-box .icon {
        display: none;
    }

    .small-box p {
        font-size: 12px;
    }
}

/* Blue gradient overrides — replaced with slate */
.bg-blue-gradient {
    background: var(--slate) !important;
    color: #fff;
}

.bg-light-blue-gradient {
    background: #3b6acc !important;
    color: #fff;
}

/* Disabled links */
.anchor-disabled {
    opacity: 0.4;
    pointer-events: none;
    -webkit-touch-callout: none;
}

/* ============================================================
   Ajax Loader
   ============================================================ */

.loading-overlay {
    display: none;
    background: rgba(255, 255, 255, 0.7);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9998;
    align-items: center;
    justify-content: center;
}

.loading-overlay.is-active {
    display: flex;
    flex-direction: column;
}

/* ============================================================
   Preloader
   ============================================================ */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid var(--slate);
    border-top-color: var(--slate-light);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================================
   Back to top button
   ============================================================ */

.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: var(--crimson);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: var(--slate);
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/* ============================================================
   Top Bar
   ============================================================ */

#topbar {
    background: var(--slate);
    height: 40px;
    font-size: 14px;
    transition: all 0.5s;
    color: #fff;
    padding: 0;
}

#topbar .contact-info i {
    font-style: normal;
    color: #fff;
}

#topbar .contact-info i a,
#topbar .contact-info i span {
    padding-left: 5px;
    color: #fff;
}

#topbar .contact-info i a {
    line-height: 0;
    transition: 0.3s;
}

#topbar .contact-info i a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ============================================================
   Header
   ============================================================ */

#header {
    background: #fff;
    transition: all 0.5s;
    z-index: 997;
    padding: 20px 0;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.05);
}

#header .logo {
    font-size: 32px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: "DM Sans", sans-serif;
}

#header .logo a {
    color: #222222;
}

#header .logo a span {
    color: var(--slate);
}

#header .logo img {
    max-height: 65px;
}

.scrolled-offset {
    margin-top: 70px;
}

/* ============================================================
   Navigation Menu — Desktop
   ============================================================ */

.navbar-landing {
    padding: 0;
}

.navbar-landing ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar-landing li {
    position: relative;
}

.navbar-landing > ul > li {
    white-space: nowrap;
    padding: 10px 0 10px 10px;
}

.navbar-landing a,
.navbar-landing a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px;
    font-size: 15px;
    font-weight: 600;
    color: #222222;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
}

.navbar-landing a i,
.navbar-landing a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar-landing > ul > li > a:before {
    content: "";
    position: absolute;
    width: 0px;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--crimson);
    visibility: hidden;
    transition: all 0.3s ease-in-out 0s;
}

.navbar-landing a:hover:before,
.navbar-landing li:hover > a:before,
.navbar-landing .active:before {
    visibility: visible;
    width: 100%;
}

.navbar-landing a:hover,
.navbar-landing .active,
.navbar-landing .active:focus,
.navbar-landing li:hover > a {
    color: var(--crimson);
}

.navbar-landing .btn-get-started {
    font-family: "DM Sans", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    transition: 0.5s;
    margin-left: 5px;
    color: #fff;
    background: var(--crimson);
}

.navbar-landing .btn-get-started:hover {
    background: var(--slate);
}

/* ============================================================
   Navigation Menu — Mobile
   ============================================================ */

.mobile-nav-toggle {
    color: #222222;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

.mobile-nav-toggle.fa-times {
    color: #fff;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar-landing ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(9, 9, 9, 0.9);
    transition: 0.3s;
    z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: #222222;
}

.navbar-mobile > ul > li {
    padding: 0;
}

.navbar-mobile a:hover:before,
.navbar-mobile li:hover > a:before,
.navbar-mobile .active:before {
    visibility: hidden;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
    color: var(--crimson);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
    margin: 15px;
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown ul a {
    padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
    color: var(--crimson);
}

.navbar-mobile .dropdown > .dropdown-active {
    display: block;
}

/* ============================================================
   Hero Section
   ============================================================ */

#hero {
    width: 100%;
    height: 75vh;
    background: transparent;
}

#hero h1 {
    font-size: 42px;
    font-weight: 500;
    line-height: 56px;
    color: var(--slate);
    text-transform: uppercase;
}

#hero h2 {
    color: #555555;
    margin: 10px 0 0 0;
    font-size: 18px;
}

@media (max-width: 991px) {
    #hero {
        text-align: center;
    }

    #hero .hero-img img {
        width: 50%;
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    #hero h2 {
        font-size: 18px;
        line-height: 24px;
    }

    #hero .hero-img img {
        width: 80%;
        padding-bottom: 10px;
    }
}

/* ============================================================
   Sections General
   ============================================================ */

section {
    padding: 60px 0;
    overflow: hidden;
}

.section-bg {
    background-color: #fff;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 700;
    padding: 8px 20px;
    margin: 0;
    background: var(--crimson-light);
    color: var(--crimson);
    display: inline-block;
    text-transform: uppercase;
    border-radius: 50px;
}

.section-title h3 {
    margin: 15px 0 0 0;
    font-size: 32px;
    font-weight: 700;
}

.section-title h3 span {
    color: var(--slate);
}

.section-title p {
    margin: 15px auto 0 auto;
    font-weight: 600;
}

@media (min-width: 1024px) {
    .section-title p {
        width: 50%;
    }
}

/* ============================================================
   About
   ============================================================ */

.about .content h3 {
    font-weight: 600;
    font-size: 26px;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
}

.about .content ul li:first-child {
    margin-top: 35px;
}

.about .content ul i {
    background: #fff;
    box-shadow: 0px 6px 15px rgba(139, 26, 26, 0.1);
    font-size: 24px;
    padding: 20px;
    margin-right: 15px;
    color: var(--crimson);
    border-radius: 50px;
}

.about .content ul h5 {
    font-size: 18px;
    color: #555555;
}

.about .content ul p {
    font-size: 15px;
}

.about .content p:last-child {
    margin-bottom: 0;
}

.about .btn-get-started {
    font-family: "DM Sans", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    transition: 0.5s;
    margin-left: 5px;
    text-align: center;
    color: #fff;
    background: var(--crimson);
    border: none;
}

.about .btn-get-started:hover {
    background: var(--slate);
}

/* ============================================================
   Services
   ============================================================ */

.service .icon-box {
    text-align: center;
    border: 1px solid #f5c4c4;
    padding: 50px 20px;
    transition: all ease-in-out 0.3s;
    background: #fff;
}

.service .icon-box .icon {
    margin: 0 auto;
    width: 64px;
    height: 64px;
    background: var(--crimson-light);
    border-radius: 4px;
    border: 1px solid rgba(139, 26, 26, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: ease-in-out 0.3s;
}

.service .icon-box .icon i {
    color: var(--crimson);
    font-size: 28px;
    transition: ease-in-out 0.3s;
}

.service .icon-box h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 24px;
}

.service .icon-box h4 a {
    color: #222222;
    transition: ease-in-out 0.3s;
}

.service .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.service .icon-box:hover {
    border-color: #fff;
    box-shadow: 0px 0 25px 0 rgba(139, 26, 26, 0.1);
}

.service .icon-box:hover h4 a,
.service .icon-box:hover .icon i {
    color: var(--crimson);
}

.service .icon-box:hover .icon {
    border-color: var(--crimson);
}

/* ============================================================
   Contact
   ============================================================ */

.contact {
    background-color: #fff;
}

.contact .info {
    width: 100%;
    background: var(--gray-50);
    padding: 20px;
    border-radius: 10px;
}

.contact .info i {
    font-size: 20px;
    color: var(--crimson);
    float: left;
    width: 44px;
    height: 44px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
}

.contact .info h4 {
    padding: 0 0 0 60px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--slate);
}

.contact .info p {
    padding: 0 0 0 60px;
    margin-bottom: 0;
    font-size: 14px;
    color: var(--slate);
}

.contact .info .email,
.contact .info .phone {
    margin-top: 40px;
}

.contact .info .email:hover i,
.contact .info .address:hover i,
.contact .info .phone:hover i {
    background: var(--crimson);
    color: #fff;
}

.contact button.btn {
    font-family: "DM Sans", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    transition: 0.5s;
    margin-left: 5px;
    color: #fff;
    background: var(--crimson);
}

.contact button.btn:hover {
    background: var(--slate);
}

@-webkit-keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================================
   Landing Footer
   ============================================================ */

#footer {
    background: var(--gray-50);
    padding: 0 0 30px 0;
    color: #444444;
    font-size: 14px;
}

#footer .footer-top {
    padding: 60px 0 30px 0;
    background: #fff;
    text-align: center;
}

#footer .footer-top .footer-contact {
    margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
    font-size: 24px;
    margin: 0 0 15px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
}

#footer .footer-top .footer-contact h3 span {
    color: var(--crimson);
}

#footer .footer-top .footer-contact p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "DM Sans", sans-serif;
    color: #777777;
}

#footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: #444444;
    position: relative;
    padding-bottom: 12px;
}

#footer .copyright {
    text-align: center;
    float: left;
}

#footer .credits {
    float: right;
    text-align: center;
    font-size: 13px;
    color: #444444;
}

@media (max-width: 768px) {
    #footer .copyright,
    #footer .credits {
        float: none;
        text-align: center;
        padding: 2px 0;
    }
}

/* ============================================================
   Misc
   ============================================================ */

.layout-fixed .control-sidebar {
    height: 230px !important;
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#addExtraFormButton {
    display: none;
}

.custom-ul ul {
    max-height: 120px !important;
    overflow-y: auto;
}

/* Sidebar logo toggle */
#logo-open {
    display: none;
}

.navbar-open #logo-closed {
    display: none;
}

.navbar-open #logo-open {
    display: inline-block;
}

/* Toggle switch */
.switch {
    display: inline-block;
    height: 20px;
    position: relative;
    width: 43px;
}

.switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.4s;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 13px;
    left: 4px;
    position: absolute;
    transition: 0.4s;
    width: 13px;
}

input:checked + .slider {
    background-color: var(--crimson);
}

input:checked + .slider:before {
    transform: translateX(21px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.small-image {
    width: 20px;
    height: auto;
    filter: brightness(100%) contrast(150%);
}

.login-page .card-footer.login-footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-100);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

.login-page .card-footer.login-footer p {
    font-size: 11px;
    color: var(--gray-400);
    margin: 0;
    line-height: 1.4;
}

.login-page .card-footer.login-footer a {
    color: var(--slate);
    font-weight: 600;
    text-decoration: none;
}

.login-page .card-footer.login-footer a:hover {
    color: var(--crimson) !important;
    text-decoration: underline;
}

/* ============================================================
   AdminLTE Safe Overrides
   These protect AdminLTE pages from login-page card/input styles.
   Keep this section at the bottom of style.css.
   ============================================================ */

body:not(.login-page) .wrapper,
body:not(.login-page) .content-wrapper {
    background: transparent !important;
}

.content-wrapper {
    padding-bottom: 24px;
}

.content-wrapper .content-header {
    padding: 28px 30px 10px;
}

.content-wrapper .content {
    padding: 0 30px 24px;
}

.content-wrapper .content-header h1,
.content-wrapper .page-title {
    font-family: "DM Serif Display", Georgia, serif;
    line-height: 1.2;
    font-weight: 400;
    color: var(--gray-800);
    margin: 0;
}

.content-wrapper .content-header h1::after,
.content-wrapper .page-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, var(--crimson), var(--slate));
    border-radius: 999px;
    margin-top: 12px;
}

/* Restore AdminLTE cards inside dashboard/content pages */
.content-wrapper .card {
    width: 100%;
    max-width: none;
    padding: 0;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(58, 57, 53, 0.08);
    overflow: hidden;
}

.content-wrapper .card::before {
    content: none !important;
}

.content-wrapper .card-header {
    background: #fff;
    border-bottom: 1px solid var(--gray-100);
    padding: 18px 22px;
    margin-bottom: 0;
    text-align: left;
    display: block;
}

.content-wrapper .card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
}

.content-wrapper .card-body {
    padding: 22px;
}

.content-wrapper .card-footer {
    background: #fff;
    border-top: 1px solid var(--gray-100);
    padding: 14px 22px;
}

/* Buttons inside dashboard */
.content-wrapper .btn {
    border-radius: 9px;
    font-weight: 600;
    padding: 8px 16px;
    box-shadow: none !important;
}

.content-wrapper .btn-primary,
.content-wrapper .btn-info,
.content-wrapper .btn-success {
    background-color: var(--crimson) !important;
    border-color: var(--crimson) !important;
    color: #fff !important;
}

.content-wrapper .btn-primary:hover,
.content-wrapper .btn-info:hover,
.content-wrapper .btn-success:hover {
    background-color: var(--crimson-dark) !important;
    border-color: var(--crimson-dark) !important;
    color: #fff !important;
}

.content-wrapper .btn-secondary {
    background-color: var(--slate) !important;
    border-color: var(--slate) !important;
    color: #fff !important;
}

/* Better action button layout */
.content-wrapper .table-actions,
.content-wrapper .action-buttons,
.content-wrapper .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}

/* Forms inside dashboard */
.content-wrapper .form-control,
.content-wrapper .custom-select,
.content-wrapper select,
.content-wrapper input[type="search"] {
    border: 1px solid var(--gray-200);
    border-radius: 9px;
    color: var(--gray-800);
    box-shadow: none !important;
}

.content-wrapper .form-control:focus,
.content-wrapper .custom-select:focus,
.content-wrapper select:focus,
.content-wrapper input[type="search"]:focus {
    border-color: var(--slate);
    box-shadow: 0 0 0 3px rgba(44, 74, 124, 0.09) !important;
}

.content-wrapper label {
    color: var(--gray-600);
    font-weight: 600;
}

/* DataTables */
.content-wrapper .dataTables_wrapper {
    width: 100%;
}

.content-wrapper .dataTables_length,
.content-wrapper .dataTables_filter {
    margin-bottom: 16px;
}

.content-wrapper .dataTables_length label,
.content-wrapper .dataTables_filter label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.content-wrapper .dataTables_length select {
    width: auto;
    min-width: 70px;
    margin: 0 6px;
}

.content-wrapper .dataTables_filter input {
    margin-left: 8px;
}

.content-wrapper .table,
.content-wrapper .dataTable {
    width: 100% !important;
    background: #fff;
    margin-bottom: 0;
}

.content-wrapper .table thead th,
.content-wrapper .dataTable thead th {
    color: var(--gray-800);
    font-weight: 700;
    background: #fff;
    border-top: 1px solid var(--gray-200) !important;
    border-bottom: 1px solid var(--gray-200) !important;
    vertical-align: middle;
}

.content-wrapper .table tbody td,
.content-wrapper .dataTable tbody td {
    color: var(--gray-800);
    vertical-align: middle;
}

.content-wrapper .table-bordered td,
.content-wrapper .table-bordered th {
    border-color: var(--gray-200) !important;
}

.content-wrapper .dataTables_info {
    color: var(--gray-600);
    font-size: 14px;
    padding-top: 14px !important;
}

.content-wrapper .dataTables_paginate {
    padding-top: 10px;
}

.content-wrapper .page-link {
    color: var(--slate);
    border-color: var(--gray-200);
    box-shadow: none !important;
}

.content-wrapper .page-link:hover {
    color: var(--crimson);
    background-color: var(--crimson-light);
    border-color: rgba(139, 26, 26, 0.18);
}

.content-wrapper .page-item.active .page-link {
    background-color: var(--crimson) !important;
    border-color: var(--crimson) !important;
    color: #fff !important;
}

.content-wrapper .table-responsive {
    border-radius: 12px;
    overflow-x: auto;
}

/* Sidebar and navbar */
.main-sidebar {
    box-shadow: 4px 0 18px rgba(58, 57, 53, 0.08);
}

.nav-sidebar .nav-link {
    border-radius: 8px;
    margin: 4px 8px;
}

.nav-sidebar .nav-link.active {
    background-color: var(--crimson) !important;
    color: #fff !important;
}

.nav-sidebar .nav-link:hover {
    background-color: var(--crimson-light);
    color: var(--crimson) !important;
}

.nav-sidebar .nav-link.active i,
.nav-sidebar .nav-link.active p {
    color: #fff !important;
}

.main-header {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
}

.main-header .nav-link {
    color: var(--gray-600);
}

.main-header .nav-link:hover {
    color: var(--crimson) !important;
}

.main-footer {
    background: #fff;
    border-top: 1px solid var(--gray-200);
    color: #7b8794;
    padding: 18px 30px;
    font-size: 14px;
}

.main-footer a {
    color: var(--slate);
    font-weight: 700;
}

.main-footer a:hover {
    color: var(--crimson) !important;
}

/* Mobile */
@media (max-width: 768px) {
    .content-wrapper .content-header {
        padding: 22px 16px 8px;
    }

    .content-wrapper .content {
        padding: 0 16px 20px;
    }

    .content-wrapper .content-header h1,
    .content-wrapper .page-title {
        font-size: 26px;
    }

    .content-wrapper .card-body {
        padding: 16px;
    }

    .content-wrapper .table-actions,
    .content-wrapper .action-buttons,
    .content-wrapper .dt-buttons {
        justify-content: flex-start;
    }
}

/* ── Action button base ── */
.btn-action {
    border-radius: 7px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    background: #fff !important;
    transition: all 0.15s ease !important;
    border-width: 1.5px !important;
    border-style: solid !important;
    margin-bottom: 4px;
}

/* Edit — Maroon */
.btn-action-btn {
    color: #8b1a1a !important;
    border-color: #8b1a1a !important;
}
.btn-action-btn:hover {
    background: #8b1a1a !important;
    color: #fff !important;
}

/* View/Show — Neutral */
.btn-action-history {
    color: #444 !important;
    border-color: #aaa !important;
}
.btn-action-history:hover {
    background: #444 !important;
    color: #fff !important;
    border-color: #444 !important;
}

/* History — Slate */
.btn-action-view {
    color: #2c4a7c !important;
    border-color: #2c4a7c !important;
}
.btn-action-view:hover {
    background: #2c4a7c !important;
    color: #fff !important;
}

/* PDF — Gold */
.btn-action-pdf {
    color: #9a6800 !important;
    border-color: #e6a800 !important;
}
.btn-action-pdf:hover {
    background: #e6a800 !important;
    color: #fff !important;
}

/* PDF — Gold */
.btn-action-add {
    color: #0b5d1e !important;
    border-color: #0f7a2a !important;
}
.btn-action-add:hover {
    background: #0f7a2a !important;
    color: #fff !important;
}

/* Delete — RED, clearly different from Edit */
.btn-action-delete {
    color: #c0392b !important;
    border-color: #c0392b !important;
    background: #fff !important;
}
.btn-action-delete:hover {
    background: #c0392b !important;
    color: #fff !important;
    border-color: #c0392b !important;
}

/* Add Session — Amber */
.btn-action-edit {
    color: #9a6800 !important;
    border-color: #e6a800 !important;
}

.btn-action-edit:hover {
    background-color: #e6a800 !important;
    border-color: #e6a800 !important;
    color: #fff !important;
}

/* Edit Session — Purple */
.btn-action-session-edit {
    color: #6b46c1 !important;
    border-color: #6b46c1 !important;
}

.btn-action-session-edit:hover {
    background-color: #6b46c1 !important;
    border-color: #6b46c1 !important;
    color: #fff !important;
}

/* Add Resource — Teal */
.btn-action-resource-add {
    color: #0f766e !important;
    border-color: #0f766e !important;
}

.btn-action-resource-add:hover {
    background-color: #0f766e !important;
    border-color: #0f766e !important;
    color: #fff !important;
}

.modern-stat-card {
    position: relative;
    min-height: 145px;
    padding: 22px 24px;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff, #faf7f7);
    border: 1px solid rgba(128, 0, 0, 0.1);
    box-shadow: 0 10px 25px rgba(30, 30, 30, 0.06);
    overflow: hidden;
    transition: all 0.25s ease;
}

.modern-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(128, 0, 0, 0.12);
}

.modern-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #800000;
}

.modern-stat-card::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(128, 0, 0, 0.06);
}

.modern-stat-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.modern-stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(128, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-stat-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.modern-stat-body h3 {
    font-size: 40px;
    line-height: 1;
    font-weight: 800;
    color: #800000;
    margin: 0 0 10px;
}

.modern-stat-body p {
    font-size: 15px;
    font-weight: 600;
    color: #3f3f46;
    margin: 0;
}

/* Package — Maroon */
.modern-stat-card.package-card::before {
    background: #800000;
}

.modern-stat-card.package-card .modern-stat-body h3 {
    color: #800000;
}

.modern-stat-card.package-card .modern-stat-icon {
    background: rgba(128, 0, 0, 0.08);
}

/* Trainer — Dark Green */
.modern-stat-card.trainer-card::before {
    background: #0f766e;
}

.modern-stat-card.trainer-card .modern-stat-body h3 {
    color: #0f766e;
}

.modern-stat-card.trainer-card .modern-stat-icon {
    background: rgba(15, 118, 110, 0.1);
}

.modern-stat-card.trainer-card::after {
    background: rgba(15, 118, 110, 0.06);
}

/* Participant — Navy Blue */
.modern-stat-card.participant-card::before {
    background: #1e3a8a;
}

.modern-stat-card.participant-card .modern-stat-body h3 {
    color: #1e3a8a;
}

.modern-stat-card.participant-card .modern-stat-icon {
    background: rgba(30, 58, 138, 0.1);
}

.modern-stat-card.participant-card::after {
    background: rgba(30, 58, 138, 0.06);
}

@media (max-width: 768px) {
    .modern-stat-card {
        margin-bottom: 18px;
    }

    .modern-stat-body h3 {
        font-size: 34px;
    }
}

#calendar {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    font-family: Inter, sans-serif;
}

.fc .fc-toolbar {
    padding: 10px 6px;
    margin-bottom: 10px;
}

.fc .fc-toolbar-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.fc .fc-button {
    background: #f3f4f6;
    border: none;
    color: #374151;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: none;
    transition: 0.2s ease;
}

.fc .fc-button:hover {
    background: #e5e7eb;
}

.fc .fc-button-primary:not(:disabled).fc-button-active {
    background: #4f46e5;
    color: #fff;
}

.fc .fc-daygrid-day {
    border: 1px solid #f3f4f6;
}

.fc .fc-daygrid-day:hover {
    background: #f9fafb;
}

.fc .fc-day-today {
    background: #eef2ff !important;
}

.fc-event {
    border: none !important;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 12px;
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
    overflow: hidden;
    white-space: nowrap;
}


.fc-event:hover {
    transform: scale(1.03);
    transition: 0.15s ease-in-out;
    cursor: pointer;
}

/* Remove the purple/blue event row background in list view */
.fc-list-event td {
    background-color: #ffffff !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

/* Make the time/all-day cell neutral */
.fc-list-event-time {
    color: #6b7280 !important;
    font-size: 12px !important;
    background-color: #ffffff !important;
}

/* Make event title dark and readable */
.fc-list-event-title {
    background-color: #ffffff !important;
}

.fc-list-event-title a {
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

/* Hover state */
.fc-list-event:hover td {
    background-color: #f9fafb !important;
}

/* Increase dot size for better visibility */
.fc-list-event-dot {
    border-width: 7px !important;
}

/* Day header row */
.fc-list-day-cushion {
    background-color: #f9fafb !important;
}

.fc-list-day-text,
.fc-list-day-side-text {
    color: #374151 !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}
/* L2 — no icon, left-border grouping line */
.nav-l2 > .nav-item > .nav-l2-link {
    padding-left: 1.2rem;
    border-left: 2px solid #c8d8c8;
    margin-left: 1.4rem;
    font-size: 0.85rem;
    color: #444;
}

.nav-l2 > .nav-item > .nav-l2-link:hover,
.nav-l2 > .nav-item > .nav-l2-link.nav-2 {
    color: #8b1a1a;
}

/* L3 — dot bullet, smaller text, deeper indent */
.nav-l3 > .nav-item > .nav-l3-link {
    padding-left: 1rem;
    font-size: 0.80rem;
    color: #555;
}

.nav-l3 > .nav-item > .nav-l3-link .nav-icon {
    font-size: 0.45rem;
    vertical-align: middle;
    margin-right: 6px;
    opacity: 0.6;
}

.nav-l3 > .nav-item > .nav-l3-link.active {
    color: #2a5a2a;
    font-weight: 500;
}

.nav-sidebar .nav-link>.right, .nav-sidebar .nav-link>p>.right {
    position: absolute;
    right: 1.7rem;
    top: .7rem;
}