:root {
    --w-color-primary: #78006E;
    --w-color-primary-200: #720269;
    --w-color-secondary: #ad2293;
    --w-color-secondary-600: #8c1b74;
    --w-color-secondary-400: #a42b8f;
    --w-color-secondary-100: #f3e7f7;
    --w-color-secondary-75: #f8f2f9;
    --w-color-secondary-50: #fcf9fc;
    --w-color-info-125: #990793;
    --w-color-info-100: #b21f9d;
    --w-color-info-50: #f9f2f9;
    --w-color-focus: #a42b8f;
    --w-color-border-button-outline-default: #ad2293;
    --w-color-border-button-outline-hover: #8c1b74;
    --w-font-sans: 'Saudi Sans VF';
    --w-font-mono: 'Saudi Serif VF';

    --bs-primary: #78006E;
    --bs-primary-200: #720269;
    --bs-secondary: #ad2293;
    --bs-secondary-600: #8c1b74;
    --bs-secondary-400: #a42b8f;
    --bs-secondary-100: #f3e7f7;
    --bs-secondary-75: #f8f2f9;
    --bs-secondary-50: #fcf9fc;
    --bs-info-125: #990793;
    --bs-info-100: #b21f9d;
    --bs-info-50: #f9f2f9;
    --bs-focus: #a42b8f;
    --bs-border-button-outline-default: #ad2293;
    --bs-border-button-outline-hover: #8c1b74;

    --bs-primary-rgb: 120, 0, 110;
    --bs-primary-200-rgb: 114, 2, 105;
    --bs-secondary-rgb: 173, 34, 147;
    --bs-secondary-600-rgb: 140, 27, 116;
    --bs-secondary-400-rgb: 164, 43, 143;
    --bs-secondary-100-rgb: 243, 231, 247;
    --bs-secondary-75-rgb: 248, 242, 249;
    --bs-secondary-50-rgb: 252, 249, 252;
    --bs-info-125-rgb: 153, 7, 147;
    --bs-info-100-rgb: 178, 31, 157;
    --bs-info-50-rgb: 249, 242, 249;
    --bs-link-color: #78006E;
    --bs-link-hover-color: #720269;
    --bs-link-active-color: #720269;
    --bs-link-visited-color: #720269;
    --bs-link-focus-color: #720269;
    --bs-link-color-rgb: 114, 2, 105;

    --bs-default-shadow: 0 0 10px 0 rgba(114, 2, 105, 0.25);

}

@font-face {
    font-family: 'Saudi Serif VF';
    src: url("/static/fonts/saudi_serif.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Saudi Serif VF';
    src: url("/static/fonts/saudi_serif_medium.ttf") format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Saudi Serif VF';
    src: url("/static/fonts/saudi_serif_bold.ttf") format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Saudi Sans VF';
    src: url("/static/fonts/saudi_sans.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Saudi Sans VF';
    src: url("/static/fonts/saudi_sans_medium.ttf") format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Saudi Sans VF';
    src: url("/static/fonts/saudi_sans_bold.ttf") format('truetype');
    font-weight: bold;
    font-style: normal;
}


.dropdown-menu {
    --bs-dropdown-link-hover-bg: #78006E;
    --bs-dropdown-link-hover-color: #fff;
    --bs-dropdown-link-active-bg: #78006E;
    --bs-dropdown-link-active-color: #fff;
    --bs-dropdown-bg: #fff;
    --bs-dropdown-link-color: #444;
    --bs-dropdown-border-color: rgba(0, 0, 0, 0.175);
    border-radius: 0;

}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: .375rem .75rem !important;
    height: 38px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered:has(.select2-search__field:focus) {
    box-shadow: 0 0 0 0.25rem rgba(114, 2, 105, 0.25) !important;
    border-color: #720269 !important;
    z-index: 5 !important;
    border-top: none !important;
}

.select2-dropdown--below {
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
    border-top: none !important;
    border-radius: 0 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: var(--bs-secondary-100) !important;
    color: #444 !important;
}


.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #78006E !important;
    color: #fff !important;
    margin-top: 0 !important;
    border: none !important;
    padding: 2px 10px !important;
    margin-bottom: -1px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 0 !important;
}

.select2-container--default .select2-selection--multiple {
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
    border-radius: 0 !important;
}


.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover,
.bootstrap-datetimepicker-widget table td span.active {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
}

.dropdown-divider {
    --bs-dropdown-divider-bg: rgba(0, 0, 0, 0.175);
}

.btn-primary {
    --bs-btn-bg: #78006E;
    --bs-btn-border-color: #78006E;
    --bs-btn-hover-bg: #720269;
    --bs-btn-hover-border-color: #720269;
    --bs-btn-active-bg: #720269;
    --bs-btn-active-border-color: #720269;
    --bs-btn-active-shadow: #720269;
    --bs-btn-disabled-bg: #720269;
    --bs-btn-disabled-border-color: #720269;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-border-color: #720269;
    --bs-btn-disabled-bg: #720269;
    --bs-btn-disabled-border-color: #720269;
    --bs-btn-disabled-shadow: #720269;
    --bs-btn-disabled-bg-color: #720269;
    --bs-btn-disabled-border-color: #720269;
    --bs-btn-disabled-bg-color: #720269;
    --bs-btn-disabled-border-color: #720269;
}


.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(114, 2, 105, 0.25);
    border-color: #720269;

}

        
#stars-login-logo-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

#stars-login-logo-container img {
    width: 150px;
    height: 150px;
}


.messages-container {
    z-index: 1000;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

.messages-container .alert {
    border-radius: 0;
}

.object-position-top {
    object-position: top;
}

.object-position-bottom {
    object-position: bottom;
}

.object-position-center {
    object-position: center;
}

.default-shadow {
    box-shadow: var(--bs-default-shadow);
}


.template-404, .template-500 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.template-404 h1, .template-500 h1 {
    font-size: 4rem;
}

.template-404 h2, .template-500 h2 {
    font-size: 2rem;
}

.template-404 p, .template-500 p {
    font-size: 1rem;
}

.template-404 a, .template-500 a {
    color: #78006E;
    text-decoration: none;
}

.template-404 a:hover, .template-500 a:hover {
    color: #720269;
    text-decoration: underline;
}


.login-form-custom,
.logout-container {
    min-width: 500px;
    padding: 20px;
    margin: 100px auto;
}

.logout-message {
    text-align: center;
}