@charset "UTF-8";

@import 'variables.css';
@import 'variables-dark.css';

/* Select2 */
html[data-bs-theme="dark"] .select2-search__field::placeholder {
    color: var(--placeholder);
}


html[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--form-text) !important;
}

html[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: var(--placeholder);
}

.select2-results__option[aria-selected] {
    background-color: var(--dark-main-bg);
    color: var(--form-text);
}

html[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice,
html[data-bs-theme="dark"] .select2-container--default .select2-results__option[aria-selected=true],
html[data-bs-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: var(--primary);
	color: var(--dark-main-color);
}

html[data-bs-theme="dark"] .select2-container.select2-container--open .select2-selection--single {
	background-color: #fefeff;
	border-color: #1a73e831;
}


html[data-bs-theme="dark"] .select2-container.select2-container--focus .select2-selection--multiple,
html[data-bs-theme="dark"] .select2-container.select2-container--focus .select2-selection--single {
    border-color: var(--border-color) !important;
    background-color: var(--form-background) !important;
}

html[data-bs-theme="dark"] .select2-container.select2-container--focus .select2-selection--multiple:focus,
html[data-bs-theme="dark"] .select2-container.select2-container--focus .select2-selection--single:focus {
    border-color: var(--primary) !important;
}

html[data-bs-theme="dark"] .select2-container .select2-selection--multiple,
html[data-bs-theme="dark"] .select2-container .select2-selection--single {
    border-color: var(--border-color) !important;
    background-color: var(--form-background) !important;
}

html[data-bs-theme="dark"] .select2-dropdown {
    background-color: var(--form-background) !important;
}

html[data-bs-theme="dark"] .select2-dropdown {
    border-color: var(--border-color) !important;
}

html[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--primary);
    color: var(--dark-main-color);
    border: none;
}

html[data-bs-theme="dark"] .select2-container--default .select2-results__option[aria-selected=true],
html[data-bs-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--dark-hover-bg);
    color: var(--dark-main-color);
}

html[data-bs-theme="dark"] .select2-container--default .select2-search--inline .select2-search__field {
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .select2-selection.select2-selection--single {
    border-color: var(--border-color) !important;
}

/* Ckeditor */
html[data-bs-theme="dark"] .cke_top {
    border-bottom: 1px solid var(--border-color) !important;
}

html[data-bs-theme="dark"] .cke_bottom {
    border-top: 1px solid var(--border-color) !important;
}

html[data-bs-theme="dark"] .cke_chrome {
    border: 1px solid var(--border-color) !important;
}

html[data-bs-theme="dark"] .cke_top,
html[data-bs-theme="dark"] .cke_bottom {
    background: var(--form-background-readonly) !important;
}

html[data-bs-theme="dark"] .cke_reset_all,
html[data-bs-theme="dark"] .cke_reset_all *,
html[data-bs-theme="dark"] .cke_reset_all a,
html[data-bs-theme="dark"] .cke_reset_all textarea,
html[data-bs-theme="dark"] .cke_menubutton_label {
    color: var(--white) !important;
}

html[data-bs-theme="dark"] .cke_reset_all {
    background: var(--dark-secondary-bg) !important;
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] a.cke_dialog_ui_button.cke_dialog_ui_button_ok {
    background: var(--primary) !important;
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .cke_combo_arrow,
html[data-bs-theme="dark"] .cke_button_arrow,
html[data-bs-theme="dark"] .cke_ltr .cke_dialog_close_button {
    filter: invert(1) !important;
}

/* html[data-bs-theme="dark"] a.cke_button_disabled .cke_button_icon,
html[data-bs-theme="dark"] a.cke_button_disabled .cke_button_arrow {
    opacity: .25 !important;
} */

html[data-bs-theme="dark"] .cke_ltr .cke_button_icon {
    filter: invert(1) !important;
}

html[data-bs-theme="dark"] a.cke_button_off:hover,
html[data-bs-theme="dark"] a.cke_button_off:focus,
html[data-bs-theme="dark"] a.cke_button_off:active {
    background: var(--dark-hover-bg) !important;
}

html[data-bs-theme="dark"] .cke_combo_on a.cke_combo_button,
html[data-bs-theme="dark"] .cke_combo_off a.cke_combo_button:hover,
html[data-bs-theme="dark"] .cke_combo_off a.cke_combo_button:focus,
html[data-bs-theme="dark"] .cke_combo_off a.cke_combo_button:active {
    background: var(--dark-hover-bg) !important;
    border: 1px solid var(--border-color) !important;
}

html[data-bs-theme="dark"] .cke_dialog_title,
html[data-bs-theme="dark"] .cke_dialog_contents_body,
html[data-bs-theme="dark"] .cke_dialog_footer,
html[data-bs-theme="dark"] .cke_dialog_body {
    background: var(--dark-secondary-bg) !important;
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .cke_dialog_ui_button_cancel {
    background: transparent !important;
    border: 1px solid var(--border-color) !important;
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] a.cke_smile:hover,
html[data-bs-theme="dark"] a.cke_smile:focus,
html[data-bs-theme="dark"] a.cke_smile:active,
html[data-bs-theme="dark"] a.cke_specialchar:hover,
html[data-bs-theme="dark"] a.cke_specialchar:focus,
html[data-bs-theme="dark"] a.cke_specialchar:active,
html[data-bs-theme="dark"] a.cke_button_on {
    background: var(--dark-hover-bg) !important;
}

html[data-bs-theme="dark"] .cke_dialog_tab {
    background: var(--dark-secondary-bg);
    color: var(--dark-main-color) !important;
    opacity: .5;
}

html[data-bs-theme="dark"] .cke_dialog_tab:hover {
    background: var(--dark-main-bg);
    opacity: 1 !important;
}

html[data-bs-theme="dark"] .cke_dialog_tab_selected {
    background: var(--dark-main-bg) !important;
    opacity: 1 !important;
    border-bottom-color: var(--dark-main-bg) !important;
}

html[data-bs-theme="dark"] input.cke_dialog_ui_input_text,
html[data-bs-theme="dark"] input.cke_dialog_ui_input_password,
html[data-bs-theme="dark"] input.cke_dialog_ui_input_tel,
html[data-bs-theme="dark"] textarea.cke_dialog_ui_input_textarea,
html[data-bs-theme="dark"] select.cke_dialog_ui_input_select {
    background: var(--form-background) !important;
    color: var(--dark-main-color) !important;
    border: 1px solid var(--border-color) !important;
}

html[data-bs-theme="dark"] a.cke_dialog_ui_button {
    background: var(--dark-secondary-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--dark-main-color) !important;
}

/* Daterangepicker */
html[data-bs-theme="dark"] .daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: var(--primary);
}

/* Flatpickr */
html[data-bs-theme="dark"] .flatpickr-day.selected {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--dark-main-color) !important;
}


html[data-bs-theme="dark"] .flatpickr-calendar {
    background-color: var(--form-background-readonly) !important;
    color: var(--dark-main-color) !important;
    -webkit-box-shadow: 1px 0 0 var(--border-color), -1px 0 0 var(--border-color), 0 1px 0 var(--border-color), 0 -1px 0 var(--border-color), 0 3px 13px rgba(0, 0, 0, 0.08);
    box-shadow: 1px 0 0 var(--border-color), -1px 0 0 var(--border-color), 0 1px 0 var(--border-color), 0 -1px 0 var(--border-color), 0 3px 13px rgba(0, 0, 0, 0.08);
}

html[data-bs-theme="dark"] .flatpickr-months .flatpickr-prev-month,
html[data-bs-theme="dark"] .flatpickr-months .flatpickr-next-month,
html[data-bs-theme="dark"] .flatpickr-current-month .flatpickr-monthDropdown-months,
html[data-bs-theme="dark"] .flatpickr-current-month input.cur-year,
html[data-bs-theme="dark"] span.flatpickr-weekday {
    color: var(--dark-main-color) !important;
    fill: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .flatpickr-day {
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .flatpickr-day.flatpickr-day.prevMonthDay {
    color: var(--dark-secondary-color) !important;
}

html[data-bs-theme="dark"] .flatpickr-day:hover {
    background-color: var(--dark-secondary-bg) !important;
}

html[data-bs-theme="dark"] .numInputWrapper span {
    background: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .numInputWrapper span {
    background: var(--dark-secondary-bg) !important;
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .numInputWrapper span {
    opacity: 1 !important;
}

html[data-bs-theme="dark"] .flatpickr-current-month .numInputWrapper span.arrowDown:after {
    border-top-color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .flatpickr-current-month .numInputWrapper span.arrowUp:after {
    border-bottom-color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .flatpickr-day.inRange,
html[data-bs-theme="dark"] .flatpickr-day.prevMonthDay.inRange,
html[data-bs-theme="dark"] .flatpickr-day.nextMonthDay.inRange,
html[data-bs-theme="dark"] .flatpickr-day.today.inRange,
html[data-bs-theme="dark"] .flatpickr-day.prevMonthDay.today.inRange,
html[data-bs-theme="dark"] .flatpickr-day.nextMonthDay.today.inRange,
html[data-bs-theme="dark"] .flatpickr-day:hover,
html[data-bs-theme="dark"] .flatpickr-day.prevMonthDay:hover,
html[data-bs-theme="dark"] .flatpickr-day.nextMonthDay:hover,
html[data-bs-theme="dark"] .flatpickr-day:focus,
html[data-bs-theme="dark"] .flatpickr-day.prevMonthDay:focus,
html[data-bs-theme="dark"] .flatpickr-day.nextMonthDay:focus {
    background-color: var(--primary);
    border-color: var(--primary);
}

html[data-bs-theme="dark"] .flatpickr-day.inRange {
    -webkit-box-shadow: -5px 0 0 var(--primary), 5px 0 0 var(--primary);
    box-shadow: -5px 0 0 var(--primary), 5px 0 0 var(--primary);
}

html[data-bs-theme="dark"] .flatpickr-time input {
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .flatpickr-time input:hover,
html[data-bs-theme="dark"] .flatpickr-time input:focus {
    background-color: var(--dark-hover-bg) !important;
}

html[data-bs-theme="dark"] .flatpickr-time .numInputWrapper span.arrowUp:after {
    border-bottom-color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .flatpickr-time .numInputWrapper span.arrowDown:after {
    border-top-color: var(--dark-main-color) !important;
}

/* Sweetalert */
html[data-bs-theme="dark"] .swal2-popup {
    background-color: var(--form-background) !important;
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .swal2-styled.swal2-cancel {
    color: var(--dark-main-bg) !important;
}

html[data-bs-theme="dark"] .swal2-popup.swal2-toast {
    background-color: var(--form-background) !important;
    color: var(--dark-main-color) !important;
    box-shadow: 0 0 10px 0 var(--border-color) !important;
}

html[data-bs-theme="dark"] .select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: var(--form-background) !important;
    color: var(--dark-main-color) !important;
    border-color: var(--border-color) !important;
}

/* Fullcalendar */
html[data-bs-theme="dark"] .fc-state-default {
    background-color: var(--dark-hover-bg) !important;
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .fc-view > table th {
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .fc-view > table td {
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .fc-unthemed td.fc-today {
    background-color: var(--dark-lighter) !important;
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .fc-view > table th,
html[data-bs-theme="dark"] .fc-view > table tr,
html[data-bs-theme="dark"] .fc-view > table td,
html[data-bs-theme="dark"] .fc-view > table td {
    border-color: var(--border-color) !important;
}

html[data-bs-theme="dark"] .btn-remove-lesson-schedule-date {
    border-color: var(--border-color) !important;
    color: var(--danger) !important;
    background-color: var(--dark-main-bg) !important;
    border-left: none !important;
    padding: 0rem 1rem !important;
}

html[data-bs-theme="dark"] .btn-remove-lesson-schedule-date:hover,
html[data-bs-theme="dark"] .btn-remove-lesson-schedule-date:focus,
html[data-bs-theme="dark"] .btn-remove-lesson-schedule-date:active,
html[data-bs-theme="dark"] .btn-remove-lesson-schedule-date:focus:active,
html[data-bs-theme="dark"] .btn-remove-lesson-schedule-date:not(:disabled):not(.disabled):active {
    background-color: var(--dark-hover-bg) !important;
    border-color: var(--border-color) !important;
}

html[data-bs-theme="dark"] .btn-light {
    border-color: var(--border-color) !important;
    background-color: var(--dark-main-bg) !important;
    border-left: none !important;
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .btn-light:hover,
html[data-bs-theme="dark"] .btn-light:focus,
html[data-bs-theme="dark"] .btn-light:active,
html[data-bs-theme="dark"] .btn-light:focus:active,
html[data-bs-theme="dark"] .btn-light:not(:disabled):not(.disabled):active {
    background-color: var(--dark-hover-bg) !important;
    border-color: var(--border-color) !important;
}

html[data-bs-theme="dark"] table.dataTable thead th,
html[data-bs-theme="dark"] table.dataTable thead td {
    border-bottom: 1px solid var(--border-color) !important;
}

html[data-bs-theme="dark"] .create-lesson-report-key-indicator-option-btn,
html[data-bs-theme="dark"] .edit-lesson-report-key-indicator-option-btn,
html[data-bs-theme="dark"] .show-lesson-report-key-indicator-option-btn,
html[data-bs-theme="dark"] .show-lesson-report-key-indicator-option-btn:hover {
    border-color: var(--border-color) !important;
    color: var(--light-grey) !important;
    background-color: var(--dark-main-bg) !important;
    padding: 0rem !important;
    padding: 0rem 0rem !important;
    aspect-ratio: 1/1 !important;
    width: 30px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0 !important;
}

html[data-bs-theme="dark"] .show-lesson-report-key-indicator-option-btn {
    cursor: default !important;
}

html[data-bs-theme="dark"] .create-lesson-report-key-indicator-option-btn.active,
html[data-bs-theme="dark"] .edit-lesson-report-key-indicator-option-btn.active,
html[data-bs-theme="dark"] .show-lesson-report-key-indicator-option-btn.active {
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
    color: var(--white) !important;
}

html[data-bs-theme="dark"] .create-lesson-report-key-indicator-option-btn:hover,
html[data-bs-theme="dark"] .edit-lesson-report-key-indicator-option-btn:hover {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}

html[data-bs-theme="dark"] .fc-unthemed .fc-divider,
html[data-bs-theme="dark"] .fc-unthemed .fc-list-heading td,
html[data-bs-theme="dark"] .fc-unthemed .fc-popover .fc-header {
    background: var(--dark-lighter) !important;
    color: var(--dark-main-color) !important;
}

html[data-bs-theme="dark"] .fc-more-popover .fc-event-container {
    background: var(--dark-main-bg) !important;
}

html[data-bs-theme="dark"] .fc-unthemed .fc-content,
html[data-bs-theme="dark"] .fc-unthemed .fc-divider,
html[data-bs-theme="dark"] .fc-unthemed .fc-list-heading td,
html[data-bs-theme="dark"] .fc-unthemed .fc-list-view,
html[data-bs-theme="dark"] .fc-unthemed .fc-popover,
html[data-bs-theme="dark"] .fc-unthemed .fc-row,
html[data-bs-theme="dark"] .fc-unthemed tbody,
html[data-bs-theme="dark"] .fc-unthemed td,
html[data-bs-theme="dark"] .fc-unthemed th,
html[data-bs-theme="dark"] .fc-unthemed thead {
    border-color: var(--border-color) !important;
}

html[data-bs-theme="dark"] #calendar-loading {
    background: var(--form-background) !important;
}

html[data-bs-theme="dark"] .fc-more-popover .fc-event-container::-webkit-scrollbar-track {
    background: var(--dark-lighter) !important;
}

html[data-bs-theme="dark"] .fc-more-popover .fc-event-container::-webkit-scrollbar-thumb {
    background: var(--secondary) !important;
}

html[data-bs-theme="dark"] .fc-more-popover .fc-event-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-lighter) !important;
}
