.main-body {
    width: 100%;
}

.custom-container {
    display: flex;
    justify-content: space-around;
    height: 100vh;
}

button {
    width: auto;
    font-weight: bold;
    text-decoration: black;
}

.custom-input {
    border: 2px solid rgba(0, 0, 0, 0.4);
    /* 40% black border */
    background-color: transparent;
    /* Keep background transparent */
    color: #000;
    /* Keep text black */
    font-weight: bold;
    /* Optional: Makes text bold */
    font-size: 14px;
    /* Smaller text */
    width: 70%;
    /* Adjust height */
}


/* .text-registration {
    font-weight: bold;
    color: #585656;
    font-size: 18px;
} */

.regis-design {
    font-weight: bold;
    font-size: 40px;
    /* color: #9D7FE8; */
    color: #d84e35ff;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 30px;
}

.left-column {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    /* Full height */
    width: 25%;
    /* Adjust based on your design */
    /* background-color: #9D7FE8; */
    background-color: rgba(160, 52, 33, 0.793);
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-column {
    margin-left: 25%;
    /* Push content to the right */
    padding: 20px;
    width: 75%;
    /* Adjust based on your design */
}

.landing-logo {
    max-height: 50px;
    /* Adjust this value as needed */
    width: auto;
    /* Maintain aspect ratio */
}

.nav-item {
    font-weight: bold;
    color: black;
}

.landing-nav {
    font-size: 18px;
}

.title {
    font-size: 18px;
}

.scan-title {
    font-size: 50px;
}

/* ADMIN */

.admin-dashboard {
    display: flex;
}

.dashboard-logo {
    max-height: 100px;
    /* Adjust this value as needed */
    width: auto;
    /* Maintain aspect ratio */
}

.total-text-1 {
    font-size: 15px;
    text-align: center;
    margin-top: 10px;
}

.row-text-total {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.wrap1 {
    width: 100%;
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    margin-top: 10px;
    gap: 10px;
}

.box1,
.box2 {
    flex: 1;
    /* Ensures they take equal width if needed */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centers content */
}


.box2 {
    background-color: #F3BFBF;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}

.box1 {
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box3,
.box4 {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    flex-direction: column;
    text-align: center;
}


.graph-gender {
    height: 200px;
}

.side-bar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 250px;
    background-color: #f8f9fa;
    transition: 0.3s ease-in-out;
    padding: 15px;
    z-index: 1000;

}

.side-bar.closed {
    left: -250px;
}

/* Main Content */
#content {
    margin-left: 250px;
    /* Adjust based on sidebar */
    width: calc(100% - 250px);
    transition: 0.3s ease-in-out;
}

#content.full-width {
    margin-left: 0;
    width: 100%;
}

.btn-gradient {
    background: linear-gradient(135deg, #9B6EF3, #6C4BC5);
    color: #fff !important;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #6C4BC5, #9B6EF3);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Burger Icon */
.side-bar-wrapper {
    position: fixed;
    z-index: 9;
}

#chartTypeSelector:focus {
    border-color: #9B6EF3;
    box-shadow: 0 0 0 0.25rem rgba(155, 110, 243, 0.25);
}

/* Sidebar styles (already present) */
.side-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    width: 250px;
    background-color: #f8f9fa;
    transition: left 0.3s ease-in-out;
    z-index: 1000;
}

/* When sidebar is closed */
.side-bar.closed {
    left: -250px;
}

/* Menu button - outside the sidebar, but moves with it */
.menu-btn {
    position: absolute;
    top: 15px;
    left: 250px;
    /* sticks just outside the sidebar */
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
    transition: left 0.3s ease-in-out;
}

/* When sidebar is closed, move button too */
.side-bar.closed+.menu-btn {
    left: 0;
}

.page-title {
    margin-left: 50px;
}

table.dataTable tbody tr.odd td {
    background-color: #EEE8FE !important;
}

/* member management */
.btn-small-width {
    width: 120px;
    height: 35px;
    font-weight: bold;
    border-radius: 10px;
}

.memberbg {
    border-radius: 25px;
}

.subs-top {
    margin-top: 20px;
    padding-top: 150px;
    padding-left: 300px;
}

.box-sub {
    width: 350px;
    border-radius: 8px;
}

.btn-subs {
    background-color: #d84e35ff;
    width: 100px;
    display: block;
    margin: 0 auto;
    border-radius: 50px;
    width: 250px;
    height: 45px;
    font-weight: bold;
    font-size: 15px;
}

.sub-price {
    font-size: 50px;
    font-weight: bold;
    color: #d84e35ff;
}

.subs-price-cut {
    display: flex;
    gap: 10px;
    text-align: center;
}

.subs-per {
    padding-top: 20px;
    color: #908e8ee2;
    font-weight: 500;
    text-align: justify;
}

.sub-btn-p {
    text-align: justify;
}

.choose {
    text-align: center;
}

.earnings-tab {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    /* allow wrapping on small screens */
    align-items: stretch;
    border-radius: 10px;
    margin-top: 30px;
    gap: 10px;
}

.box3,
.box4 {
    flex: 1 1 300px;
    /* grows, shrinks, minimum width */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.box3 {
    background-color: #B195DE;
}

.box4 {
    background-color: #B5E0E4;
}

.dashboard-logo {
    max-width: 100%;
    height: auto;
}

.top-right-button-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
}

.submenu {
    background-color: #f8f7fc;
    padding-left: 1rem;
    border-left: 2px solid #e5dbfd;
}

.submenu .nav-link {
    font-size: 0.9rem;
}

.table-wrapper {
    width: 100% !important;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.assign-btn {
    width: auto !important;
}

.bg-light-purple {
    background-color: #EDE7F6 !important;
}

.diet-table td {
    border: 1px solid black !important;
    padding: 20px !important;
    vertical-align: middle;
}

.diet-label {
    width: 160px;
    font-weight: 600;
}

.diet-text {
    font-size: 15px;
}

.submenu {
    display: none;
    background-color: #D9D9D9;
    padding-left: 0 !important;
    margin-left: 20px;
    border-radius: 10px;
    margin-top: 5px;
}

.submenu li {
    list-style: none;
    padding: 5px 20px;
}

.submenu li a {
    padding: 5px 20px;
}

.side-bar li:hover .submenu {
    display: block;
}

.side-bar li a:hover {
    background-color: #E5DBFD;
}

.selectedMenu .headMenu {
    background-color: #E5DBFD;
}

.selectedMenu .submenu {
    display: block !important;
}

.selectedMenu .selectedPage {
    background-color: #CFBCFC;
}

.calendarWrapper {
    background-color: #EDEBEB;
    border-radius: 10px;
    min-height: 85vh;
    width: 100%;
    max-width: 100%;
}

.text-purple {
    color: #9B6EF3;
}

/* Make the calendar container responsive if needed */
#instructorCalendar {
    width: 100%;
    overflow-x: auto;
}

/* Keep all text black */
.fc {
    color: #000 !important;
}

/* Keep lines as default gray – no override needed */

/* Highlight today with purple background */
.fc .fc-day-today {
    background-color: #f3e9ff !important;
    /* Light purple for today */
}

/* Optional: Add purple highlight when hovering on day slots */
.fc .fc-daygrid-day:hover,
.fc .fc-timegrid-slot:hover {
    background-color: #f3e9ff !important;
}

/* Optional: Highlight selected range in purple */
.fc .fc-highlight {
    background-color: #e5dbfd !important;
}

/* Force all calendar text to be black */
.fc,
.fc a,
.fc .fc-daygrid-day-number,
.fc .fc-event,
.fc .fc-col-header-cell-cushion {
    color: #000 !important;
    text-decoration: none !important;
    /* Removes underline from links too */
}

/* Make all FullCalendar buttons purple */
.fc .fc-button {
    background-color: #9B6EF3 !important;
    border-color: #9B6EF3 !important;
    color: #fff !important;
}

/* On hover */
.fc .fc-button:hover {
    background-color: #7f4fe0 !important;
    border-color: #7f4fe0 !important;
}

/* Active (currently selected view) */
.fc .fc-button-active {
    background-color: #5c3aa4 !important;
    border-color: #5c3aa4 !important;
    color: #fff !important;
}

/* Optional: focus ring color */
.fc .fc-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(155, 110, 243, 0.5);
}

.fc-today-button {
    width: auto;
}


button.audit-log-btn {
    margin-right: 8px;
    width: auto;
}


.notif-container {
    position: relative;
    display: inline-block;
}

.notif-btn {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 10px;
    background: #dc3545;
    color: #fff;
    border-radius: 999px;
    padding: 2px 6px;
}

.notif-menu {
    position: absolute;
    right: 0;
    top: 120%;
    width: 300px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    list-style: none;
    padding: 6px 0;
    margin: 6px 0 0;
    z-index: 1000;
    display: none;
}

.notif-menu.show {
    display: block;
}

.notif-item {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f2f4;
}

.notif-item:last-child {
    border-bottom: 0;
}

.notif-item.unread {
    background: #f8f9fa;
    font-weight: 600;
}

.notif-item a {
    text-decoration: none;
    color: #111827;
    display: block;
}

.notif-item.read a {
    color: #6b7280;
    font-weight: 400;
}

.notif-footer {
    text-align: center;
    padding: 6px 8px;
}

/* Scrollable notifications menu */
.notif-menu {
    max-height: 450px;
    /* limit height */
    overflow-y: auto;
    /* enable vertical scrolling */
    overflow-x: hidden;
    /* hide horizontal scroll */
}

/* Optional: nice scrollbar styling */
.notif-menu::-webkit-scrollbar {
    width: 6px;
}

.notif-menu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.notif-menu::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.archive-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    width: 100%;
}

/* Make the grey background fill the viewport height nicely */
.archive-bg {
    background-color: #EDEBEB;
    min-height: 80vh;
    padding-bottom: 24px;
}

/* Tabs feel wider and cleaner */
.nav-tabs .nav-link {
    padding: .6rem 1.25rem;
    font-weight: 600;
}

/* Sticky table header for long lists */
.table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8f9fa;
}

.table td,
.table th {
    vertical-align: middle;
}

/* Uniform empty state */
.empty-state {
    padding: 48px 0;
    text-align: center;
    color: #6c757d;
    font-weight: 500;
}

/* Filter drawer responsive width */
#filterDrawer {
    width: 400px;
    right: -400px;
}

.otp-input:focus {
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
}

.otp-input.is-invalid {
    border-color: #dc3545;
}

@media (max-width: 575.98px) {

    /* shrink avatar a bit on small screens */
    #content img.rounded-circle {
        width: 96px !important;
        height: 96px !important;
    }

    /* soften outer padding */
    #content .col.p-4 {
        padding: 1rem !important;
    }
}


@media (max-width: 767.98px) {
    .custom-mobile-padding {
        padding-top: 50px;
        /* adjust as needed */
    }
}

@media (max-width: 767px) {
    #content {
        margin-top: 50px;
    }
}


@media (min-width: 992px) {
    #filterDrawer {
        width: 480px;
        right: -480px;
    }
}

@media (max-width: 575.98px) {
    #filterDrawer {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 768px) {

    .box3,
    .box4 {
        flex: 1 1 100%;
    }

    .box4 .row-text-total {
        flex-direction: column;
    }

    .box4 .row-text-total .col {
        margin-bottom: 10px;
    }

    .box4 .row-text-total .col:last-child {
        margin-bottom: 0;
    }
}





@media (max-width: 768px) {

    .box1,
    .box2 {
        display: block;
        margin-bottom: 10px;
    }

    .wrap1 {
        display: block;
    }

    .side-bar {
        left: -250px;
    }

    .menu-btn {
        left: 0;
    }

    .side-bar.closed {
        left: 0;
    }

    .side-bar.closed+.menu-btn {
        left: 250px;
    }

    #content {
        margin-left: 0;
        width: 100%;
    }

    #content.full-width {
        margin-left: 0;
        width: 100%;
    }

    @media (min-width: 992px) {}

}

@media (max-width: 576px) {
    .fc .fc-toolbar-title {
        font-size: 1.1rem;
    }

    .fc .fc-button {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
}