@media (max-width: 575px) {
    .card-header {
        flex-wrap: wrap !important;
        gap: 10px !important;
        /* justify-content: space-between; */
    }
    .pi-chart {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        margin-bottom: 30px;
    }
    .newcard {
        display: flex !important;
        gap: 2px !important;
    }
    .dropdown-menu-end {
        right: 0 !important;
        left: 0px !important;
    }
    .topsectionheading {
        margin-right: 20px !important;
    }
    .controlercard {
        margin-left: -13px !important;
    }

    .marginclass {
        margin-top: 19px;
    }
    .main-nav {
        display: none;
    }
    .attendancereportcard {
        flex-direction: column;
        padding: 5px;
    }
    .hidereportcard {
        display: none !important;
    }
    .searchdatetype {
        display: flex;
        gap: 10px;
        justify-content: center;
    }
    .attendcard {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 22px;
    }
    .attendance-history-page {
        padding-top: 40px;
        margin-left: 20px !important;
        margin-right: 20px !important;
        padding-bottom: var(--bs-footer-height);
        background-color: white;
        padding-left: 30px;
        padding-right: 30px;
        margin-top: 30px;
        border-radius: 8px;
        margin-bottom: 80px;
    }
}
@media (min-width: 575px) {
    .newcard {
        display: flex !important;
        gap: 15px !important;
    }
    .hidesearchdatetype-card {
        display: none !important;
    }
}
@media (max-width: 574px) {
    .searchdatetype {
        display: unset !important;
    }

    .page-content {
        padding: 0px !important;
        margin-bottom: 30px !important;
    }

    .main-nav {
        display: none;
    }
    .hidereportcard {
        display: none !important;
    }
    .text-muted {
        flex-direction: column;
        gap: 7px;
        margin-bottom: 12px;
    }
}
@media (max-width: 425px) {
    .btn {
        font-size: 11px;
    }
    .hidepackagebtnbtn {
        display: block !important;
    }
    .hidepackagebtn {
        display: none;
    }
    .packagelistcls {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 31px;
    }
    .flexdirectionclas {
        flex-direction: column !important;
    }
    .newcard {
        align-items: center;
        display: flex !important;
    }
    .btnaddbtn {
        font-size: 10px;
    }
    .card-header {
        flex-wrap: wrap !important;
        /* gap: 10px !important */
        justify-content: space-between;
    }
    .search-btn-outer {
        width: 100% !important;
    }
    .anchortag {
        padding: 8px !important;
    }
    .anchortag a {
        padding: 8px 25px 8px 8px;
        width: 100%;
    }
}
@media (max-width: 992px) {
    .hidereportcard {
        display: none !important;
    }
    .main-nav {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .hidereportcard {
        display: none !important;
    }
    .btn {
        font-size: 11px;
    }
    .newcardinput {
        width: 55%;
    }
    /* .newcard {
        width: 100%;
    } */
    .newcardbutton {
        width: 37%;
    }
}

@media (min-width: 992px) {
    .attendacecardhide {
        display: none !important;
    }
}
/* toogle start  */
/* Scoped reset — affects only inside .mm-navbar-wrapper */
.mm-navbar-wrapper *,
.mm-navbar-wrapper *::after,
.mm-navbar-wrapper *::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.mm-navbar-wrapper {
    font-size: 62.5%;
}

.mm-container {
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

.mm-navbar {
    box-shadow: 0px 1px 1px 0px #aaa;
    position: fixed;
    width: 100%;
    background: #fff;
    color: #000;
    opacity: 0.85;
    z-index: 100;
}

.mm-navbar-container {
    display: flex;
    justify-content: space-between;
    height: 64px;
    align-items: center;
}

.mm-menu-items {
    order: 2;
    display: flex;
}

.mm-logo {
    order: 1;
    font-size: 2.3rem;
    width: 171px;
    height: auto;
    object-fit: contain;
    right: 29px;
}
@media (max-width: 480px) {
    .mm-logo {
        order: 1;
        font-size: 2.3rem;
        width: 171px;
        height: auto;
        object-fit: contain;
        right: 45px !important;
    }
}
@media (min-width: 481px) and(max-width: 768px) {
    .mm-logo {
        order: 1;
        font-size: 2.3rem;
        width: 210px;
        height: auto;
        object-fit: contain;
        right: 60px !important;
    }
}
@media (min-width: 769px) and(max-width: 1023px) {
    .mm-logo {
        order: 1;
        font-size: 2.3rem;
        width: 210px;
        height: auto;
        object-fit: contain;
        right: 60px !important;
    }
}
.mm-menu-items li {
    list-style: none;
    margin-left: 1.5rem;
    font-size: 1.3rem;
}

.mm-navbar a {
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.mm-navbar a:hover {
    color: #e50914;
}

/* Dropdown Styles */
.mm-dropdown {
    position: relative;
}

.mm-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.mm-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 18px;
}

.mm-submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease-in-out,
        opacity 0.3s ease;
    padding-left: 20px;
    opacity: 0;
}

.mm-submenu.open {
    max-height: 600px;
    opacity: 1;
}

.mm-submenu li {
    margin-left: 0;
    margin-top: 8px;
}

.mm-submenu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: #666;
    font-size: 0.8rem;
    border-radius: 6px;
}

.mm-submenu-link:hover {
    color: #e50914;
    /* background-color: #f5f5f5; */
}

.mm-submenu-link iconify-icon {
    color: #e50914;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 991px) {
    .mm-navbar {
        opacity: 0.95;
    }

    .mm-navbar-container .mm-hamburger-lines {
        display: block;
    }

    .mm-navbar-container {
        display: block;
        position: relative;
        height: 64px;
    }

    .mm-navbar-container .mm-hamburger-lines {
        display: block;
        height: 28px;
        width: 35px;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 102;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }

    .mm-navbar-container .mm-hamburger-lines .mm-line {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #333;
        transition: transform 0.3s ease-in-out;
    }

    .mm-navbar-container .mm-hamburger-lines .mm-line1.open {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mm-navbar-container .mm-hamburger-lines .mm-line2.open {
        transform: scaleY(0);
    }

    .mm-navbar-container .mm-hamburger-lines .mm-line3.open {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .mm-navbar .mm-menu-items {
        padding-top: 80px;
        padding-bottom: 40px;
        background: #000000ff;
        height: 109vh;
        max-width: 300px;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        /* margin-left: -20px; */
        padding-left: 40px;
        padding-right: 20px;
        transition: transform 0.5s ease-in-out;
        /* box-shadow: 5px 0px 10px 0px #aaa; */
        overflow-y: auto;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 101;
    }

    .mm-navbar .mm-menu-items.open {
        transform: translateX(0);
    }
    .wrapper {
        top: 100px;
        width: 100%;
        height: 100%;
        position: relative;
    }

    .mm-navbar .mm-menu-items li {
        margin-bottom: 0.5rem;
        margin-left: 0;
        font-size: 0.9rem;
        font-weight: 500;
    }

    .mm-menu-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-radius: 8px;
        transition: background-color 0.2s;
        width: 100%;
    }

    .mm-menu-link:hover {
        color: #e50914;
    }

    .mm-menu-link iconify-icon:first-child {
        font-size: 15px;
        flex-shrink: 0;
    }

    .mm-menu-link span {
        flex: 1;
    }

    .mm-logo {
        position: absolute;
        top: 10px;
        right: 75px;
        font-size: 2.5rem;
    }

    /* Backdrop */
    .mm-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 100;
    }

    /* Active NavLink styling */
    .mm-menu-link.active,
    .mm-submenu-link.active {
        border-left: 3px solid #e50914;
        color: #e50914;
        background-color: #363636;
    }

    .mm-menu-link.active:hover,
    .mm-submenu-link.active:hover {
        border-left: 3px solid #e50914;
        color: #e50914;
        background-color: #363636;
    }
}
@media (max-width: 480px) {
    .wrapper {
        top: 80px;
        width: 100%;
        height: 100%;
        position: relative;
    }
}
@media (max-width: 480px) {
    .mm-navbar-container .mm-hamburger-lines {
        height: 23px;
        width: 30px;
        position: absolute;
        top: 17px;
        left: 6px;
        z-index: 102;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .mm-navbar-container .mm-hamburger-lines {
        display: block;
        height: 24px;
        width: 30px;
        position: absolute;
        top: 20px;
        left: -14px;
        z-index: 102;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .mm-navbar-container .mm-hamburger-lines {
        display: block;
        height: 24px;
        width: 30px;
        position: absolute;
        top: 20px;
        left: -14px;
        z-index: 102;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }
}
@media (max-width: 500px) {
    .mm-navbar .mm-menu-items.open ~ .mm-logo {
        display: none;
    }
}

/* Header visibility toggles */

@media (min-width: 574px) and (max-width: 992px) {
    .dashboardcard {
        width: 50%;
    }
    .sunset-gradient {
        /* padding: 2rem; */
        background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    }
    .dark-cyan-gradient {
        /* padding: 2rem; */
        background: linear-gradient(135deg, rgb(53, 53, 53) 0%, #00f2fe 100%);
    }
    .gradient-bg1 {
        /* padding: 2rem; */
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    .pink-gradient-bg {
        /* padding: 2rem; */
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }
}

@media (max-width: 1024px) {
    .containertable {
        display: flex;
        justify-content: end;
    }
    .tablewidth {
        width: 76% !important;
    }
    .dashboardesmargin {
        justify-content: end !important;
    }

    .dashboardcard {
        width: 38%;
    }
    .main-nav {
        margin-left: 0px !important;
        display: block !important;
    }
    .sunset-gradient {
        /* padding: 2rem; */
        background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    }
    .dark-cyan-gradient {
        /* padding: 2rem; */
        background: linear-gradient(135deg, rgb(53, 53, 53) 0%, #00f2fe 100%);
    }
    .gradient-bg1 {
        /* padding: 2rem; */
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    .pink-gradient-bg {
        /* padding: 2rem; */
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }
}
/* Show desktop header by default */
.header-desktop {
    display: block;
}
.header-mobile {
    display: none;
}

/* Hide desktop header and show mobile nav bar below 991px */
@media (max-width: 992px) {
    .header-desktop {
        display: none !important;
    }
    .header-mobile {
        display: block;
    }
    .main-nav {
        display: none !important;
    }
    .tablewidth {
        width: 100% !important;
    }
    .dashboardesmargin {
        justify-content: start !important;
    }

    .dashboardcard {
        width: 49%;
    }
}
@media (min-width: 1024px) and (max-width: 1142px) {
    .containertable {
        display: flex;
        justify-content: end;
    }
    .tablewidth {
        width: 76% !important;
    }
    .dashboardesmargin {
        justify-content: end !important;
    }

    .dashboardcard {
        width: 38%;
    }
    .main-nav {
        margin-left: 0px !important;
        display: block !important;
    }
}
@media (min-width: 1142px) {
    .cardshead {
        font-size: 15px !important;
    }
}
@media (min-width: 426px) and (max-width: 1023px) {
    .dashboardesmargin {
        margin-left: -28px;
        margin-right: -78px;
    }
}
/* Base adjustments */
.loginpage {
    min-height: 100vh;
    overflow: hidden;
}

.login-form-control {
    width: 100%;
}

.Formbgimg {
    background-size: cover;
    background-position: center;
    padding: 20px 0;
}

.logo-outer img {
    width: 120px;
}

.twostepverificard {
    text-align: center;
}

.otpverifi {
    max-width: 45px;
    height: 45px;
    font-size: 22px;
}

@media (max-width: 320px) {
    .logo-outer img {
        width: 90px;
    }

    .otpverifi {
        max-width: 38px;
        height: 38px;
        font-size: 18px;
        margin-right: 6px !important;
    }

    .twostepverificard img {
        width: 80%;
    }

    h4.fs-20 {
        font-size: 16px !important;
    }

    .btn-primary {
        font-size: 14px;
        padding: 8px 0;
    }
}

@media (max-width: 375px) {
    .logo-outer img {
        width: 100px;
    }

    .otpverifi {
        max-width: 40px;
        height: 40px;
    }

    .twostepverificard img {
        width: 85%;
    }

    .btn-primary {
        font-size: 13px;
        padding: 8px;
        border-radius: 10px;
    }
}

@media (max-width: 414px) {
    .col-lg-6.col-md-8.col-sm-6.col-6 {
        width: 90% !important;
    }

    .otpverifi {
        max-width: 42px;
        height: 42px;
    }

    .twostepverificard img {
        width: 88%;
    }

    .rightimg {
        display: none;
    }
}

@media (max-width: 480px) {
    .col-lg-6.col-md-8.col-sm-6.col-6 {
        width: 100% !important;
    }

    .loginpage {
        padding: 0px 20px 0px 20px !important;
    }

    .twostepverificard img {
        width: 45%;
        margin-left: 0px;
    }

    .rightimg {
        display: none;
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    .Formbgimg {
        padding: 40px 0;
    }

    .col-lg-6.col-md-8.col-sm-6.col-6 {
        width: 70% !important;
    }

    .rightimg {
        display: none;
    }

    .otpverifi {
        max-width: 50px;
        height: 50px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .Formbgimg {
        padding: 50px 0;
    }

    .col-lg-6.col-md-8.col-sm-6.col-6 {
        width: 60% !important;
    }

    .otpverifi {
        max-width: 52px;
        height: 52px;
    }

    .rightimg img {
        object-fit: cover;
        height: 100%;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .col-lg-6.col-md-8.col-sm-6.col-6 {
        width: 55% !important;
    }

    .rightimg img {
        object-fit: cover;
        height: 100%;
    }

    .otpverifi {
        max-width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .authentication-form,
    .infield {
        width: 85%;
        margin-left: 27px;
    }
}
@media (max-width: 480px) {
    .otpinput {
        display: flex;
        justify-content: center;
        margin: auto;
        gap: 10px;
    }
}
@media (max-width: 1024px) {
    .footer {
        bottom: -35px !important;
        width: 111%;
        right: 0;
        left: 0;
        position: static;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 0 calc(1.5rem * 0.5);
        color: var(--bs-link-color);
        height: var(--bs-footer-height);
        -webkit-box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);
        box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);
        background-color: #f2f0f0;
    }
}
.otp-input {
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: space-around;
    align-items: baseline;
    margin-bottom: 31px;
}
