@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}
body {
    background-color: white !important;
}
:root {
    --primary-color: #fe8a29;
}
::selection {
    background-color: #fe8a29 !important;
    color: white;
}
.accent-color {
    accent-color: #027c56;
}
/* scrollbar styling  */
::-webkit-scrollbar {
    width: 14px;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #fe8a29;
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #fe8a29;
    border-radius: 10px;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #fe8a29 #f1f1f1;
}

.scrollbar {
    -ms-overflow-style: none;
}

input:focus,
textarea:focus,
select:focus {
    --tw-ring-color: transparent !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}
.dataTables_length,
.dataTables_filter,
.dataTables_info,
.dataTables_paginate {
    margin: 20px;
}
.dataTables_info {
    color: #acadae !important;
}
.dataTables_length select {
    width: 60px;
}

.shadow-dark {
    box-shadow: 0px 0px 11px 0px #00000040;
}
.shadow-med {
    box-shadow: 0px 0px 11px 0px rgba(0, 0, 0, 0.07);
}
table.dataTable {
    overflow-x: hidden !important;
}
table.dataTable tbody th,
table.dataTable tbody td {
    padding: 18px 10px !important;
    color: #323c47;
}

input[aria-controls="datatable"] {
    border-radius: 20px !important;
    padding-left: 20px !important;
}
.canvasjs-chart-credit {
    display: none !important;
}

/* game card hover  */
.game-card:hover .gc_heading {
    color: white !important;
}

#lessonDate::-webkit-datetime-edit-text,
#lessonDate::-webkit-datetime-edit-month-field,
#lessonDate::-webkit-datetime-edit-day-field,
#lessonDate::-webkit-datetime-edit-year-field {
    color: gray;
}

.range::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 16px !important;
    height: 16px !important;
    background: white !important;
    cursor: pointer !important;
}

.slider::-moz-range-thumb {
    width: 25px !important;
    height: 25px !important;
    background: var(--primary-color) !important;
    cursor: pointer !important;
}

/* select 2  styling */

.select2-results__option[aria-selected="true"] {
    background-color: var(--primary-color) !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #444 !important;
    line-height: 42px !important;
    text-align: left !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #dee2e6 !important;
    height: 42px !important;
    border-radius: 0.375rem;
}

.select2-container--default .select2-selection--single:focus {
    border: 1px solid var(--primary-color) !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    top: 8px !important;
}

.dataTables_length label {
    display: flex !important;
    gap: 10px;
    align-items: center;
}

/* div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    background-color: #7066e0 !important;
} */

/* =============sidebar ============= */
.gradient-border {
    border: 4px solid transparent;
    border-radius: 20px;
    background: linear-gradient(to right, white, white),
        linear-gradient(to right, #fcb37680, #fe8a2980);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    width: 100%;
}
.gradient-border-sidebar {
    border: 4px solid transparent;
    border-radius: 20px;
    background: linear-gradient(to right, white, white),
        linear-gradient(to right, #fe8a2980, #fcb37680);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    width: 100%;
}

.sidebar-bg {
    width: calc(100% - 8px);
}

.gradient-bg {
    background: linear-gradient(180deg, #fcb376 0%, #fe8a29 100%);
}

.card-shadow {
    box-shadow: 0px 0px 10px 2px rgba(254, 138, 41, 0.79);
}
/* .active-btn {
    border: 2px solid #FCB579;
    color: #000;
    background-color: #fff;
}

.category-content {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
} */

.swal2-actions {
    display: flex;
    flex-direction: row-reverse; /* This will reverse the order of the buttons */
}

.sidebar-main::-webkit-scrollbar {
    display: none;
}
.sidebar-main {
    scrollbar-width: none;
}
.drop-shadow {
    box-shadow: 0px 0px 3.02px 0px rgba(0, 0, 0, 0.2);
}

.blog-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.blog-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
