html,
body {
    overflow-x: hidden;
}

.content-wrapper,
.content-body,
.card,
.card-body,
.modal-content {
    max-width: 100%;
}

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

.nav-tabs,
.nav-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.nav-tabs .nav-link,
.nav-pills .nav-link {
    white-space: nowrap;
}

.select2-container {
    max-width: 100%;
}

.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
    min-height: 2.45rem;
}

.fc .fc-scroller {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 991.98px) {
    .floating-nav.container-xxl {
        width: calc(100% - 1rem) !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }

    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 100%;
    }

    .content-wrapper.container-xxl {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .content-header-right.d-none {
        display: block !important;
        margin-top: 0.5rem;
    }

    .content-header .breadcrumb-wrapper {
        overflow-x: auto;
    }

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

    #jitsiContainer {
        width: calc(100% - 1rem) !important;
        height: 42vh !important;
        right: 0.5rem !important;
        left: 0.5rem !important;
        bottom: 0.75rem !important;
    }
}

@media (max-width: 767.98px) {
    .content-header-title {
        font-size: 1.15rem !important;
    }

    .card {
        border-radius: 12px;
    }

    .card-body {
        padding: 0.9rem;
    }

    .btn,
    .form-control,
    .form-select {
        min-height: 2.45rem;
    }

    .input-group > .form-control,
    .input-group > .form-select {
        min-width: 0;
    }

    .modal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .modal-dialog.modal-sm,
    .modal-dialog.modal-lg,
    .modal-dialog.modal-xl {
        max-width: calc(100% - 1rem);
    }

    .modal .modal-body {
        max-height: 72vh;
        overflow-y: auto;
    }

    .fc .fc-toolbar {
        gap: 0.5rem;
        align-items: flex-start;
        flex-direction: column;
    }

    .fc .fc-toolbar-title {
        font-size: 1rem;
    }

    .fc .fc-button {
        padding: 0.35rem 0.5rem;
    }

    .auth-wrapper .auth-inner {
        padding: 0.75rem;
    }
}
