@import url(https://fonts.googleapis.com/css?family=Rajdhani:300,regular,500,600,700);

:root {
    scrollbar-width: inherit;
    --s-background-color: #161616;
    --s-background-color-2: #212529;
    --s-background-color-3: #3E3E3E;
    --s-text-color: #B59847;
    --s-text-color-2: #878895;
    --s-text-color-3: #EAEAEA;
    --s-color-silver: #D5D5D5;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

body {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background-color: var(--s-background-color);
    color: var(--s-text-color-3);
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

label,
.dataTables_info {
    color: var(--s-text-color);
}

table thead th {
    text-align: center !important;
}

.form-label {
    margin-bottom: 0;
}

.form-select,
.form-select:focus,
input:focus,
input[type="search"],
input[type="search"]:focus {
    background-color: var(--s-text-color-3);
    border-color: var(--s-text-color);
    box-shadow: 0 0 0 0 !important;
    /* padding-bottom: 3px; */
    outline: 0;
}

input[readonly] {
    background-color: var(--s-color-silver) !important;
}

.form-check-input,
.form-check-input[type="checkbox"] {
    background-color: var(--s-text-color) !important;
}

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

.dataTable,
#dataTable {
    border-color: var(--s-text-color);
}

.dt-row {
    margin-top: 5px !important;
}

.pagination {
    --bs-pagination-bg: var(--s-background-color);
    --bs-pagination-disabled-border-color: var(--s-text-color);
    --bs-pagination-disabled-color: var(--s-text-color-3);
    --bs-pagination-disabled-bg: var(--s-background-color);
    --bs-pagination-active-bg: var(--s-text-color);
    --bs-pagination-color: var(--s-text-color);
    --bs-pagination-active-border-color: var(--s-text-color);
    --bs-pagination-border-color: var(--s-text-color);
    --bs-pagination-hover-color: var(--s-background-color);
    --bs-pagination-hover-border-color: var(--s-text-color);
    --bs-pagination-hover-bg: var(--s-text-color);
    --bs-pagination-focus-box-shadow: 0;
    --bs-pagination-focus-box-color: var(--s-text-color);
    --bs-pagination-focus-box-bg: var(--s-background-color);
}

#custom-form-light label {
    color: var(--s-background-color) !important;
    font-weight: bold;
    font-size: 16px;
}

#custom-form-light input,
#custom-form-light span,
#custom-form-light span.select2-selection,
#custom-form-light button,
#custom-form-light select,
#custom-form-light textarea,
#custom-form-light .input-group-text {
    background-color: transparent;
    border-color: var(--s-background-color);
    color: var(--s-background-color);
    font-weight: bold;
    padding-bottom: 3px;
}

#custom-form-light span:not(.calendar-trigger){
    background-color: var(--s-color-silver) !important;
}

#custom-form-light input:focus,
#custom-form-light select:focus,
#custom-form-light textarea:focus,
#custom-form-light span.select2-selection[aria-expanded="true"],
#custom-form-light .select2-dropdown {
    outline: 0;
    box-shadow: 0 0 0 0;
}

#custom-form-light .modal-footer button {
    padding: 10px 30px;
    border-radius: 25px;
    background-color: var(--s-background-color);
    color: var(--s-text-color-3);
    border: 1px solid var(--s-text-color);
}

#custom-form-light .modal-footer button:hover {
    color: var(--s-background-color);
    background-color: var(--s-text-color);
}

#custom-form-dark,
#custom-form-dark .modal-body {
    background-color: rgba(33, 37, 41, 1) !important;
}

#custom-form-dark label {
    color: var(--s-text-color-3);
    font-weight: bold;
}

#custom-form-dark input,
#custom-form-dark .form-check-input,
#custom-form-dark span,
#custom-form-dark span.select2-selection,
#custom-form-dark select,
#custom-form-dark .input-group-text {
    background-color: var(--s-background-color-3) !important;
    border-color: var(--s-text-color);
    border-radius: 0;
    color: var(--s-text-color-3);
}

#custom-form-dark .form-check-input[type="radio"] {
    border-radius: 50%;
}

#custom-form-dark input::placeholder {
    color: var(--s-text-color-2);
}

#custom-form-dark input:focus,
#custom-form-dark span.select2-selection[aria-expanded="true"],
.custom-form-1 {
    border: 1px solid var(--s-text-color);
    outline: 0;
    box-shadow: 0 0 0 0;
    background-color: var(--s-background-color-3);
}

.modal-content {
    border: 2px solid var(--s-text-color);
}

#custom-form-light,
.modal-header,
.modal-body,
.modal-footer {
    background-color: var(--s-text-color-3);
}

.modal-body {
    padding: 5px 20px;
}

.modal-header,
.modal-title {
    background-color: var(--s-background-color);
    font-weight: bold;
    font-size: 30px !important;
    text-transform: uppercase;
    color: var(--s-text-color);
}

.btn {
    padding-bottom: 2px;
}

.btn-close {
    border: 1px solid var(--s-text-color);
    background-color: var(--s-text-color);
}

.nav-link {
    font-weight: 600 !important;
    border: 1px solid #222529;
}

.action-btn {
    background-color: var(--s-text-color) !important;
    border: 1px solid var(--s-text-color) !important;
}

.action-btn:hover {
    background-color: var(--s-background-color-2) !important;
    color: var(--s-text-color) !important;
    border: 1px solid var(--s-text-color) !important;
}

.action-btn-form:hover {
    background-color: var(--s-text-color);
    color: var(--s-background-color-2) !important;
    border: 1px solid var(--s-background-color-2);
}

.action-btn-form {
    background-color: var(--s-background-color-2);
    color: var(--s-text-color) !important;
    border: 1px solid var(--s-background-color-2);
    font-weight: 700 !important;
}

.action-btn-1 {
    background-color: var(--s-background-color-2);
    color: var(--s-text-color) !important;
    border: 1px solid var(--s-text-color);
}

.action-btn-1:hover {
    background-color: var(--s-text-color);
    color: var(--s-background-color-2) !important;
    border: 1px solid var(--s-text-color);
}

.action-btn-2 {
    background-color: black;
    color: var(--s-text-color-3) !important;
    border: 1px solid var(--s-text-color);
    font-weight: bold;
}

.action-btn-2:hover {
    background-color: var(--s-text-color);
    color: black !important;
    border: 1px solid var(--s-text-color);
    font-weight: bold;
}

.dataTable .btn,
#dataTable .btn {
    padding: 2px 5px 0px 5px;
}

.nav-item span a {
    color: var(--s-background-color) !important;
}

.navbar-nav .dropdown-menu {
    background-color: var(--s-background-color-2);
}

.dropdown-menu {
    left: auto !important;
    right: 0 !important;
}

.dropdown-menu.show li a {
    color: rgba(255, 255, 255, 0.55);
}

.dropdown-menu.show li a:hover {
    color: var(--s-text-color);
    background-color: var(--s-background-color-2);
}

.nav-link:hover,
.dropdown-menu li a:hover,
.dropdown-menu li a:active,
.dropdown-menu li button:hover {
    color: var(--s-text-color);
}

.dropdown-item:active {
    background-color: var(--s-background-color) !important;
}

.select2 {
    width: 100% !important;
}

.select2-dropdown {
    z-index: 1060;
}

.select2-selection,
.select2-selection:focus,
.select2-search input[type="search"],
.select2-search input[type="search"]:focus,
.select2-search input[type="search"]:focus-visible {
    background-color: var(--s-text-color-3);
    border-color: var(--s-text-color);
    box-shadow: 0 0 0 0;
    outline: 0;
}

.custom-form-1 .select2-selection,
.custom-form-1 .select2-selection:focus,
.custom-form-1 .select2-search input[type="search"],
.custom-form-1 .select2-search input[type="search"]:focus,
.custom-form-1 .select2-search input[type="search"]:focus-visible {
    background-color: var(--s-text-color-2);
    border-color: var(--s-text-color);
    box-shadow: 0 0 0 0;
    outline: 0;
    color: var(--s-text-color-3);
    font-weight: bold;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    /* height: 100%; */
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 28px;
    text-align: left;
    padding: .375rem 2.25rem 0 .75rem;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: auto;
    user-select: none;
}

span.select2-results {
    color: var(--s-background-color);
}

.custom-form-1 span.select2-results {
    color: var(--s-text-color-3);
}

.select2-container--open .select2-dropdown--below {
    margin-top: -5px;
}

span.select2-selection {
    padding-bottom: 0;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--s-text-color);
    color: var(--s-text-color-3);
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: var(--s-text-color-2);
    color: var(--s-text-color-3);
}

.input-group .select2-container--default .select2-selection--single {
    border-radius: 0;
}

.input-group-sm .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 29px;
    padding: 0px 5px 0px 5px;
    font-size: .875rem;
}

.input-group-sm .select2-container--default .select2-selection--single .select2-selection__arrow{
    top: 3px;
}

.s-alert-warning {
    background-color: #332701;
    border: 2px solid #664D03;
    color: #FFDA6A;
    padding: 2px 10px;
}

.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 3px;
    cursor: pointer;
    transition: transform 0.2s;
    vertical-align: middle;
}

.status-dot:hover {
    transform: scale(1.3);
}

.status-dot.open {
    background: #28a745;
}

.status-dot.completed {
    background: #6c757d;
}

.status-dot.cancelled {
    background: #dc3545;
}

.status-dot.postponed {
    background: #ffc107;
}