﻿/* ============================================
   CUSTOM BTN-PRIMARY - Facebook Blue Gradient
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, #1877F2 0%, #166FE5 50%, #0D5EDB 100%) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #166FE5 0%, #0D5EDB 50%, #0A51C7 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4) !important;
}

.btn-primary:active,
.btn-primary.active {
    background: linear-gradient(135deg, #0D5EDB 0%, #0A51C7 100%) !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3) !important;
}

.btn-primary:focus,
.btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(24, 119, 242, 0.5) !important;
}

.btn-primary:disabled,
.btn-primary.disabled {
    background: linear-gradient(135deg, #94B8E8 0%, #8AADE0 100%) !important;
    opacity: 0.65 !important;
    cursor: not-allowed !important;
}

/* Button Group Support */
.btn-group .btn-primary:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Small Size */
.btn-primary.btn-sm {
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.25) !important;
}

/* Large Size */
.btn-primary.btn-lg {
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35) !important;
}

/* Loading State */
.btn-primary .spinner-border,
.btn-primary .spinner-grow {
    border-color: rgba(255, 255, 255, 0.3) !important;
    border-right-color: #fff !important;
}

/* ============================================
   END CUSTOM BTN-PRIMARY
   ============================================ */

/* styling opsi */
.form-signin {
    max-width: 500px;
    margin: 20px auto;
    background-color: #fff;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    background-color: rgba(255, 255, 255, .8);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    border-radius: 8px;
    box-shadow: 4px 4px 10px 0 rgba(20, 20, 20, .6);
}

#background-carousel {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.item {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    z-index: 0;
}

#content-wrapper {
    position: absolute;
    z-index: 1 !important;
    min-width: 100%;
    min-height: 100%;
}

.well {
    opacity: 0.85
}

.login-container {
    -ms-flex-align: center;
    align-items: center;
    background: #00000000;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    -ms-flex-pack: center;
    justify-content: center
}

/*
WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
now override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d),
(-webkit-transform-3d) {

    .carousel-fade .carousel-inner>.item.next,
    .carousel-fade .carousel-inner>.item.active.right {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .carousel-fade .carousel-inner>.item.prev,
    .carousel-fade .carousel-inner>.item.active.left {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .carousel-fade .carousel-inner>.item.next.left,
    .carousel-fade .carousel-inner>.item.prev.right,
    .carousel-fade .carousel-inner>.item.active {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding: 50px;
    /* background-image: url("../img/bgx.jpg"); */
    /* background: linear-gradient(120deg, #eda354 15%, #5e83ab 60%,  #19be00 100%); /* ikasmedia */
    /* background-size:52px;
	background-repeat: repeat; */
    background: #22C1C3;
    background: linear-gradient(0deg, rgba(34, 193, 195, 1) 0%, rgba(253, 187, 45, 1) 100%);
    height: 300px;
}

.overlap {
    margin-top: -260px
}

.funkyradio div {
    clear: both;
    overflow: hidden;
}

.funkyradio label {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #D1D3D4;
    font-weight: normal;
    padding: 5px 0 5px 50px;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
    display: none;
}

.funkyradio input[type="radio"]:empty~label,
.funkyradio input[type="checkbox"]:empty~label {
    position: relative;
    line-height: 2em;
    /*text-indent: 3.25em;*/
    margin-top: 5px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.funkyradio input[type="radio"]:empty~label:before,
.funkyradio input[type="checkbox"]:empty~label:before {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2.5em;
    background: #D1D3D4;
    border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked)~label,
.funkyradio input[type="checkbox"]:hover:not(:checked)~label {
    color: #888;
}

.funkyradio input[type="radio"]:hover:not(:checked)~label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked)~label:before {
    /*content: '\2714';*/
    text-indent: .9em;
    color: #000;
    font-weight: bold;
    padding: 5px 0 0 0;
}

.funkyradio input[type="radio"]:checked~label,
.funkyradio input[type="checkbox"]:checked~label {
    color: #fff;
    background: #86C186;
    font-weight: bold;
}

.funkyradio input[type="radio"]:checked~label:before,
.funkyradio input[type="checkbox"]:checked~label:before {
    /*content: '\2714';*/
    text-indent: .9em;
    color: #333;
    background-color: #ccc;
    padding: 5px 0 0 0;
}

.funkyradio input[type="radio"]:focus~label:before,
.funkyradio input[type="checkbox"]:focus~label:before {
    box-shadow: 0 0 0 3px #999;
}

.funkyradio-default input[type="radio"]:checked~label:before,
.funkyradio-default input[type="checkbox"]:checked~label:before {
    color: #333;
    background-color: #ccc;
}

.funkyradio-primary input[type="radio"]:checked~label:before,
.funkyradio-primary input[type="checkbox"]:checked~label:before {
    color: #fff;
    background-color: #337ab7;
}

.funkyradio-success input[type="radio"]:checked~label:before,
.funkyradio-success input[type="checkbox"]:checked~label:before {
    color: #fff;
    background-color: #5cb85c;
}

.funkyradio-danger input[type="radio"]:checked~label:before,
.funkyradio-danger input[type="checkbox"]:checked~label:before {
    color: #fff;
    background-color: #d9534f;
}

.funkyradio-warning input[type="radio"]:checked~label:before,
.funkyradio-warning input[type="checkbox"]:checked~label:before {
    color: #fff;
    background-color: #f0ad4e;
}

.funkyradio-info input[type="radio"]:checked~label:before,
.funkyradio-info input[type="checkbox"]:checked~label:before {
    color: #fff;
    background-color: #5bc0de;
}

.huruf_opsi {
    margin-left: -36px;
    margin-top: 9px;
    position: absolute;
}

.btn.no-hover:hover {
    cursor: default !important;
}

/* shadow */
.shadow-sm {
    box-shadow: 0 .125rem .25rem 0 rgba(58, 59, 69, .2) !important
}

.my-shadow {
    box-shadow: 0 .15rem 1.75rem 0 rgba(58, 59, 69, .15) !important
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important
}

.shadow-none {
    box-shadow: none !important
}

.input-group>.w-40 {
    flex: 0 0 40%;
}

/* ============================================
   INPUT GROUP - Premium Styling (Bootstrap 5)
   ============================================ */

/* Base Input Group */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
}

/* Input Group Text (prepend/append icons) */
.input-group .input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6c757d;
    text-align: center;
    white-space: nowrap;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    flex-shrink: 0;
    min-width: 45px;
}

/* Input Group - Large Size */
.input-group-lg .input-group-text {
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    min-width: 55px;
}

/* Input Group - Small Size */
.input-group-sm .input-group-text {
    padding: 0.35rem 0.65rem;
    font-size: 0.875rem;
    min-width: 38px;
}

/* Form Control inside Input Group */
.input-group .form-control,
.input-group .form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

/* Fix border radius for prepend */
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: calc(var(--bs-border-width, 1px) * -1);
}

.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n + 3),
.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-control,
.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Modern Premium Styling */
.input-group .form-control:focus,
.input-group .form-select:focus {
    z-index: 3;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.input-group .form-control:focus + .input-group-text,
.input-group .form-control:focus ~ .input-group-text,
.input-group .form-select:focus + .input-group-text,
.input-group .form-select:focus ~ .input-group-text,
.input-group:focus-within .input-group-text {
    border-color: #86b7fe;
    background-color: #e7f1ff;
    color: #0d6efd;
}

/* Large form control input group */
.input-group .form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    border-radius: 0.5rem;
}

.input-group .form-control-lg:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .form-control-lg:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Buttons inside input group */
.input-group .btn {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.input-group .btn:focus {
    z-index: 5;
}

/* Multiple buttons styling */
.input-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > .btn:nth-child(n + 3),
.input-group > :not(.btn-check) + .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Fix for input-group with multiple buttons */
.input-group .btn + .btn {
    margin-left: -1px;
}

/* Outline buttons in input group */
.input-group .btn-outline-primary,
.input-group .btn-outline-secondary,
.input-group .btn-outline-success {
    border-width: 1px;
}

/* ============================================
   END INPUT GROUP
   ============================================ */

.note-editor.note-frame,
.note-editor.note-airframe {
    border: 1px solid #ffffff;
}

.bg-circle {
    width: 49px;
    height: 49px;
    text-align: center;
    padding: 5px 0 5px 10px;
    line-height: 2.00;
    border-radius: 30px;
    white-space: nowrap;
}

.btn-circle {
    width: 49px;
    height: 49px;
    text-align: center;
    padding: 5px 0;
    font-size: 20px;
    line-height: 2.00;
    border-radius: 30px;
}

.btn-oval {
    height: 49px;
    text-align: center;
    padding: 5px 0;
    font-size: 20px;
    line-height: 2.00;
    border-radius: 30px;
}

.btn-circle-micro {
    /*height: 19px;*/
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .80rem;
}

.btn-circle-sm {
    width: 35px;
    height: 35px;
    text-align: center;
    padding: 4px 0;
    font-size: 12pt;
    line-height: 1.65;
    border-radius: 30px;
}

.btn-oval-sm {
    height: 35px;
    text-align: center;
    font-size: 12pt;
    line-height: 1.65;
    border-radius: 30px;
    padding: .25em 1em;
}

.btn-circle-lg {
    width: 79px;
    height: 79px;
    text-align: center;
    padding: 13px 0;
    font-size: 30px;
    line-height: 2.00;
    border-radius: 70px;
}

.no-search .select2-search {
    display: none
}

.container-jawaban {
    display: flex;
    align-items: center;
    position: relative;
    padding: 1.25rem 1.25rem 1.25rem 4rem;
    /* Increased padding and indent */
    margin-bottom: 1.25rem;
    cursor: pointer;
    font-size: 1.1rem;
    /* Slightly larger text */
    background-color: #fff;
    /* Crisp white */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    /* Subtle tailored shadow */
    border-radius: 16px;
    /* Modern radius */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
    /* For inner glow effects if needed */
}

/* Hover State */
.container-jawaban:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.container-jawaban input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Indicator Box (A, B, C...) */
.checkmark,
.boxmark {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    height: 32px;
    width: 32px;
    background-color: #f1f5f9;
    border: 2px solid #e2e8f0;
    /* border-radius removed from here, defined individually below */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.checkmark {
    border-radius: 50%;
    /* Circle for radio buttons */
}

.boxmark {
    border-radius: 6px;
    /* Slightly tighter radius for smaller box */
    width: 24px;
    height: 24px;
}

/* Active/Checked State - Indicator */
.container-jawaban input:checked~.checkmark,
.container-jawaban input:checked~.boxmark {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(53, 148, 223, 0.4);
    transform: translateY(-50%) scale(1.1);
    /* Pop effect */
}

/* Active/Checked State - Container */
.container-jawaban:has(input:checked) {
    background-color: #f0f9ff;
    /* Very soft blue */
    box-shadow: 0 10px 15px -3px rgba(53, 148, 223, 0.15), 0 4px 6px -2px rgba(53, 148, 223, 0.1);
}

/* Fallback for browsers not supporting :has */
.container-jawaban.checked {
    background-color: #f0f9ff;
    box-shadow: 0 10px 15px -3px rgba(53, 148, 223, 0.15);
}

.container-jawaban input:checked~.boxmark {
    color: transparent;
    /* Hide the A/B/C text */
}

.container-jawaban input:checked~.boxmark:before {
    content: "\2713";
    /* Checkmark symbol */
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-lg .custom-control-label::before,
.checkbox-lg .custom-control-label::after {
    top: .8rem;
    width: 1.55rem;
    height: 1.55rem;
}



.linker-box {
    display: block;
    position: relative;
    background-color: #fff;
    border: 2px solid transparent;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
    cursor: pointer;
}

.linker-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.checkbox-lg .custom-control-label {
    padding-top: 13px;
    padding-left: 6px;
    cursor: pointer;
}

.checkbox-xl .custom-control-label::before,
.checkbox-xl .custom-control-label::after {
    top: 1.2rem;
    width: 1.85rem;
    height: 1.85rem;
}

.checkbox-xl .custom-control-label {
    padding-top: 23px;
    padding-left: 20px;
    cursor: pointer;
}

.my-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-check-input[type=checkbox]:indeterminate {
    background-color: #3DA576;
    border-color: #3DA576;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}

ul.media-list li img {
    width: 100px;
    height: 100px
}

ul.media-list li {
    height: 102px
}

ul.media-list li video {
    width: 100px;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%)
}

div#hint_brand .modal-dialog {
    top: 110px;
    width: 567px;
    max-width: 100%
}

li.myupload span {
    position: relative;
    width: 100px;
    height: 100px;
    display: block;
    background: #fff
}

li.myupload span input {
    opacity: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0
}

li.myupload span i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ccc;
    font-size: 54px
}

ul.media-list li {
    float: left;
    border: 1px solid #ccc;
    position: relative;
    margin: 0 5px 5px 0;
    width: 102px
}

ul.media-list li:last-child {
    margin-right: 0
}

.post-thumb {
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: none
}

li .title-thumb {
    position: absolute;
    height: 28px;
    width: 100px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}

ul.media-list li:hover .post-thumb {
    display: block
}

a.remove-pic {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 12px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    display: block;
    height: 25px;
    width: 25px;
    text-align: center;
    padding: 3px 0
}

.inner-post-thumb {
    position: relative
}

.user-post-text-wrap {
    position: relative
}

.user-pic-post {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0;
    left: 0
}

.user-pic-post img {
    width: 100%
}

.user-txt-post {
    padding: 0 0 0 65px
}

textarea.form-control.upostTextarea {
    border: 0;
    box-shadow: none;
    height: 85px;
    resize: none
}

.user-post-text-wrap {
    border-bottom: 1px solid #ccc;
    margin: 0 0 15px
}

.user-post-btn-wrap {
    margin: 25px 0 0
}

ul.btn-nav {
    list-style: none;
    padding: 0;
    margin: 0
}

ul.btn-nav li {
    position: relative;
    float: left;
    margin: 0 10px 0 0
}

ul.btn-nav li span input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 9;
    opacity: 0;
    filter: alpha(opacity=100)
}

ul.media-list {
    list-style: none;
    padding: 0;
    margin: 0
}

input.picupload {
    width: 100px;
    height: 100px
}


.select2-container {
    width: auto;
}

.bstreeview {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;

    padding: 0;
    overflow: hidden;
}

.bstreeview .list-group {
    margin-bottom: 0;
}

.bstreeview .list-group-item {
    border-radius: 0;
    border-width: 1px 0 0 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    cursor: pointer;
}

.bstreeview .list-group-item:hover {
    background-color: #dee2e6;
}

.bstreeview>.list-group-item:first-child {
    border-top-width: 0;
}

.bstreeview .state-icon {
    margin-right: 8px;
    width: 12px;
    text-align: center;
}

.bstreeview .item-icon {
    margin-right: 5px;
}

.tbl-vertical {
    white-space: nowrap;
    transform: rotate(-90deg);
    text-align: left;
    bottom: 4px;
    padding: 1px 1px 1px 10px;
    width: 30px;
}

/*from bs 3*/
@media (max-width:767px) {
    .hidden-xs {
        display: none !important
    }
}

@media (min-width:768px) and (max-width:991px) {
    .hidden-sm {
        display: none !important
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .hidden-md {
        display: none !important
    }
}

@media (min-width:1200px) {
    .hidden-lg {
        display: none !important
    }
}

.img-zoom {
    transition: transform .2s;
    margin: 0 auto;
}

.img-zoom:hover {
    -ms-transform: scale(2);
    /* IE 9 */
    -webkit-transform: scale(2);
    /* Safari 3-8 */
    transform: scale(2);
}

div.list-jadwal-ujian div:nth-child(even) {
    background: white;
    padding-left: .25rem !important;
    padding-right: .25rem !important;
    color: black;
}

div.list-jadwal-ujian div:nth-child(odd) {
    background: #dee2e6;
    padding-left: .25rem !important;
    padding-right: .25rem !important;
    color: black;
}

#guru.dataTable.no-footer {
    border-bottom: unset;
}

#guru tbody td {
    display: block;
    border: unset;
}

#guru>tbody>tr>td {
    border-top: unset;
}

.hrspan {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}

.hrspan span {
    position: absolute;
    top: -11px;
    background: #fff;
    padding: 0 20px;
    font-weight: bold;
    font-size: 16px;
}

div.hr-or {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
    text-align: center;
    height: 0px;
    line-height: 0px;
}

div.hr-or:before {
    content: 'OR';
    background-color: #fff;
}

div.hr {
    margin-top: 20px;
    margin-bottom: 12px;
    margin-right: 20px;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    height: 0px;
    line-height: 0px;
}

.hr-title {
    background-color: #fff;
    font-weight: bold;
    padding: 0 4px 0 0;
}

.hr-text {
    line-height: 1em;
    position: relative;
    outline: 0;
    border: 0;
    color: black;
    text-align: center;
    height: 1.5em;
    opacity: .5;
}

.hr-text:before {
    content: '';
    background: linear-gradient(to right, transparent, #818078, transparent);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}

.hr-text:after {
    content: attr(data-content);
    position: relative;
    display: inline-block;
    padding: 0 .5em;
    line-height: 1.5em;
    color: #818078;
    background-color: #fcfcfa;
}

.btn-disabled,
.btn-disabled[disabled] {
    opacity: .65;
    cursor: not-allowed;
}

.crop-text-1 {
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.crop-text-2 {
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.crop-text-table {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 300px;
}

.rTable {
    display: table;
    width: 100%;
}

.rTableRow {
    display: table-row;
}

.rTableHeading {
    display: table-header-group;
    background-color: #ddd;
}

.rTableCell,
.rTableHead {
    display: table-cell;
    border-top: 10px solid #EBEBEB;
}

.rTableHeading {
    display: table-header-group;
    background-color: #ddd;
    font-weight: bold;
}

.rTableFoot {
    display: table-footer-group;
    font-weight: bold;
    background-color: #ddd;
}

.rTableBody {
    display: table-row-group;
}

.sTable {
    display: table;
    width: 100%;
}

.sTableRow {
    display: table-row;
}

.sTableHeading {
    display: table-header-group;
    background-color: #ddd;
}

.sTableCell,
.sTableHead {
    display: table-cell;
    padding: 3px 10px;
    border: 1px solid #999999;
}

.sTableHeading {
    display: table-header-group;
    background-color: #ddd;
    font-weight: bold;
}

.sTableFoot {
    display: table-footer-group;
    font-weight: bold;
    background-color: #ddd;
}

.sTableBody {
    display: table-row-group;
}

connection {
    border: 2px solid #b51c29;
    border-radius: 31px;
}

.jodohkan ul {
    list-style: none;
    margin-left: 0px;
    padding-left: 0px;
    font-weight: normal;
}

.jodohkan li {
    border: solid 1px grey;
    padding: 5px 2px 5px 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
    background-color: #fff;
    color: black;
    border-radius: 4px;
    text-overflow: ellipsis;
    overflow: hidden;
}

button.btn.btn-icon {
    display: flex;
}

button.btn.btn-icon>i:first-child:not(:only-child) {
    margin-right: 0.75rem;
}

button.btn.btn-icon>span+i {
    margin-left: 0.75rem;
}

button.btn.shaded.btn-icon {
    display: flex;
    position: relative;
}

button.btn.shaded.btn-icon.shaded>i {
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 100;
    top: 0;
    border-radius: 0;
    padding: 0 0.4rem;
    height: 100%;
}

button.btn.shaded.btn-icon.shaded>i::before {
    background-color: rgba(6, 7, 8, 0.3);
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -10;
}

button.btn.shaded.btn-icon.left.shaded {
    padding-left: 2.7rem;
}

button.btn.shaded.btn-icon.left.shaded>i {
    left: 0;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
    margin-right: 0.75rem;
}

button.btn.shaded.btn-icon.right.shaded {
    padding-right: 2.7rem;
}

button.btn.shaded.btn-icon.right.shaded>i {
    right: 0;
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;
    margin-left: 0.75rem;
}

button.btn.shaded.btn-icon.primary>i::before {
    background-color: rgba(0, 86, 179, 0.5);
}

button.btn.shaded.btn-icon.danger>i::before {
    background-color: rgba(167, 29, 42, 0.5);
}

button.btn.shaded.btn-icon.info>i::before {
    background-color: rgba(15, 102, 116, 0.5);
}

button.btn.shaded.btn-icon.outline.primary>i::before {
    background-color: rgba(77, 163, 255, 0.3);
}

button.btn.shaded.btn-icon.outline.danger>i::before {
    background-color: rgba(231, 118, 129, 0.3);
}

button.btn.shaded.btn-icon.outline.info>i::before {
    background-color: rgba(54, 206, 230, 0.3);
}

/*
.btn-label {position: relative;left: -12px;display: inline-block;padding: 6px 12px;background: rgba(0,0,0,0.15);border-radius: 3px 0 0 3px;}
.btn-labeled {padding-top: 0;padding-bottom: 0;}
.btn { margin-bottom:10px; }
 */

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

/*
 * NEW ELEARNING
 * timetable
 */

table.my-timetable {
    height: 1px;

    tr:nth-child(odd) {
        border-bottom: 1px solid #f5f5f5;
    }

    /*
	tr {
		border-top: 1px solid #f5f5f5;
		border-bottom: 1px solid #f5f5f5;
	}
	width: 100%;
	tr:nth-child(even) th {
		color: #ccc;
		font-weight: normal;
	}

	td {
		padding: 0.5rem 0.8rem;
		font-weight: bold;
		line-height: 1.4;
		border-radius: 0.6rem;
		transition: opacity 0.3s ease;
		border: 2px solid #fff;
		border-left: 0;
		cursor: pointer;
	}
	 */
    th {
        border-left: 0;
        border-right: 0.2rem solid #fff;
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
    }

    td.times {
        height: 12px;
    }

    td .small {
        font-size: 0.8em;
        font-weight: normal;
        display: block;
        width: 100%;
    }

    td>div {
        cursor: pointer;
    }

    .frozen-header {
        width: 60px;
        min-width: 60px;
        max-width: 60px;
        background-color: #007bff !important;
        position: sticky;
        left: 0;
        z-index: 3;
    }

    .frozen-column {
        width: 60px;
        min-width: 60px;
        max-width: 60px;
        background-color: white !important;
        position: sticky;
        left: 0;
        z-index: 3;
    }

    .frozen-column-2 {
        width: 20px;
        min-width: 20px;
        max-width: 20px;
        left: 60px;
        background-color: white !important;
        position: sticky;
        border-right: 1px solid #dee2e6;
        border-bottom: 1px solid #f5f5f5;
        z-index: 2;
    }

    .frozen-column-3 {
        width: 20px;
        min-width: 20px;
        max-width: 20px;
        left: 60px;
        background-color: white !important;
        position: sticky;
        border-right: 1px solid #dee2e6;
        z-index: 2;
    }

    .frozen-header {
        position: sticky;
        top: 0;
        background: white;
        z-index: 4;
    }

    .frozen-column-header {
        position: sticky;
        top: 0;
        left: 0;
        background: white;
        z-index: 5;
    }
}

.stage-earth {
    background-color: #FFA726
}

.stage-mercury {
    background-color: #9CCC65
}

.stage-venus {
    background-color: #FF8A65
}

.stage-mars {
    background-color: #B3E5FC
}

.stage-jupiter {
    background-color: #81D4FA
}

.stage-saturn {
    background-color: #26C6DA
}

.draggable-table {
    .draggable-table__drag {
        position: absolute;
        z-index: 10;
        cursor: all-scroll;
        -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.05);
        box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.05);
        opacity: 1;
    }

    thead {
        th {
            user-select: none;
        }
    }

    tbody {

        tr {
            cursor: all-scroll;

            td {
                user-select: none;
            }
        }

        tr:nth-child(even) {
            background-color: #fafafa;
        }

        tr:nth-child(odd) {
            background-color: #ffffff;
        }

        tr.is-dragging {
            background: #f1c40f;

            td {
                color: #ffe683;
            }
        }
    }
}

.border-top-bold {
    border-top-color: #d0d4d5 !important;
    border-top-width: 2px !important;
}

.border-rigt-bold {
    border-right-color: #d0d4d5 !important;
    border-right-width: 2px !important;
}

.border-left-bold {
    border-left-color: #d0d4d5 !important;
    border-left-width: 2px !important;
}

.border-bottom-bold {
    border-bottom-color: #d0d4d5 !important;
    border-bottom-width: 2px !important;
}

/* Question Popup / Modal Daftar Soal Styles */
.question-popup {
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.question-popup ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 12px;
}

.question-popup ul li {
    position: relative;
    height: 50px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.question-popup ul li a {
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.question-popup ul li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Current active question */
.question-popup ul li.current {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(53, 148, 223, 0.4);
}

.question-popup ul li.current a {
    color: #fff !important;
}

/* Answered question (Selected) */
.question-popup ul li.selected {
    background-color: #10b981;
    /* Emerald 500 */
    border-color: #10b981;
    color: #fff !important;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}

.question-popup ul li.selected a {
    color: #fff !important;
}

/* State when item is both answered AND current */
.question-popup ul li.selected.current {
    background: linear-gradient(135deg, var(--primary) 0%, #336799 100%);
    border-color: transparent;
}

/* The small badge for answer char (A, B, or Check) */
.question-popup ul li span {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background-color: #f59e0b;
    /* Amber 500 */
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* =========================================
   AdminLTE 4 / Bootstrap 5 Compatibility
   ========================================= */

/* Fix DataTables Length Select (BS4 uses custom-select, BS5 uses form-select) */
div.dataTables_wrapper div.dataTables_length select.custom-select {
    display: inline-block;
    width: auto;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-image: url('data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 16 16\'%3e%3cpath fill=\'none\' stroke=\'%23343a40\' stroke-linecap=\'round\' stroke-linejoin=\'round\' stroke-width=\'2\' d=\'m2 5 6 6 6-6\'/%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    appearance: none;
}

div.dataTables_wrapper div.dataTables_length select.custom-select-sm {
    padding-top: .25rem;
    padding-bottom: .25rem;
    padding-left: .5rem;
    font-size: .875rem;
    border-radius: var(--bs-border-radius-sm);
}

/* Fix DataTables Filter Input */
div.dataTables_wrapper div.dataTables_filter input {
    margin-left: 0.5em;
    display: inline-block;
    width: auto;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

div.dataTables_wrapper div.dataTables_filter input.form-control-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: var(--bs-border-radius-sm);
}

/* Fix Pagination */
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.page-link {
    position: relative;
    display: block;
    color: var(--bs-link-color);
    text-decoration: none;
    background-color: var(--bs-body-bg);
    border: var(--bs-border-width) solid var(--bs-border-color);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Card Improvements */
.alert-default-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-default-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

.alert-default-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-default-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

/* Callout Compatibility */
.callout {
    border-radius: .25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    background-color: #fff;
    border-left: 5px solid #e9ecef;
    margin-bottom: 1rem;
    padding: 1rem;
}

.callout.callout-danger {
    border-left-color: #bd2130;
}

.callout.callout-warning {
    border-left-color: #d39e00;
}

.callout.callout-info {
    border-left-color: #117a8b;
}

.callout.callout-success {
    border-left-color: #1e7e34;
}

/* =========================================
   PREMIUM ADMINLTE OVERRIDES - MODERN UI
   ========================================= */

:root {
    --premium-primary: #4F46E5;
    /* Indigo 600 */
    --premium-primary-hover: #4338ca;
    --premium-secondary: #64748b;
    --premium-success: #10b981;
    --premium-info: #3b82f6;
    --premium-warning: #f59e0b;
    --premium-danger: #ef4444;
    --premium-dark: #1e293b;
    --premium-light: #f8fafc;
    --premium-body-bg: #f1f5f9;
    --premium-sidebar-bg: #0f172a;
    /* Slate 900 */
    --premium-sidebar-hover: rgba(255, 255, 255, 0.1);
    --premium-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --premium-card-hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --premium-radius: 0.75rem;
    --premium-font: 'Poppins', sans-serif;
    --premium-indigo: #6366f1;

    /* --- Premium Gradient Tokens --- */
    --grad-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
    --grad-success: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
    --grad-info: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    --grad-warning: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
    --grad-danger: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    --grad-indigo: linear-gradient(135deg, #4338ca 0%, #6366f1 50%, #818cf8 100%);
    --grad-blue: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%);
    --grad-cyan: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #22d3ee 100%);
    --grad-teal: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #5eead4 100%);
    --grad-fuchsia: linear-gradient(135deg, #a21caf 0%, #d946ef 50%, #f0abfc 100%);
    --grad-maroon: linear-gradient(135deg, #9f1239 0%, #e11d48 50%, #fb7185 100%);
    --grad-green: linear-gradient(135deg, #15803d 0%, #22c55e 50%, #86efac 100%);
    --grad-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --grad-sunset: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
    --grad-purple-love: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --grad-fresh: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
}

.bg-indigo {
    background-color: var(--premium-indigo) !important;
    color: #fff !important;
}

/* --- Modern Gradient Utilities --- */
.grad-primary {
    background: var(--grad-primary) !important;
    color: #fff !important;
}

.grad-success {
    background: var(--grad-success) !important;
    color: #fff !important;
}

.grad-info {
    background: var(--grad-info) !important;
    color: #fff !important;
}

.grad-warning {
    background: var(--grad-warning) !important;
    color: #212529 !important;
}

.grad-danger {
    background: var(--grad-danger) !important;
    color: #fff !important;
}

.grad-indigo {
    background: var(--grad-indigo) !important;
    color: #fff !important;
}

.grad-blue {
    background: var(--grad-blue) !important;
    color: #fff !important;
}

.grad-cyan {
    background: var(--grad-cyan) !important;
    color: #fff !important;
}

.grad-teal {
    background: var(--grad-teal) !important;
    color: #fff !important;
}

.grad-fuchsia {
    background: var(--grad-fuchsia) !important;
    color: #fff !important;
}

.grad-maroon {
    background: var(--grad-maroon) !important;
    color: #fff !important;
}

.grad-green {
    background: var(--grad-green) !important;
    color: #fff !important;
}

.grad-dark {
    background: var(--grad-dark) !important;
    color: #fff !important;
}

.grad-sunset {
    background: var(--grad-sunset) !important;
    color: #fff !important;
}

.grad-purple-love {
    background: var(--grad-purple-love) !important;
    color: #fff !important;
}

.grad-fresh {
    background: var(--grad-fresh) !important;
    color: #fff !important;
}

.text-indigo {
    color: var(--premium-indigo) !important;
}

body {
    background-color: var(--premium-body-bg) !important;
    font-family: var(--premium-font) !important;
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

/* --- Card Styling --- */
.card {
    border: none !important;
    border-radius: var(--premium-radius) !important;
    box-shadow: var(--premium-card-shadow) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    margin-bottom: 1.5rem;
}

.card:hover {
    box-shadow: var(--premium-card-hover-shadow) !important;
    /* transform: translateY(-2px); */
    /* Optional: subtle lift */
}

.card-header {
    background-color: transparent !important;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 1.5rem;
}

.card-title {
    font-weight: 600;
    color: var(--premium-dark);
    font-size: 1.1rem;
}

.card-body {
    padding: 1.5rem;
}

/* --- Sidebar Styling --- */
.app-sidebar {
    background-color: var(--premium-sidebar-bg) !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1) !important;
    border-right: none !important;
    position: fixed !important;
    height: 100vh !important;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1038;
    display: flex !important;
    flex-direction: column;
    overflow-y: hidden !important;
    width: 250px;
    /* Default expanded width */
    transition: width 0.3s ease-in-out, margin-left 0.3s ease-in-out;
}

/* Collapsed State Override - Mobile Only */
@media (max-width: 991.98px) {
    .sidebar-collapse .app-sidebar {
        width: 0 !important;
        overflow: hidden !important;
        margin-left: -250px !important;
        /* Move off-canvas */
    }

    /* When sidebar is closed (default state on mobile usually lacks sidebar-open) */
    .app-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .sidebar-open .app-sidebar {
        transform: translateX(0);
        width: 250px !important;
    }
}

/* Desktop Mini Sidebar */
@media (min-width: 992px) {

    /* If body has sidebar-collapse, show mini sidebar */
    .sidebar-collapse .app-sidebar {
        width: 4.6rem !important;
        /* AdminLTE mini sidebar width */
        min-width: 4.6rem !important;
        transform: none !important;
        margin-left: 0 !important;
    }

    /* Standard expanded state */
    .app-sidebar {
        width: 250px !important;
        transform: none !important;
    }

    /* Hide text elements in mini sidebar */
    .sidebar-collapse .app-sidebar .sidebar-brand .brand-text,
    .sidebar-collapse .app-sidebar .nav-sidebar .nav-link p,
    .sidebar-collapse .app-sidebar .nav-sidebar .nav-header,
    .sidebar-collapse .app-sidebar .user-panel .info {
        display: none !important;
    }

    /* Allow submenus to be visible on hover if needed */
    .sidebar-collapse .app-sidebar .sidebar-wrapper {
        overflow: visible !important;
    }

    /* Center Icons in Mini Sidebar */
    .sidebar-collapse .app-sidebar .nav-sidebar .nav-link {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .sidebar-collapse .app-sidebar .nav-sidebar .nav-link i {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    /* Center Brand Logo */
    .sidebar-collapse .app-sidebar .sidebar-brand {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
    }

    .sidebar-collapse .app-sidebar .sidebar-brand .brand-image {
        margin-right: 0 !important;
    }
}


.sidebar-wrapper {
    flex: 1;
    overflow-y: auto !important;
    overflow-x: hidden;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* Custom Scrollbar for Webkit */
.sidebar-wrapper::-webkit-scrollbar {
    width: 6px;
}

.sidebar-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.sidebar-brand {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-text {
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

.nav-sidebar .nav-item .nav-link {
    color: #94a3b8 !important;
    border-radius: 0.5rem;
    margin: 0.2rem 0.5rem;
    padding: 0.65rem 1rem;
    font-weight: 500;
    font-size: 0.95rem !important;
    /* Standardized to 15px-ish for clarity */
}

.nav-sidebar .nav-item .nav-link:hover {
    background-color: var(--premium-sidebar-hover) !important;
    color: #fff !important;
}

.nav-sidebar .nav-item .nav-link.active {
    background: linear-gradient(135deg, var(--premium-primary) 0%, #6366f1 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.nav-sidebar .nav-header {
    color: #64748b !important;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

/* --- Sidebar Treeview Arrow Fixes --- */
.nav-sidebar .nav-link p {
    display: inline-block;
    width: 100%;
    margin: 0;
}

.nav-sidebar .nav-link i.right {
    float: right;
    margin-top: 2px;
    transition: transform 0.3s ease;
}

/* Rotate arrow when menu is open */
.nav-sidebar .nav-item.menu-open>.nav-link i.right,
.nav-sidebar .nav-item.menu-is-opening>.nav-link i.right {
    transform: rotate(-90deg);
}

/* Ensure no conflict with mini-sidebar hiding */
.sidebar-collapse .app-sidebar .nav-sidebar .nav-link i.right {
    display: none !important;
}

/* --- Navbar Styling --- */
.app-header {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.app-header .nav-link {
    color: #64748b !important;
    font-weight: 500;
}

.app-header .nav-link:hover {
    color: var(--premium-primary) !important;
}

/* --- User Dropdown Menu Fix --- */
.navbar-nav .user-menu .dropdown-menu {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    min-width: 280px !important;
    width: auto !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 0;
    box-shadow: var(--premium-card-hover-shadow) !important;
    border: none;
}

.user-footer {
    background-color: #fff !important;
    padding: 1rem !important;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

/* --- Premium Timeline Modern Design --- */
.timeline {
    margin: 0 0 15px 0;
    position: relative;
    padding-left: 10px;
}

/* Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 0;
    left: 28px;
    /* Centers line with icons */
    width: 2px;
    background: #e2e8f0;
    border-radius: 2px;
}

.timeline>div {
    margin-bottom: 15px !important;
    margin-right: 0 !important;
    position: relative;
}

/* Icons */
.timeline>div>.fa,
.timeline>div>.fas,
.timeline>div>.far,
.timeline>div>.fab {
    width: 38px !important;
    height: 38px !important;
    font-size: 14px !important;
    line-height: 38px !important;
    position: absolute;
    left: 10px !important;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border: 2px solid #fff !important;
    /* White border to separate from line */
}

/* Timeline Item Card */
.timeline>div>.timeline-item {
    margin-left: 65px !important;
    margin-top: 0 !important;
    padding: 15px !important;
    background-color: #fff !important;
    border-radius: 12px !important;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease;
}

.timeline>div>.timeline-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02) !important;
    border-color: #e2e8f0;
}

/* Header Text */
.timeline-item .timeline-header {
    font-size: 1rem !important;
    color: #1e293b !important;
    /* Darker for better visibility */
    margin: 0;
    line-height: 1.5 !important;
    border-bottom: none !important;
    font-weight: 500;
}

.timeline-item .timeline-header a {
    color: var(--premium-primary) !important;
    text-decoration: none;
    font-weight: 700 !important;
}

.timeline-item .timeline-header .small {
    color: #64748b !important;
    /* Darker secondary text */
    display: block;
    margin-top: 2px;
}

/* Time Badge */
.timeline-item .time {
    float: right;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    background: #f8fafc;
    padding: 2px 8px;
    border-radius: 12px;
}

/* --- Buttons --- */
.btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* 
.btn-primary {
    background: linear-gradient(135deg, var(--premium-primary) 0%, #6366f1 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3);
    transform: translateY(-1px);
} 
*/

.btn-success {
    background: linear-gradient(135deg, var(--premium-success) 0%, #34d399 100%);
}

.btn-danger {
    background: linear-gradient(135deg, var(--premium-danger) 0%, #f87171 100%);
}

.btn-info {
    background: linear-gradient(135deg, var(--premium-info) 0%, #60a5fa 100%);
    color: white !important;
}

/* --- Badges --- */
.badge {
    padding: 0.4em 0.8em;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.2px;
}

/* Fix for pale bg-light border badges in data gurus/etc */
.badge.bg-light.border {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* Premium Color Overrides for Badges */
.bg-success {
    background-color: var(--premium-success) !important;
    color: #fff !important;
}

.bg-danger {
    background-color: var(--premium-danger) !important;
    color: #fff !important;
}

.bg-primary {
    background-color: var(--premium-primary) !important;
    color: #fff !important;
}

.bg-warning {
    background-color: var(--premium-warning) !important;
    color: #1e293b !important;
}

.bg-info {
    background-color: var(--premium-info) !important;
    color: #fff !important;
}

/* --- Tables --- */
.table thead th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.table td {
    vertical-align: middle;
    color: #475569;
}

/* --- Box & Card Refinements --- */
.info-box {
    border-radius: var(--premium-radius) !important;
    border: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--premium-card-hover-shadow) !important;
}

.small-box {
    border-radius: var(--premium-radius) !important;
    border: none !important;
    transition: transform 0.2s ease;
    overflow: hidden;
}

.small-box:hover {
    transform: translateY(-3px);
}

.small-box .inner h5 {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
}

.small-box .inner span {
    font-size: 0.85rem !important;
    opacity: 0.9;
    font-weight: 500;
}

.info-box .info-box-number {
    font-weight: 700 !important;
}

.info-box .info-box-text {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Fix for links wrapping boxes */
a.text-decoration-none:hover {
    text-decoration: none !important;
}

.small-box .inner {
    padding: 1.5rem;
    z-index: 2;
    position: relative;
}

.small-box h3 {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.small-box p {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.small-box .icon {
    position: absolute;
    top: 10px;
    right: 15px;
    opacity: 0.15;
    transition: all 0.3s;
    z-index: 0;
}

.small-box .icon i,
.small-box .icon span {
    font-size: 80px;
    line-height: 1;
}

.small-box:hover .icon {
    transform: scale(1.1);
    opacity: 0.25;
}

/* --- Login Page --- */
.login-page,
.register-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.login-card-body {
    border-radius: var(--premium-radius);
}

/* --- Global Modern Form Controls --- */
.form-control,
.form-select,
.select2-container--bootstrap4 .select2-selection {
    border-radius: 0.625rem !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 0.65rem 1.1rem !important;
    height: auto !important;
    font-size: 0.9rem !important;
    color: #334155 !important;
    background-color: #ffffff !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}

.form-control:focus,
.form-select:focus,
.select2-container--bootstrap4.select2-container--focus .select2-selection {
    border-color: var(--premium-primary) !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12) !important;
    color: #1e293b !important;
    outline: none !important;
}

.form-control::placeholder {
    color: #94a3b8 !important;
    font-weight: 400;
}

.form-label,
label {
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.015em;
    display: inline-block;
}

/* Custom Checkbox/Radio Styling */
.form-check-input {
    width: 1.25em !important;
    height: 1.25em !important;
    margin-top: 0.15em !important;
    border: 2px solid #cbd5e1 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.form-check-input:checked {
    background-color: var(--premium-primary) !important;
    border-color: var(--premium-primary) !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1) !important;
}

/* Input Group Enhancements - Unified Look */
.input-group {
    border-radius: 0.625rem !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    /* Force items to touch */
}

.input-group:focus-within {
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12) !important;
}

.input-group-prepend,
.input-group-append {
    display: flex !important;
}

.input-group-text {
    background-color: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-right: none !important;
    border-radius: 0.625rem 0 0 0.625rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
    padding: 0.65rem 1rem !important;
    min-width: 48px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease;
    margin: 0 !important;
}

.input-group:focus-within .input-group-text {
    border-color: var(--premium-primary) !important;
    color: var(--premium-primary) !important;
    background-color: #fff !important;
}

.input-group>.form-control,
.input-group>.form-select {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: 1.5px solid #e2e8f0 !important;
    margin-left: 0 !important;
    height: auto !important;
}

.input-group>.form-control:focus,
.input-group>.form-select:focus {
    box-shadow: none !important;
    border-color: var(--premium-primary) !important;
    z-index: 2;
}

.input-group:focus-within>.form-control,
.input-group:focus-within>.form-select {
    border-color: var(--premium-primary) !important;
}

/* Seamless Input Group (for profile forms with icon prefixes) */
.input-group>.input-group-text.border-end-0 {
    border-right: 0 !important;
}

.input-group>.form-control.border-start-0,
.input-group>.form-select.border-start-0 {
    border-left: 0 !important;
}

.input-group>.form-control.ps-0,
.input-group>.form-select.ps-0 {
    padding-left: 0.5rem !important;
}

.input-group>.input-group-text.bg-light {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
}

/* --- Modal --- */
.modal-content {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
    border-bottom: 1px solid #f1f5f9;
    background-color: #f8fafc;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

/* --- Layout Fixes for Overlapping Content --- */

/* Remove any gap between sidebar and content */
body {
    background-color: #f8f9fa !important;
    margin: 0 !important;
    padding: 0 !important;
}

.app-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove padding from container-fluid inside app-main */
.app-main .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.app-main .content-header .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.app-main .content .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Ensure content is pushed right when sidebar is fixed */
@media (min-width: 992px) {

    .app-header,
    .app-main,
    .app-footer {
        margin-left: 250px !important;
        /* Match sidebar width */
        transition: margin-left 0.3s ease-in-out;
        width: auto !important;
    }

    .app-main {
        padding-left: 0 !important;
        padding-right: 0 !important;
        background: transparent !important;
    }

    /* Adjust for collapsed sidebar */
    .sidebar-collapse .app-header,
    .sidebar-collapse .app-main,
    .sidebar-collapse .app-footer {
        margin-left: 4.6rem !important;
        /* Match mini sidebar width */
    }
}

@media (max-width: 991.98px) {

    .app-header,
    .app-main,
    .app-footer {
        margin-left: 0 !important;
    }

    /* When sidebar is open on mobile, it overlays, so no margin change needed usually. 
       But we need to ensure sidebar is on top. */
    .app-sidebar {
        z-index: 1040 !important;
    }
}

.modal-footer {
    border-top: 1px solid #f1f5f9;
    background-color: #f8fafc;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

/* Smaller Sidebar Font */
.nav-sidebar .nav-link p {
    font-size: 14px;
}

.nav-sidebar .nav-header {
    font-size: 12px;
}

.nav-sidebar .nav-icon {
    font-size: 14px;
}

/* Match Select2 to Bootstrap Forms */
/* 
.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
    height: calc(2.25rem + 2px) !important;
    padding: .375rem .75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    border: 1px solid #ced4da !important;
    border-radius: .25rem !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
    line-height: 1.5 !important;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: calc(2.25rem + 2px) !important;
    top: 0 !important;
    right: 0.75rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
} 
*/

/* Tidy Form Labels */
/* 
label,
.form-label,
.control-label {
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    color: #343a40 !important;
} 
*/

/* Global Font Settings - Using Local Google Fonts (Downloaded) */
body {
    font-family: 'Roboto', 'Open Sans', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.card-title,
.brand-text {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600;
}

.btn,
.nav-link,
.dropdown-item,
label,
.form-label,
table th {
    font-family: 'Open Sans', sans-serif !important;
}

/* 
=========================================
   Modern & Colorful DataTables Styling
=========================================
*/

/* Table Container & General */
.dataTables_wrapper.container-fluid {
    padding: 0;
}

table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0;
    width: 100% !important;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

/* Header Styling - Modern Calm (Soft) */
table.dataTable thead th,
table.table thead th {
    background: #f8f9fc !important;
    color: #4e73df !important;
    /* Primary blue for header text for a clean look, or dark gray */
    color: #5a5c69 !important;
    /* Let's go with Dark Gray for professionalism */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 12px 15px !important;
    border-bottom: 2px solid #e3e6f0 !important;
    vertical-align: middle !important;
}

/* Sorting Icons Color Fix - Dark for light headers */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after {
    color: rgba(0, 0, 0, 0.2) !important;
}

/* Row Styling */
table.dataTable tbody tr {
    transition: all 0.2s ease-in-out;
}

table.dataTable tbody tr:nth-of-type(odd) {
    background-color: #f8f9fc;
}

table.dataTable tbody tr:hover {
    background-color: #eef2ff !important;
    transform: scale(1.001);
    /* Gentle pop effect */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    z-index: 5;
    position: relative;
    cursor: default;
}

table.dataTable tbody td {
    padding: 12px 15px !important;
    vertical-align: middle !important;
    color: #5a5c69;
    border-bottom: 1px solid #e3e6f0;
    font-size: 0.9rem;
}

/* Border Radius for first/last rows */
table.dataTable thead th:first-child {
    border-top-left-radius: 8px;
}

table.dataTable thead th:last-child {
    border-top-right-radius: 8px;
}

table.dataTable tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

table.dataTable tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

/* Badges inside tables */
table.dataTable .badge {
    padding: 6px 10px;
    font-weight: 500;
    border-radius: 30px;
    /* Pill shape checks */
}

/* Action Buttons specific adjustments */
table.dataTable .btn-sm {
    border-radius: 6px;
    padding: 4px 8px;
    margin: 0 2px;
}

/* DataTables Controls (Search, Length, Pagination) */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #d1d3e2;
    border-radius: 5px;
    padding: 5px 10px;
    margin-left: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #bac8f3;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #d1d3e2;
    border-radius: 5px;
    padding: 5px;
    margin: 0 0.5rem;
}

/* Pagination Buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 5px !important;
    padding: 0.3em 0.8em !important;
    margin: 0 2px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #4e73df !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #eaecf4 !important;
    border-color: #eaecf4 !important;
    color: #2e59d9 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #4e73df !important;
    color: white !important;
    border-color: #4e73df !important;
    box-shadow: 0 2px 4px rgba(78, 115, 223, 0.25);
}

/* Custom Gradient for Secondary if missing in AdminLTE */
.bg-gradient-secondary {
    background: #6c757d linear-gradient(180deg, #828a91, #6c757d) repeat-x !important;
    color: #fff;
}

/* Custom Gradients for Dashboard Cards */
.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff 0%, #0062cc 100%) !important;
    color: #fff !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%) !important;
    color: #fff !important;
}

.bg-gradient-info,
.bg-gradient-cyan {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
    color: #fff !important;
}

.bg-gradient-warning,
.bg-gradient-orange {
    background: linear-gradient(135deg, #ff851b 0%, #cc5f00 100%) !important;
    color: #fff !important;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: #fff !important;
}

.bg-gradient-indigo {
    background: linear-gradient(135deg, #6610f2 0%, #520dc2 100%) !important;
    color: #fff !important;
}

.bg-gradient-teal {
    background: linear-gradient(135deg, #20c997 0%, #17a077 100%) !important;
    color: #fff !important;
}

.bg-gradient-maroon {
    background: linear-gradient(135deg, #d81b60 0%, #ad144d 100%) !important;
    color: #fff !important;
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: #fff !important;
}

.bg-gradient-green {
    background: linear-gradient(135deg, #28a745 0%, #1c7430 100%) !important;
    color: #fff !important;
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #6f42c1 0%, #59359a 100%) !important;
    color: #fff !important;
}

.bg-gradient-pink {
    background: linear-gradient(135deg, #e83e8c 0%, #c21766 100%) !important;
    color: #fff !important;
}

.bg-gradient-navy {
    background: linear-gradient(135deg, #001f3f 0%, #001226 100%) !important;
    color: #fff !important;
}
/* ============================================
   CUSTOM SELECT2 - MODERN BOOTSTRAP 5 STYLE
   ============================================ */

/* Single Select Container */
.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px) !important; /* Match Bootstrap 38px */
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out !important;
    background-image: url('data:image/svg+xml,%3csvg xmlns=''http://www.w3.org/2000/svg'' viewBox=''0 0 16 16''%3e%3cpath fill=''none'' stroke=''hsl%28210, 8%25, 45%25%29'' stroke-linecap=''round'' stroke-linejoin=''round'' stroke-width=''2'' d=''m2 5 6 6 6-6''/%3e%3c/svg%3e') !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
}

/* Remove default select2 arrow to rely on SVG background */
.select2-container .select2-selection--single .select2-selection__arrow {
    display: none !important;
}

/* Focus State */
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #86b7fe !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

/* Rendered Text Positioning */
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0 !important;
    padding-right: 0 !important;
    line-height: 1.5 !important;
    color: #212529 !important;
}

/* Multiple Select Container */
.select2-container .select2-selection--multiple {
    min-height: calc(2.25rem + 2px) !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    padding: 2px 0.75rem !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

/* Multiple Select Tags (Modern capsule style) */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #cfe2ff !important; /* Light blue */
    border: 1px solid #cfe2ff !important;
    color: #084298 !important;
    border-radius: 50rem !important; /* Capsule pill */
    padding: 2px 10px !important;
    margin-top: 5px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #084298 !important;
    margin-right: 6px !important;
    border-right: none !important;
    font-weight: bold !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background-color: transparent !important;
    color: #052c65 !important;
}

/* Dropdown Modernization */
.select2-dropdown {
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    padding: 0.5rem 0 !important;
}

/* Search Box Style */
.select2-search--dropdown .select2-search__field {
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    padding: 0.375rem 0.75rem !important;
    margin: 0 0.5rem 0.5rem 0.5rem !important;
    width: calc(100% - 1rem) !important;
}
.select2-search--dropdown .select2-search__field:focus {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
    outline: none !important;
}

/* Dropdown Item Padding */
.select2-results__option {
    padding: 0.375rem 1rem !important;
    font-size: 1rem !important;
}

/* Highlighted Item */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #e9ecef !important; /* Light gray hover like Bootstrap dropdowns */
    color: #1e2125 !important;
}
.select2-results__option[aria-selected=true] {
    background-color: #0d6efd !important;
    color: #fff !important;
}

