/* Extra Small (Phones)	< 576px
Small (Landscape Phones, Tablets)	≥ 576px
Medium (Tablets, Small Laptops)	≥ 768px
Large (Laptops, Desktops)	≥ 992px
Extra Large (Large Desktops)	≥ 1200px
Extra Extra Large (Wide Monitors)	≥ 1400px+ */

@media (width <=1920px) {
    main:has(.swiper) {
        font-size: 16px;

        h1 {
            font-size: 3.75rem;
            margin: 0.25rem 0;
        }

        .mainBtn {
            padding: 0.625rem 1.125rem;
            box-shadow: 0 0.25rem 0.75rem rgba(255, 117, 24, 0.3);
            border-radius: 0.375rem;
            gap: 0.375rem;
            font-size: 1rem;
        }

        .mainBtn-sm {
            font-size: 0.875rem;
            padding: 0.5rem 1rem;
            gap: 0.25rem;
            border-radius: 0.375rem;
        }

        .outlineBtn {
            box-shadow: inset 0 0 0 0.125rem var(--primary);
        }

        .dimBtn {
            box-shadow: inset 0 0 0 0.125rem var(--input-border);
        }

        .mainBtn-cancel {
            box-shadow: inset 0 0 0 0.125rem var(--danger);
        }

        svg[width="14"] {
            min-width: 0.875rem;
            height: 0.875rem;
        }

        svg[width="16"] {
            min-width: 1rem;
            height: 1rem;
        }

        svg[width="18"] {
            min-width: 1.125rem;
            height: 1.125rem;
        }

        svg[width="20"] {
            min-width: 1.25rem;
            height: 1.25rem;
            top: 0.813rem;
            left: 0.75rem;
        }
    }

    .wall-controls {
        padding: 1.5rem;

        img {
            width: auto;
            height: 2.5rem;
        }

        +section {
            padding: 1.5rem;
            gap: 1rem;
        }
    }

    .button-control-set {
        gap: 0.5rem;
    }

    .button-control {
        font-size: 0.875rem;
        width: 2.125rem;
        border-radius: 0.375rem;

        &.playBtn {
            width: 3rem;
        }
    }

    .heading-line {
        height: 0.25rem;
        width: 22.5rem;

        &::before {
            content: "";
            width: 10rem;
            height: 0.25rem;
            border-radius: 0.25rem;
        }

        +p {
            font-size: 1rem;
            margin-bottom: 1rem;
        }
    }

    .swiper {
        width: 48rem;
    }

    .gap-25 {
        gap: 0.625rem;
    }

    select.form-select.pagination-select {
        padding: 0.125rem 1.25rem 0.125rem 0.625rem;
        background-size: 0.875rem 0.625rem;
        background-position: right 0.25rem center;
        font-size: 1rem;

        +span {
            font-size: 1rem;
        }
    }

    div.offcanvas.offcanvas-end:has(.configure-wall) {
        width: 35rem;

        .offcanvas-header {
            padding: 1rem 1.25rem;
        }

        h2 {
            font-size: 1.125rem;
        }

        .offcanvas-body,
        .offcanvas-footer {
            padding: 1.25rem;
        }
    }

    .configure-wall {
        margin-bottom: 1.25rem;
        gap: 0.875rem;

        h3 {
            font-size: 1rem;
            padding-bottom: 0.875rem;
        }

        div.input-group input.form-control {
            padding: 0.625rem 0.75rem 0.625rem 2.5rem;
            font-size: 1rem;
        }

        .templates {
            border-width: 0.125rem;
            border-radius: 0.625rem;

            .template-info {
                font-size: 1rem;
                gap: 0.875rem;

                .mainBtn-sm {
                    box-shadow: 0 0 0 0.125rem var(--input-border);
                }
            }

            &.active .mainBtn-sm {
                box-shadow: 0 0.25rem 0.75rem rgba(255, 117, 24, 0.3);
            }
        }
    }

    .animation-settings {
        font-size: 1rem;

        div.d-flex {
            gap: 0.5rem;
        }

        input#autoplayToggle {
            width: 2.5rem;
            height: 1.375rem;
        }
    }

    .configure-footer {
        gap: 0.875rem;
    }
}

@media (width <=1400px) {

    .template-container .templates {
        flex: 0 0 calc((100% - (2 * 1.25rem)) / 3);
    }

    .wall-insights {
        grid-template-columns: repeat(2, 1fr);
    }

    .chart-wrapper {
        grid-template-columns: 1.6fr 1fr;
    }

    .super-admin-chart {
        grid-template-columns: 1.5fr 1fr;
    }

    .resume-wrapper img {
        width: 23.75rem;
    }

    main:has(.resume-wrapper) {
        margin-right: 25.25rem;
    }

    .profile-content {
        width: auto;
    }

    img.logoImage {
        width: 225px !important;
    }

    .main-page .login-container.signup-container {
        height: calc(100vh - -80px);
        display: flex;
        align-items: center;
    }

    .main-page .login-container.signup-container .login-form {
        padding: 30px;
    }

    .main-page .login-container.signup-container .login-form .login-fields input {
        height: 40px;
    }

    .main-page .login-container.signup-container .login-form button {
        padding: 8px;
    }

    .main-logo {
        top: 6%;
    }
}

@media (width <=1100px) {

    .login-background h1 {
        font-size: 2.125rem;
    }

    .login-form-admin {
        padding: 2rem;
        border-radius: 1rem;

        .login-head {

            h2,
            h1 {
                font-size: 1.875rem;
            }
        }
    }

    .login-form-user .login-head h1 {
        font-size: 1.75rem;
    }

    .dashboard-page header {
        padding: 1rem 1.5rem;
    }

    .header-name {
        margin-left: 1.25rem;
    }

    .content,
    .modal-body:has(.preview-container),
    .preview,
    section:has(.profile-extra-info) {
        padding: 1.5rem;
    }

    .content .data-table,
    .profile,
    .profile-extra-info {
        padding: 1.25rem;
        margin-top: 1.25rem;
    }

    .profile-footer {
        margin-top: 1.25rem;
    }

    .preview-container {
        width: 26.25rem;
        padding: 1.25rem;
    }

    .choose-template,
    .template-container {
        gap: 1rem;
    }

    .wall-insights {
        column-gap: 1.25rem;
    }

    .social-icons {
        gap: 1.25rem;
    }

    main:has(.wall-controls) h1 {
        font-size: 3.375rem;
    }

    .cancel-view {
        top: 1.25rem;
        right: 1.25rem;
    }

    .profile-banner {
        padding: 6.25rem 1.5rem;

        h1 {
            font-size: 2rem;
        }
    }

    .profile-image {
        margin-right: 2.469rem;
    }

    .tools-container {
        grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
        margin-top: 1.5rem;
        gap: 1.25rem;
    }

    .tools-header {
        padding: 0.875rem 1.25rem;
    }

    .tools-wall {
        padding: 1.25rem;
    }

    .custom-table-container div.dt-container div.dt-layout-row .dt-layout-cell {
        max-height: calc(100vh - 17rem);
    }

    .profile-qr-section {
        column-gap: 1.25rem;
    }

    #profileCount {
        left: 1.25rem;
        top: 1.688rem;
    }

    .table-wrapper {
        border-right: 1px solid #ccc;
    }

    .table-wrapper .scrollable {
        overflow: scroll;
        overflow-y: hidden;
    }

    .table-wrapper .scrollable table {
        margin-left: 20%;
    }

    .table-wrapper .scrollable th,
    .table-wrapper .scrollable td {
        white-space: nowrap;
    }

    .table-wrapper .scrollable .hide-mobile {
        display: none;
    }

    .table-wrapper .pinned {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        background: #fff;
        width: 20%;
        overflow: hidden;
        overflow-x: scroll;
        border-right: 1px solid #ccc;
        border-left: 1px solid #ccc;
    }

    .table-wrapper .pinned table {
        border-right: none;
        border-left: none;
        width: 100%;
    }
}

@media (width <=1024px) {

    .login-background {
        display: none;

        +section {
            width: 100%;
        }
    }

    .sidebar {
        left: -17.5rem;
    }

    .content,
    .dashboard-page header {
        margin-left: 0;
    }

    .main-content.close {
        .sidebar {
            left: 0;
            width: 17.5rem;
            overflow: visible;

            .mainLogo {
                display: block;
            }

            .secondaryLogo {
                display: none;
            }

            >ul>li.active a,
            .nav-dropdown.list-open {
                padding-left: 1rem;
            }
        }

        .sidebar-heading,
        .sidebar-heading+span {
            opacity: 1;
            visibility: visible;
        }

        .sidebar-heading+span {
            scale: 1;
            rotate: 0deg;
            margin-left: auto;
        }

        .close-sidebar {
            display: flex;
        }

        ul.submenu-list {
            position: static;
            display: block;
            margin-top: 0.375rem;
            padding: 0 0 0 1.25rem;
            border-radius: 0;
            box-shadow: none;
        }

        .content {
            margin-left: 0;
            position: relative;

            &::before {
                content: "";
                position: absolute;
                inset: 0;
                background-color: rgba(0, 0, 0, 0.5);
                z-index: 997;
            }
        }
    }

    .dashboard-page header.close {
        margin-left: 0;
        position: relative;

        &::before {
            content: "";
            position: absolute;
            inset: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 997;
        }
    }

    .main-card-content {
        padding: 10px;
    }

    .header-right .menu-item {
        align-items: normal;
        padding: 10px 0;
    }

    .header-right .menu-item .nav-item:not(:last-child) {
        border-right: none;
    }

    .header-right .menu-item .nav-item {
        padding: 0 !important;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    /* .login-page {
        min-height: 70vh;
    } */

    footer .footerLogo {
        display: none;
    }

    .header-right.d-flex.justify-content-between.align-items-center.gap-3 {
        background-color: #071543;
        border-radius: 10px;
    }

    .navbar-toggler {
        background-color: transparent !important;
        border-color: #ffffff !important;
    }

    .header-right.d-flex.justify-content-end.align-items-center.gap-3.mb-3 {
        margin-bottom: 0 !important;
        justify-content: start !important;
    }

    .navbar-toggler-icon {
        filter: invert(1);
    }

    /* footer {
        height: 450px;
    } */

    footer .copyrightText {
        text-align: left;
    }

    nav.header .header-right .menu-item .nav-item {
        padding: 10px !important;
    }

    .sideLoginImg {
        display: none;
    }

    .video-container {
        position: relative;
    }

    .homePageMain .bannerText h3 {
        font-size: 42px;
    }

    .homePageMain .bannerText p {
        font-size: 18px;
    }

    .homePageMain .shape {
        bottom: -3px;
    }

    .homePageMain .userWerbsiteprofile {
        left: 0 !important;
    }

    .homePageMain .aboutUsPage {
        margin-top: 0;
    }

    .homePageMain img.cartoons {
        display: none;
    }

    #cookieConsentBanner {
        width: 100%;
    }
}

@media (width <=850px) {
    .wall-controls:first-of-type {
        flex-direction: column;
        align-items: start;
    }

    .button-control-set {
        top: 1.625rem;
        left: auto;
        right: 1.5rem;
        translate: 0;
    }

    .profile-banner {
        padding: 2rem 1.5rem;
    }

    .profile-container:has(.profile-content) {
        flex-direction: column;
        gap: 2.25rem;
    }

    .profile-image {
        width: 13.75rem;
        margin: 2.406rem;
    }

    .hero-image img {
        width: 28.125rem;
    }
}

@media (width <=768px) {

    html,
    html body {
        font-size: 14px;
    }

    :is(.modal .modal-header, div.offcanvas.offcanvas-end) .btn-close {
        scale: 0.8;
    }

    .template-container .templates {
        flex: 0 0 calc((100% - (1 * 1.25rem)) / 2);
    }

    .chart-wrapper {
        grid-template-columns: 1fr;
    }

    .button-control-set {
        top: 1.929rem;
    }

    .walls-list {
        max-height: 27.714rem;
    }

    .content .associate-table {
        padding-top: 2.75rem;
    }

    #profileCount {
        top: 1.25rem;
        left: 50%;
        translate: -50% 0;
    }

    section.data-table .dt-container .dt-layout-row .dt-layout-cell .dt-length {
        margin-top: 0;
    }
}

@media (width <=673px) {

    .profile-filter-fields div:not(:first-child, .condition-select) {
        flex: auto;
    }

    .user-detail p+i {
        display: none;
    }


    .main-page .header .logo img {
        width: 150px;
    }

    .profile .profile-details .fields {
        padding: 30px 0;
    }

    .profile .profile-details .fields.resCards {
        padding: 20px !important;
    }

    .main-content .content-header .mainBtn {
        width: max-content;
    }

    .login-form-user .login-form {
        padding: 20px;
    }

    /* .login-page {
        min-height: 0;
        padding-bottom: 5rem;
        padding-top: 5rem;
    } */

    .header-right.d-flex.justify-content-end.align-items-center.gap-3 {
        justify-content: start !important;
        margin-bottom: 0 !important;
    }

    /* footer {
        height: 360px;
    } */


    footer .footerNav {
        padding: 0 10px;
        margin-bottom: 0;
    }

    footer .footerNav .header-right .menu-item {
        padding: 0;
    }

    footer .footerNav .footerAddress {
        font-size: 1.1rem;
    }

    footer .copyrightText {
        text-align: center;
    }

    .video-container .shape {
        bottom: -5px;
    }

    .header-right .menu-item .nav-item {
        padding: 10px;
    }

    .video-container {
        height: 150px;
    }

    .aboutUsPage .firstSec p {
        font-size: 26px;
    }

    .main-page .header {
        height: 70px;
    }

    .registerPage {
        margin-top: 0;
    }

    .aboutUsPage {
        padding-top: 0;
    }

    .aboutUsPage .firstSec .aboutInfo {
        margin: 5rem 0;
    }

    .aboutUsPage .firstSec .aboutInfo .aboutSidecartoons {
        display: none;
    }

    .aboutUsPage .firstSec .aboutInfo .aboutText .bubbleContainer .mainBubble,
    .aboutUsPage .firstSec .aboutInfo .aboutText .bubbleContainer .mainBubbleTwo,
    .aboutUsPage .firstSec .aboutInfo .aboutText .bubbleContainer .mainBubbleThr,
    .aboutUsPage .firstSec .aboutInfo .aboutText .bubbleContainer .mainBubbleFor {
        width: 23rem;
    }

    .aboutUsPage .firstSec .aboutInfo .aboutText .bubbleContainer .mainBubble h3,
    .aboutUsPage .firstSec .aboutInfo .aboutText .bubbleContainer .mainBubbleTwo h3,
    .aboutUsPage .firstSec .aboutInfo .aboutText .bubbleContainer .mainBubbleThr h3,
    .aboutUsPage .firstSec .aboutInfo .aboutText .bubbleContainer .mainBubbleFor h3 {
        font-size: 1.5rem;
    }

    .aboutUsPage .firstSec .aboutInfo .aboutText .bubbleContainer .smallBubble {
        display: none;
    }

    .aboutUsPage .firstSec .aboutInfo .aboutText .bubbleContainer .verySmallBubble {
        display: none;
    }

    .aboutUsPage .secondSec h4 {
        font-size: 26px;
    }

    .aboutUsPage .secondSec p {
        font-size: 18px;
    }

    .aboutUsPage .thirdSec .sectitle h2 {
        font-size: 36px;
    }

    .aboutUsPage .thirdSec .sectitle p {
        font-size: 16px;
    }

    .benchmark-profile .profile-details {
        width: 100%;
        padding: 0;
    }
}

@media (width <=576px) {
    .login-form-admin {
        padding: 1.5rem;
    }

    .login-content figure img {
        scale: 0.9;
    }

    .register {
        padding: 2.25rem 1.5rem;
    }

    button.dropdown-toggle+ul.dropdown-menu {
        min-width: 11.429rem;
    }

    .wall-insights {
        grid-template-columns: 1fr;
    }

    .profileName {
        display: none;
    }

    main:has(.wall-controls) h1 {
        font-size: 2.714rem;
    }

    .user-detail {
        gap: 0.5rem;
    }

    .header-left h4 {
        display: none;
    }

    .user-detail i {
        display: none;
    }

    .profile-logo-big {
        max-width: 140px;
        max-height: 140px;
    }

    .profile-logo.profile-pic.icon-logo {
        max-height: 110px;
        max-width: 110px;
        min-height: 110px;
        min-width: 110px;
    }

    .profile-logo-big #result img.profile-pick {
        height: 130px;
        width: 130px;
    }

    .cstm-profile-logo #iconLogo img.profile-pick {
        width: 100px;
        height: 100px;
    }

    .profile .add-btn {
        max-width: 35px;
        bottom: 0;
        right: 8px;
    }

    .homePageMain {
        height: 550px;
    }

    .homePageMain .bannerText h3 {
        font-size: 26px;
    }

    .homePageMain .bannerText p {
        font-size: 16px;
    }
}

@media (width <=480px) {
    .step-content span {
        display: none;
    }

    .color-input-container {
        flex-wrap: wrap;

        >div {
            flex-grow: 1;
        }
    }

    div.select-profile-group {
        min-width: 0;
    }

    main:has(.wall-controls) h1 {
        font-size: 2.286rem;
    }

    .configure-wall .templates {
        flex-direction: column;

        .template-preview-theme-canvas {
            width: 100%;
        }

        .template-info {
            flex-direction: row;
            border-top: 0.125rem solid var(--pill);

            .mainBtn-sm {
                margin: 0 0 0 auto;
            }
        }
    }

    .profile-banner h1 {
        font-size: 1.857rem;
    }

    .template-container .templates {
        flex: 0 0 100%;
    }

    .profile-qr-section {
        flex-direction: column;
    }
}