:root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #1f1f1f; /* Darker primary color */
    --first-color-light: #4e4e6a; /* Soft light color */
    --white-color: #eaeaea; /* Light color for text */
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100;
    --background-color: #121212; /* Dark background */
    --header-background: #1a1a1a; /* Slightly lighter for header */
    --hover-color: #333333; /* Hover background */
    --link-color: #7f87ff; /* Accent color for links */
    --active-color: #FF4081; /* Active item color */
}

header {
    background-color: #262626 !important;
}

body {
    background-color: #333;
    font-family: 'Numans', sans-serif;
    height: 100%;
    color: #eaeaea;
}

.navbar {
    min-height: 60px;
}

.navbar-brand>img {
    height: 4rem;
}

.navbar-nav li a {
    color: #DDDDDD;
}

.navbar-nav li a:hover {
    color: #f56b6b !important;
}

.dropdown-menu a {
    color: #000000 !important;
}

hr {
    display: block;
    unicode-bidi: isolate;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    overflow: hidden;
    border-style: inset;
    border-width: 1px;
}

a {
    color: #eaeaea;
}

label {
    margin-top: 0.5rem;
    margin-bottom: 0 !important;
}

.login-form {
    width: 360px;
    background-color: rgba(0,0,0,0.8) !important;
    padding: 20px 30px 20px 30px;
    color: #DDDDDD;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.table {
    font-size: 14px;
    vertical-align: middle;
    color: #eaeaea !important;
}

.table img {
    max-height: 50px;
}

.green {
    color: #1DB954;
}

.red {
    color: #FF0000;
}

.main-margin-top {
    margin-top: 100px;
}

.img-thmb {
    max-width: 80px;
}

footer {
    margin-top: 60px;
    width: 100%;
    bottom: 0;
    height: 60px;
}

.user_block {
    display: flex;
    align-items: center;
}

#playText {
    font-weight: bold;
}

#playText:hover {
    cursor: pointer;
    color: #007bff;
}


/* Custom styling for Select2 container */
.select2-container--bootstrap-5 {
    border-radius: 0.375rem; /* Bootstrap rounded corners */
    background-color: #fff; /* Bootstrap background color */
}

/* Style for the Select2 selection box */
.select2-container--bootstrap-5 .select2-selection--multiple {
    border: 1px solid #ced4da; /* Border color */
    border-radius: 0.375rem; /* Rounded corners */
    background-color: #fff; /* Background color */
    padding: 0.375rem 0.75rem; /* Padding */
}

/* Style for the selected items inside the box */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    padding: 0.375rem; /* Padding */
    line-height: 1.5; /* Line height */
}

/* Style for the tags inside the selection box */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    background-color: #e9ecef; /* Background color for selected items */
    border: 1px solid #dee2e6; /* Border color for selected items */
    border-radius: 0.375rem; /* Rounded corners for selected items */
    color: #FFF; /* Text color for selected items */
    padding: 0.25rem 0.5rem; /* Padding */
}

/* Style for the Select2 dropdown */
.select2-container--bootstrap-5 .select2-dropdown {
    border: 1px solid #000; /* Border color for dropdown */
    border-radius: 0.375rem; /* Rounded corners */
    background-color: #262626; /* Background color for dropdown */
    z-index: 1050; /* Ensure it appears above other elements */
}

/* Style for the search input inside the search box */
.select2-container--bootstrap-5 .select2-search__field {
    border: none; /* Remove border from search input */
    padding: 0.375rem; /* Padding */
    border-radius: 0; /* No rounded corners */
}

/* Style for the dropdown items */
.select2-container--bootstrap-5 .select2-results__option {
    padding: 0.375rem 0.75rem; /* Padding for dropdown items */
    line-height: 1.5; /* Line height */
    color: #495057; /* Text color */
}

.select2-container--bootstrap-5 .select2-results__option:hover {
    cursor: pointer;
}

/* Style for the highlighted item in the dropdown */
.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: #495057; /* Background color for highlighted item */
    color: #fff; /* Text color for highlighted item */
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
    color: #495057;
    background-color: #e9ecef;
}

.select2-container .select2-selection--multiple {
    min-height: 124px !important;
}
.select2-selection__choice__remove:hover {
    cursor: pointer;
}

.select2-container--bootstrap-5 .select2-selection {
    background-color: #4F4F4F !important;
    border: 1px solid #000 !important;
    color: #ebebeb !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: #ebebeb !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field {
    border: none !important;
}

.select2-container--bootstrap-5 .select2-results__option {
    color: #ebebeb;
}

.green-dot {
    height: 8px;
    width: 8px;
    background-color: green;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

input[type="checkbox"] {
    cursor: pointer;
}

input[type="checkbox"]:hover {
    opacity: 0.8; /* Example effect */
}

input {
    background-color: #4F4F4F !important;
    border: 1px solid #000000 !important;
    color: #ffffff !important;
}

.text-secondary {
    color: #ebebeb !important;
}

textarea.form-control {
    min-height: calc(1.5em + .75rem + 2px);
    color: #ebebeb !important;
    background-color: #4F4F4F !important;
    border: 1px solid #000 !important;
}

.card {
    background-color: #262626;
    border: 1px solid #4F4F4F !important;
}

.page-link {
    background-color: #333 !important;
    color: #ebebeb !important;
}

.page-item.active .page-link {
    z-index: 3;
    color: #333 !important;
    background-color: #FFF !important;
    border-color: #ebebeb !important;
}