/* General Text & Label Styles */
label span {
    color: red;
}
p {
    word-break: break-word;
    white-space: normal;
}
/* General Table Styles */
.swal2-icon.swal2-info {
    color: red !important;
    border-color: red !important;
}
.swal2-styled.swal2-confirm:focus,
.swal2-styled.swal2-cancel:focus {
    box-shadow: none !important;
}
.swal2-styled.swal2-confirm {
    background-color: #008149 !important;
}
.students-table table,
td,
th {
    border: 1px solid #ddd !important;
    text-align: left;
    padding: 16px 10px !important;
    font-size: 16px !important;
}
/* DataTable Specific Styles */
table.dataTable tbody th,
table.dataTable tbody td {
    padding: 16px 10px !important;
    font-size: 16px !important;
}

body .bottom.table-paginater a.paginate_button.current {
    background: #008149 !important;
    color: #fff !important;
    padding: 2px 11px !important;
    border: none !important;
    border-radius: 3px !important;
}
body .bottom.table-paginater a.paginate_button.current:hover {
    background: #00703f !important;
    color: #fff !important;
}

.dataTables_length select {
    all: unset;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
    border: 1px solid #000;
    padding: 0px !important;
    border-radius: 4px;
}

/* Layout & Positioning */
.h-screen a.custom-dropper-box {
    display: flex;
    align-items: center;
}

a.back-btn {
    display: flex;
    gap: 8px;
}

.relative.admin-br {
    gap: 20px;
}
.container {
    max-width: 100% !important;
}
/* Chat Box Styles */
.chat-box .container.mx-auto {
    border: 1px solid #ddd;
    margin: 20px 0;
    border-radius: 10px;
}
.chat-box .relative.w-full.h-full {
    border-radius: 10px 0 0 10px;
}
.chat-box main.grid.w-full.grow.h-full {
    border-radius: 0 10px 0 0;
}
.chat-box .w-full.h-\[calc\(100vh_-_0\.0rem\)\].flex.rounded-lg {
    max-height: 580px !important;
}
.chat-forum .flex-1.p-4 {
    width: 80%;
    float: left;
}
.bottom.table-paginater {
    margin-top: 20px;
    display: block;
}
/* Courses Page */
.courses-page .course-short-desc,
.courses-page .mt-4 h2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
.course-page-tabs {
    color: #6b7280;
    /* Default gray text */
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.course-page-tabs.active {
    color: #1f2937;
    /* Darker text */
    border-bottom: 2px solid #2563eb;
    /* Blue border */
    font-weight: bold;
    background-color: #f3f4f6;
    /* Light gray background */
}

/* Modules & Lessons */
.module-lessons li,
#modules li {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.module-lessons li:hover {
    background: #131d7d;
    color: #fff;
}

#modules li {
    border-bottom: 1px solid #ddd;
    padding: 8px;
}

#modules li:hover {
    color: #000;
}

/* Miscellaneous */
tr.even {
    background: #f9f9f9 !important;
}

ul#messages\.basic\.courses-dropdown li,
ul#messages\.basic\.users-dropdown li {
    border-bottom: 1px solid #008149;
}

#info-modal {
    height: 660px;
    overflow: scroll;
}

/* Profile Icon Changes*/
img#profile_img {
    height: 110px;
    width: 110px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 50%;
    margin-top: 15px;
}
a.profile-icon {
    position: relative;
    top: -100px;
    left: 90px;
}
.prose.max-w-none h3 strong {
    font-size: 20px;
    color: #131d7d;
    margin-top: 20px;
    display: block;
}
.prose.max-w-none p strong {
    margin-top: 15px;
    display: block;
}
.tab-btn {
    padding: 0.75rem 1.5rem;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-btn:hover,
.tab-btn.active,
.group-page-tabs.active {
    border-bottom-color: #131d7d;
    color: #131d7d;
}
table {
    width: 100% !important;
}
.tab-content {
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}
/* From Uiverse.io by adamgiebl */
.dots-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(211, 211, 211, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.dot {
    height: 20px;
    width: 20px;
    margin-right: 10px;
    border-radius: 10px;
    background-color: #3f51b5;
    animation: pulse 1.5s infinite ease-in-out;
}

.dot:last-child {
    margin-right: 0;
}

.dot:nth-child(1) {
    animation-delay: -0.3s;
}

.dot:nth-child(2) {
    animation-delay: -0.1s;
}

.dot:nth-child(3) {
    animation-delay: 0.1s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        background-color: #b3d4fc;
        box-shadow: 0 0 0 0 rgba(178, 212, 252, 0.7);
    }

    50% {
        transform: scale(1.2);
        background-color: #6793fb;
        box-shadow: 0 0 0 10px rgba(178, 212, 252, 0);
    }

    100% {
        transform: scale(0.8);
        background-color: #b3d4fc;
        box-shadow: 0 0 0 0 rgba(178, 212, 252, 0.7);
    }
}

span.select2-selection__rendered {
    line-height: 30px !important;
}
span.select2.select2-container.select2-container--default {
    width: 100% !important;
}
span.select2-selection {
    padding: 0.55rem !important;
    height: auto !important;
    border-radius: 0.5rem !important;
    display: flex !important;
    align-items: center;
}
span.select2-selection__arrow {
    top: 28% !important;
}
li.select2-selection__choice,
textarea.select2-search__field {
    height: 30px !important;
    margin: 0 !important;
    line-height: 32px;
}

.sidebar-container .p-4.h-screen {
    height: 100vh;
    overflow: overlay;
    display: flex;
    flex-direction: column;
    padding-bottom: 70px;
    &::-webkit-scrollbar {
        display: none;
    }
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.dataTables_wrapper .dataTables_paginate {
    margin-bottom: 20px;
}
nav.p-4.h-screen a {
    color: #fff !important;
}
.list-da_ta table {
    margin: 20px 0 10px 0 !important;
}

@media (max-width: 767px) {
    .mb-certificate {
        width: 100% !important;
        height: 100% !important;
    }
    .form-data-cer {
        width: 100% !important;
    }
    .form-data-cer img {
        display: none;
    }
    .form-data-cer img.logo-img {
        display: block !important;
    }
    .form-data-cer h1 {
        font-size: 28px !important;
    }
    .form-data-cer h2 {
        font-size: 22px !important;
    }
}

.tox-promotion-link {
    display: none !important;
}

.tox-statusbar__branding {
    display: none !important;
}
