/* @import url('colors.css'); */
@import url('preloader.css');
span{
    background: transparent;
}
.eeop_section_header {
    text-align: center;
}
.eeop_section_header h2, .header_text {
    border-radius: 17px;
    background: var(--special-bg-color);
    color: var(--special-text-color);
    width: 40vw;
    margin: auto;
    margin-bottom: 20px;
    text-align: center;
}

/* * Table * */
table {
    border-collapse: separate !important;
    border-spacing: 0 5px !important;
}
table tr {
    border-style: hidden !important;
    background: var(--shadow-color);
    text-align: center;
    line-height: 1.8;
    border-collapse: separate;
    /* allow spacing between cell borders */
    border-spacing: 0 7px;
    /* NOTE: syntax is <horizontal value> <vertical value> */
}
table td{
    border-style: hidden !important;
    background: transparent;
    text-align: center;
    line-height: 1.8;
    border-collapse: separate;
    /* allow spacing between cell borders */
    border-spacing: 0 7px;
    /* NOTE: syntax is <horizontal value> <vertical value> */
}
tr:nth-child(1) {
    background: var(--special-bg-color) !important;
    color: white !important;
    border-style: hidden !important;
    font-size: 18px;
}
table .circle_counter {
    height: 30px;
    width: 30px;
    background: var(--special-bg-color);
    display: block;
    border-radius: 50%;
    color: white;
    text-align: center;
    font-size: 15px !important;
    margin: 0;
    padding: 0;
}
table span{
    background: transparent;
}
table .metric-span{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    background: transparent;
}
#eeop_programs_section__programs .table_functions{
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    background: transparent;
}
#receipt_table .table tr{
    color: black !important;
    background: transparent !important;
}
#receipt_table .table tr th,
#receipt_table .table tr td{
    color: black !important;
    background: transparent;
    border: 1px solid black !important;
}
/* Accordian */
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--edlx-main-dark) !important;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--edlx-main-s1);
}

/* * Dash button * */
.dash-buttons,
.dash-buttons-green,
.dash-buttons-yellow,
.dash-buttons-blue,
.ee_button {
    background: var(--special-bg-color) !important;
    color: white !important;
    width: 100%;
    text-align: center;
    padding: 5px 15px;
    font-size: 1rem;
    border-radius: 7px;
    border: 3px solid var(--outline-color) !important;
    text-decoration: none;
    cursor: pointer;
}
.dash-buttons-dark{
    background: var(--special-mark-color) !important;
    color: var(--special-color);
    width: 100%;
    text-align: center;
    padding: 5px 15px;
    margin-top: 20px;
    font-size: 1rem;
    border-radius: 7px;
    border: 3px solid var(--outline-color) !important;
}
.dash-buttons-green{
    background: var(--enrollment-enrolled) !important;
    color: var(--text-color);
    border: 3px solid var(--enrollment-enrolled) !important;
}
.dash-buttons-yellow{
    background: var(--enrollment-pending) !important;
    color: var(--text-color);
    border: 3px solid var(--enrollment-pending) !important;
}
.dash-buttons-blue{
    background: var(--enrollment-waitlist) !important;
    color: var(--text-color);
    border: 3px solid var(--enrollment-waitlist) !important;
}
.btn-primary{
    background: var(--special-bg-color) !important;
    color: white !important;
    border: 3px solid var(--outline-color) !important;
}
.dash-buttons:hover,
.ee_button:hover {
    color: var(--special-color) !important;
    background: white !important;
    border: 3px solid var(--special-color) !important;
}
.dash-buttons-dark:hover{
    background: rgb(70, 68, 68);
}
.btn-primary:hover{
    color: var(--special-color) !important;
    background: white !important;
    border: 3px solid var(--special-color) !important;
}
.dash-buttons-green:hover{
    color: var(--enrollment-enrolled) !important;
    background: white !important;
}
.dash-buttons-yellow:hover{
    color: var(--enrollment-pending) !important;
    background: white !important;
}
.dash-buttons-blue:hover{
    color: var(--enrollment-waitlist) !important;
    background: white !important;
}
.btn-primary:disabled,
.dash-buttons-green:disabled,
.dash-buttons-yellow:disabled,
.dash-buttons-blue:disabled,
.dash-buttons:disabled,
.ee_button:disabled {
    color: #333 !important;
    background: #666 !important;
    border: 3px solid #3336 !important;
}
.dash-buttons-dark:disabled{
    background: var(--dark-color) !important;
    cursor: not-allowed;
}
.dropdown-menu .dropdown-item{
    cursor: pointer;
}



/* Radio */
/* The container */
.ee_radio {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	font-size: 15px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Hide the browser's default radio button */
.ee_radio input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.ee_radio input:disabled {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	background-color: #333;
}

.ee_radio input:disabled .ee_radio_circle {
	background-color: #333;
}

input:disabled .ee_radio_circle {
	background-color: #333;
}

/* Create a custom radio button */
.ee_radio_circle {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #eee;
	border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.ee_radio:hover input~.ee_radio_circle {
	background-color: #ccc;
}

.ee_radio input:disabled~.ee_radio_circle {
	background-color: #333;
}

/* When the radio button is checked, add a orange background */
.ee_radio input:checked~.ee_radio_circle {
	background-color: var(--special-color);
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.ee_radio_circle:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the indicator (dot/circle) when checked */
.ee_radio input:checked~.ee_radio_circle:after {
	display: block;
}

/* Style the indicator (dot/circle) */
.ee_radio .ee_radio_circle:after {
	top: 9px;
	left: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}
input[type=checkbox]:checked{
    background-color: var(--special-color);
}
/* JQUI - Datepicker */
/* .ui-datepicker-month,
.ui-datepicker-calendar
.ui-datepicker-calendar{
    display: none;
}
.ui-datepicker table {
  border: none !important;
  display: none;
}  */

.form,
#extraed_create_new_program_form,
#extraed_create_new_class_form,
#extraed_course_view_details_course_form,
#extraed_course_view_details_class_form {
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    box-shadow: 5px 5px var(--shadow-color) !important;
    border-radius: 7px;
    border: 3px solid var(--special-color) !important;
    margin: inherit;
    margin-top: 20px;
    margin-bottom: 5vw;
    min-width: 60vw;
    max-width: 70vw;
}
.form-small {
    background: var(--bg-color);
    box-shadow: 5px 5px var(--shadow-color) !important;
    border: 3px solid var(--special-color) !important;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    width: 100%;
}

/** tier 2 modal **/
dialog{
    background-color: var(--bg-color);
    color: var(--text-color);
    /* margin: 25% auto; */
    /* 15% from the top and centered */
    padding: 20px;
    border: 3px solid var(--special-mark-color);
    border-radius: 17px;
    width: 82vw;
    /* Could be more or less, depending on screen size */
    overflow-y: scroll; /* Add the ability to scroll */
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
#tier_2__modal{
    background-color: var(--bg-color);
    color: var(--text-color);
    /* margin: 25% auto; */
    /* 15% from the top and centered */
    padding: 20px;
    border: 3px solid var(--special-mark-color);
    border-radius: 17px;
    width: 80vw;
    /* Could be more or less, depending on screen size */
    overflow-y: scroll; /* Add the ability to scroll */
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
/* Hide scrollbar for Chrome, Safari and Opera */
#tier_2__modal::-webkit-scrollbar, dialog::-webkit-scrollbar{
    display: none;
}
#tier_2__modal::backdrop, dialog::backdrop{
    background-color: rgba(0, 0, 0, 0.6);
}
#tier_2__modal_content{
    margin: auto;
}

/** tier 3 modal **/
#tier_3__modal{
    background-color: var(--bg-color);
    color: var(--text-color);
    /* margin: 15% auto; */
    /* 15% from the top and centered */
    padding: 20px;
    border: 3px solid var(--special-mark-color);
    border-radius: 17px;
    width: 60vw;
    /* Could be more or less, depending on screen size */
    overflow-y: scroll; /* Add the ability to scroll */
    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
/* Hide scrollbar for Chrome, Safari and Opera */
#tier_3__modal::-webkit-scrollbar{
    display: none;
}
#tier_3__modal::backdrop{
    background-color: rgba(0, 0, 0, 0.7);
}
#tier_3__modal_content{
    margin: auto;
}

/** admin__updates **/
#admin__updates{
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 20px;
    border: 3px solid var(--special-mark-color);
    border-radius: 17px;
    width: 30vw;
    max-height: 50vw;
    margin: 0;
    margin-left: 67.5vw;
    margin-top: 1vw;
}
#admin__updates::backdrop{
    background-color: rgba(0, 0, 0, 0.6);
}
#admin__updates_notifications{
    margin: auto;
    text-align: left;
}
#admin__updates_notifications h4,
#admin__updates_notifications p{
    margin: 0;
}
#admin__updates_notifications td{
    text-align: left;
}
#admin__updates_notifications td h4,
#admin__updates_notifications td p,
#admin__updates_notifications td span{
    background: transparent;
}

/** Custom Confirm Dialog **/

/* Basic styles */
dialog.custom-confirm {
    border: none;
    padding: 0;
    border-radius: 12px;
    background: var(--bg-color);
    width: 420px;
    max-width: 90%;
    opacity: 0;
    transform: translateY(-20px);
    animation: dialogSlideFadeIn 220ms ease-out forwards;
}
dialog.custom-alert {
    border: none;
    border-radius: 12px;
    background: var(--bg-color);
    width: 320px;
    opacity: 0;
    transform: translateY(-20px);
    animation: dialogSlideFadeIn 220ms ease-out forwards;
}

dialog.custom-alert.closing {
    animation: dialogSlideFadeOut 180ms ease-in forwards;
}

.custom-alert .content {
    padding: 20px;
    font-size: 16px;
}

.custom-alert .actions {
    padding: 15px;
    display: flex;
    justify-content: flex-end;
}

/* Slide-in + fade-in */
@keyframes dialogSlideFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide-out + fade-out */
dialog.custom-confirm.closing {
    animation: dialogSlideFadeOut 180ms ease-in forwards;
}

@keyframes dialogSlideFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Dialog content */
.custom-confirm .content {
    padding: 20px;
    font-size: 16px;
}

/* Dialog actions */
.custom-confirm .actions {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Optional: make buttons full width on mobile */
@media (max-width: 400px) {
    .custom-confirm .actions {
        flex-direction: column;
    }
    .custom-confirm .actions .btn {
        width: 100%;
    }
}



/** Modals **/
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 5;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.6);
    /* Black w/ opacity */
}
.modal-content {
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid var(--special-mark-color);
    width: 95vw;
    /* Could be more or less, depending on screen size */
}
#instructor_comms__messages {
    display: flex;
    flex-direction: column;
    max-height: 500px;
    overflow-y: scroll;
    padding: 10px;
    box-sizing: border-box;
    border: 3px solid var(--special-color);
    border-radius: 17px;
    gap: 10px;
    /* Ensures it scrolls to the bottom by default */
    scroll-behavior: smooth;
    justify-content: flex-start; /* Keeps older messages at the top */
}
.instructor_msg {
    border: 3px solid var(--special-color);
    border-radius: 17px;
    padding: 10px;
    background-color: #636363;
    word-wrap: break-word;
    margin: 0px 30px;
}
.instructor_msg strong{
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
}
#edlx_course_view_details__view_instructor_communications__admin_notes{
    max-height: 400px;
    overflow-y: scroll;
    display: block;
    position: relative;
}
#edlx_course_view_details__view_instructor_communications__admin_notes th{
    position: sticky;
    top: 0;
    background: var(--special-bg-color);
}


/* i bubbles */
abbr[data-title],
.abbr_tooltip_right[data-title],
.abbr_table_functions_tooltip {
    position: relative;
    /* ensure consistent styling across browsers */
    text-decoration: none;
    background: transparent;
}

abbr[data-title]:hover::after,
abbr[data-title]:focus::after {
    content: attr(data-title);
    /* position tooltip like the native one */
    position: absolute;
    left: 0;
    bottom: -35px;
    width: auto;
    white-space: nowrap;

    background: var(--special-bg-color);
    color: var(--special-text-color);
    border-radius: 7px;
    box-shadow: 1px 1px 5px 0 var(--shadow-color);
    font-size: 1rem;
    padding: 3px 5px;

    z-index: 999;
}
.abbr_tooltip_right[data-title]:hover::after,
.abbr_tooltip_right[data-title]:focus::after{
    left: 220px;
    bottom: 5px;
}
.abbr_table_functions_tooltip:hover::after,
.abbr_table_functions_tooltip:focus::after{
    left: -50px !important;
    bottom: -3px !important;
    pointer-events: none !important; /* Prevent tooltip from blocking hover behavior */
}

.i-box{
    background: transparent !important;
    color: var(--special-color) !important;
}
.custom-tooltip {
    --bs-tooltip-bg: var(--edlx-main-dark);
    --bs-tooltip-color: var(--bs-white);
}
.bg-primary,.text-bg-primary{
    background: var(--special-color) !important;
}
.text-primary{
    color: var(--special-color) !important;
}
.text-primary-bold{
    color: var(--special-color) !important;
    font-weight: bold !important;
}
.border-primary{
    border-color: var(--special-color) !important;
}
.form-control:required,.form-select:required{
    border-color: var(--edlx-main-dark);
}

.btn-outline-primary {
  --bs-btn-color: var(--special-color) !important;
  --bs-btn-border-color: var(--special-color) !important;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--special-color) !important;
  --bs-btn-hover-border-color: var(--special-color) !important;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--special-color) !important;
  --bs-btn-active-border-color: var(--special-color) !important;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--special-color) !important;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--special-color) !important;
  --bs-gradient: none;
}

/* 
# ---------------------------------------------------------------------------
#                         Quill - Rich Text Editor                          #
# ---------------------------------------------------------------------------
*/

/* ── Wrapper ───────────────────────────────────────────────────── */
.edlx-editor-wrap {
    border: 1px solid var(--special-color);
    border-radius: 6px;
    overflow: visible;
    height: fit-content;
}

/* ── Toolbar ───────────────────────────────────────────────────── */
.ql-toolbar.ql-snow {
    border: none !important;
    border-bottom: 1px solid var(--special-color) !important;
    background: var(--bg-color) !important;
    border-radius: 6px 6px 0 0;
    font-family: inherit;
    padding: 6px 8px;
}

/* ── Editor container ──────────────────────────────────────────── */
.ql-container.ql-snow {
    border: none !important;
    border-radius: 0 0 6px 6px;
    font-family: inherit;
    font-size: 15px;
}

/* ── Editor body ───────────────────────────────────────────────── */
.ql-editor {
    background: var(--bg-color) !important;
    color: var(--text-color) !important;
    min-height: 320px;
    line-height: 1.6;
}

/* ── Base icon colors ──────────────────────────────────────────── */
.ql-snow .ql-stroke {
    stroke: var(--text-color) !important;
}
.ql-snow .ql-fill {
    fill: var(--text-color) !important;
}
.ql-snow .ql-picker {
    color: var(--text-color) !important;
}

/* ── Toolbar buttons — base ────────────────────────────────────── */
.ql-snow.ql-toolbar button {
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

/* ── Hover state ───────────────────────────────────────────────── */
.ql-snow.ql-toolbar button:hover {
    background: var(--edlx-main) !important;
}
.ql-snow.ql-toolbar button:hover .ql-stroke {
    stroke: var(--text-color) !important;
}
.ql-snow.ql-toolbar button:hover .ql-fill {
    fill: var(--text-color) !important;
}
.ql-snow.ql-toolbar button:hover .ql-picker {
    color: var(--text-color) !important;
}

/* ── Active state — accent bubble ──────────────────────────────── */
.ql-snow.ql-toolbar button.ql-active {
    background: var(--edlx-main-dark) !important;
    border-radius: 6px;
}
.ql-snow.ql-toolbar button.ql-active .ql-stroke {
    stroke: var(--text-color) !important;
}
.ql-snow.ql-toolbar button.ql-active .ql-fill {
    fill: var(--text-color) !important;
}

/* ── Picker (dropdowns like Header, Font, Size) ────────────────── */
.ql-snow .ql-picker-label {
    color: var(--text-color) !important;
    border-color: transparent;
    border-radius: 6px;
    padding: 2px 6px;
    transition: background 0.15s;
}
.ql-snow .ql-picker-label:hover {
    background: var(--edlx-main-s1) !important;
    color: var(--text-color) !important;
}
.ql-snow .ql-picker-label.ql-active {
    background: var(--edlx-main) !important;
    color: var(--text-color) !important;
}
.ql-snow .ql-picker-label .ql-stroke {
    stroke: var(--text-color) !important;
}

/* ── Dropdown menus ────────────────────────────────────────────── */
.ql-snow .ql-picker-options {
    background: var(--bg-color) !important;
    border-color: var(--special-color) !important;
    color: var(--text-color) !important;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    padding: 4px;
}
.ql-snow .ql-picker-options .ql-picker-item {
    color: var(--text-color) !important;
    border-radius: 4px;
    padding: 3px 8px;
}
.ql-snow .ql-picker-options .ql-picker-item:hover {
    background: var(--edlx-main-s1) !important;
    color: var(--text-color) !important;
}
.ql-snow .ql-picker-options .ql-picker-item.ql-selected {
    background: var(--edlx-main) !important;
    color: var(--text-color) !important;
}

/* ── Tooltips ──────────────────────────────────────────────────── */
.ql-snow.ql-toolbar button,
.ql-snow.ql-toolbar .ql-picker-label {
    position: relative;
}
.ql-snow.ql-toolbar button::after,
.ql-snow.ql-toolbar .ql-picker-label::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--edlx-main-dark) !important;
    color: var(--text-color) !important;
    font-size: 11px;
    white-space: nowrap;
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 9999;
}
.ql-snow.ql-toolbar button:hover::after,
.ql-snow.ql-toolbar .ql-picker-label:hover::after {
    opacity: 1;
}