[class^='select2'] {
    border-radius: 0px !important;
}

/* ============================================
   SELECT2 DARK THEME OVERRIDES
   ============================================ */

/* Main Select2 Container */
.select2-container--default .select2-selection--single {
    background-color: #1f2430 !important;
    border: 1px solid #2a3040 !important;
    border-radius: 4px !important;
    height: 38px !important;
    padding: 6px 12px !important;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #8b7cf6 !important;
    box-shadow: 0 0 0 0.2rem rgba(139, 124, 246, 0.25) !important;
    outline: none !important;
}

/* Selected Value Text */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #e6e8ee !important;
    line-height: 24px !important;
    padding-left: 0 !important;
}

/* Placeholder Text */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #a9b0c0 !important;
    opacity: 0.6 !important;
}

/* Arrow Icon */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
    right: 6px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #a9b0c0 transparent transparent transparent !important;
    margin-top: -2px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #a9b0c0 transparent !important;
}

/* Dropdown Container */
.select2-container--default .select2-dropdown {
    background-color: #1f2430 !important;
    border: 1px solid #2a3040 !important;
    border-radius: 4px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

/* Search Box Inside Dropdown */
.select2-container--default .select2-search--dropdown {
    background-color: #171a21 !important;
    padding: 8px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: #0f1115 !important;
    border: 1px solid #2a3040 !important;
    border-radius: 4px !important;
    color: #e6e8ee !important;
    padding: 6px 12px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #8b7cf6 !important;
    box-shadow: 0 0 0 0.2rem rgba(139, 124, 246, 0.25) !important;
    outline: none !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field::placeholder {
    color: #a9b0c0 !important;
    opacity: 0.6 !important;
}

/* Results/Options List */
.select2-container--default .select2-results {
    background-color: #1f2430 !important;
}

.select2-container--default .select2-results__options {
    background-color: #1f2430 !important;
    max-height: 300px !important;
}

.select2-container--default .select2-results__option {
    background-color: #1f2430 !important;
    color: #e6e8ee !important;
    padding: 8px 12px !important;
    transition: all 0.2s ease !important;
}

/* Hovered Option */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected=true]:hover {
    background-color: rgba(139, 124, 246, 0.15) !important;
    color: #e6e8ee !important;
}

/* Selected Option */
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(139, 124, 246, 0.25) !important;
    color: #d3ccff !important;
    font-weight: 500 !important;
}

/* Selected Option with Checkmark */
.select2-container--default .select2-results__option[aria-selected=true]::before {
    content: '\2713  ';
    color: #8b7cf6 !important;
    font-weight: bold !important;
}

/* Disabled Option */
.select2-container--default .select2-results__option[aria-disabled=true] {
    color: #4a5055 !important;
    cursor: not-allowed !important;
    background-color: #171a21 !important;
}

/* Loading Message */
.select2-container--default .select2-results__message {
    color: #a9b0c0 !important;
}

/* No Results Message */
.select2-container--default .select2-results__option--no-results {
    background-color: #171a21 !important;
    color: #a9b0c0 !important;
    padding: 12px !important;
    text-align: center !important;
}

/* Group Headers */
.select2-container--default .select2-results__group {
    background-color: #171a21 !important;
    color: #8b7cf6 !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Multiple Select Styling */
.select2-container--default .select2-selection--multiple {
    background-color: #1f2430 !important;
    border: 1px solid #2a3040 !important;
    border-radius: 4px !important;
    min-height: 38px !important;
}

.select2-container--default .select2-selection--multiple:focus,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #8b7cf6 !important;
    box-shadow: 0 0 0 0.2rem rgba(139, 124, 246, 0.25) !important;
}

/* Selected Tags in Multiple Select */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #8b7cf6 !important;
    border: 1px solid #6b5ce0 !important;
    border-radius: 4px !important;
    color: #fff !important;
    padding: 2px 8px !important;
    margin: 4px 4px 0 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important;
    margin-right: 6px !important;
    font-weight: bold !important;
    opacity: 0.8 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #fff !important;
    opacity: 1 !important;
}

/* Search Box in Multiple Select */
.select2-container--default .select2-search--inline .select2-search__field {
    background-color: transparent !important;
    color: #e6e8ee !important;
    margin-top: 6px !important;
}

.select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #a9b0c0 !important;
    opacity: 0.6 !important;
}

/* Clear Button */
.select2-container--default .select2-selection__clear {
    color: #ff6b6b !important;
    font-size: 18px !important;
    font-weight: bold !important;
    margin-right: 8px !important;
    opacity: 0.7 !important;
    cursor: pointer !important;
}

.select2-container--default .select2-selection__clear:hover {
    opacity: 1 !important;
}

/* Disabled State */
.select2-container--default.select2-container--disabled .select2-selection--single,
.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: #171a21 !important;
    border-color: #2a3040 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.select2-container--default.select2-container--disabled .select2-selection__rendered {
    color: #4a5055 !important;
}

/* Scrollbar Styling for Dropdown */
.select2-results__options::-webkit-scrollbar {
    width: 8px !important;
}

.select2-results__options::-webkit-scrollbar-track {
    background: #171a21 !important;
    border-radius: 4px !important;
}

.select2-results__options::-webkit-scrollbar-thumb {
    background: #3a3f44 !important;
    border-radius: 4px !important;
}

.select2-results__options::-webkit-scrollbar-thumb:hover {
    background: #4a5055 !important;
}

/* Animation for Dropdown Opening */
.select2-dropdown {
    animation: select2FadeIn 0.15s ease-in !important;
}

@keyframes select2FadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fix for z-index issues in modals */
.modal-open .select2-container {
    z-index: 10000 !important;
}

.modal-open .select2-dropdown {
    z-index: 10001 !important;
}

/* ============================================
   END SELECT2 DARK THEME
   ============================================ */

.padding-left-12 {
    padding-left: 12px !important;
}

.in-table-header {
    background-color: #f5f5f5;
}

.in-table-header-2 {
    background-color: #f5f5f5;
}

@media print {
    .printbreak {
        clear: both;
        page-break-after: always;
    }
    /* page-break-after works, as well */
}

.loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    z-index: 0;
    background: radial-gradient( circle, rgb(126, 223, 255) 0%, rgba(71, 196, 255, 1) 68%, rgba(0, 110, 239, 1) 100% );
}

.loader-icon-1 {
    font-size: 80px;
    color: rgb(200, 241, 255, 0.8);
    text-shadow: 1px 1px 1px rgba(71, 196, 255, 1), -1px -1px 1px white;
    animation: snow-loader 0.5s 9 linear alternate-reverse forwards, snow-loader-zoom 5s forwards;
    animation-delay: 0s, 4.5s;
}

@keyframes snow-loader {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(90deg);
    }
}

@keyframes snow-loader-zoom {
    from {
        transform: scale(1, 1) rotateZ(0deg);
        color: rgb(200, 241, 255, 0.8);
    }

    to {
        color: #123;
        transform: scale(200, 200) rotateZ(360deg);
    }
}

.loader-text {
    font-size: 25px;
    color: rgb(200, 241, 255);
}

.main {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#123, #111);
    opacity: 0;
    animation: main-loadup 1s forwards linear, main-loadup-bg 10s forwards linear;
    animation-delay: 7s, 8s;
}

@keyframes main-loadup {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes main-loadup-bg {
    from {
        background-size: 100% 100%;
        background-position: 0% 0%;
    }

    to {
        background-size: 400% 400%;
        background-position: 0% 100%;
    }
}

.initial-snow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .initial-snow > * {
        font-size: 50px;
        color: white;
        position: absolute;
        top: -5vh;
    }

@keyframes snowfall {
    0% {
        transform: translate3d(var(--left-ini), 0, 0);
    }

    100% {
        transform: translate3d(var(--left-end), 110vh, 0);
    }
}

.snow:nth-child(2n) {
    filter: blur(1px);
    font-size: 40px;
}

.snow:nth-child(6n) {
    filter: blur(2px);
    font-size: 30px;
}

.snow:nth-child(10n) {
    filter: blur(5px);
    font-size: 30px;
}

.snow:nth-child(1) {
    --size: 0.8vw;
    --left-ini: 0vw;
    --left-end: -1vw;
    left: 70vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -1s;
}

.snow:nth-child(2) {
    --size: 0.2vw;
    --left-ini: -7vw;
    --left-end: 10vw;
    left: 65vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -8s;
}

.snow:nth-child(3) {
    --size: 1vw;
    --left-ini: 6vw;
    --left-end: 6vw;
    left: 1vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -7s;
}

.snow:nth-child(4) {
    --size: 0.2vw;
    --left-ini: -3vw;
    --left-end: 9vw;
    left: 88vw;
    animation: snowfall 14s linear infinite;
    animation-delay: -5s;
}

.snow:nth-child(5) {
    --size: 0.4vw;
    --left-ini: -2vw;
    --left-end: -9vw;
    left: 74vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -4s;
}

.snow:nth-child(6) {
    --size: 0.2vw;
    --left-ini: 5vw;
    --left-end: 1vw;
    left: 35vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -7s;
}

.snow:nth-child(7) {
    --size: 0.4vw;
    --left-ini: -2vw;
    --left-end: -1vw;
    left: 27vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -8s;
}

.snow:nth-child(8) {
    --size: 1vw;
    --left-ini: -9vw;
    --left-end: -2vw;
    left: 69vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -8s;
}

.snow:nth-child(9) {
    --size: 0.2vw;
    --left-ini: -1vw;
    --left-end: -5vw;
    left: 84vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -6s;
}

.snow:nth-child(10) {
    --size: 0.2vw;
    --left-ini: 7vw;
    --left-end: -9vw;
    left: 82vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -3s;
}

.snow:nth-child(11) {
    --size: 0.6vw;
    --left-ini: -2vw;
    --left-end: -1vw;
    left: 48vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -1s;
}

.snow:nth-child(12) {
    --size: 0.2vw;
    --left-ini: 5vw;
    --left-end: 6vw;
    left: 39vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -8s;
}

.snow:nth-child(13) {
    --size: 0.2vw;
    --left-ini: 6vw;
    --left-end: 5vw;
    left: 3vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -8s;
}

.snow:nth-child(14) {
    --size: 0.8vw;
    --left-ini: -5vw;
    --left-end: -2vw;
    left: 49vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -8s;
}

.snow:nth-child(15) {
    --size: 0.6vw;
    --left-ini: 10vw;
    --left-end: 4vw;
    left: 77vw;
    animation: snowfall 7s linear infinite;
    animation-delay: -4s;
}

.snow:nth-child(16) {
    --size: 0.8vw;
    --left-ini: -3vw;
    --left-end: 1vw;
    left: 86vw;
    animation: snowfall 14s linear infinite;
    animation-delay: -8s;
}

.snow:nth-child(17) {
    --size: 1vw;
    --left-ini: 6vw;
    --left-end: -7vw;
    left: 18vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -6s;
}

.snow:nth-child(18) {
    --size: 1vw;
    --left-ini: -9vw;
    --left-end: 4vw;
    left: 64vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -7s;
}

.snow:nth-child(19) {
    --size: 1vw;
    --left-ini: 2vw;
    --left-end: -7vw;
    left: 52vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -9s;
}

.snow:nth-child(20) {
    --size: 0.4vw;
    --left-ini: 0vw;
    --left-end: 8vw;
    left: 5vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -9s;
}

.snow:nth-child(21) {
    --size: 0.6vw;
    --left-ini: -9vw;
    --left-end: -2vw;
    left: 10vw;
    animation: snowfall 12s linear infinite;
    animation-delay: -3s;
}

.snow:nth-child(22) {
    --size: 0.8vw;
    --left-ini: -3vw;
    --left-end: -8vw;
    left: 54vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -9s;
}

.snow:nth-child(23) {
    --size: 0.6vw;
    --left-ini: -7vw;
    --left-end: -8vw;
    left: 20vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -3s;
}

.snow:nth-child(24) {
    --size: 0.4vw;
    --left-ini: 10vw;
    --left-end: -4vw;
    left: 68vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -8s;
}

.snow:nth-child(25) {
    --size: 1vw;
    --left-ini: 3vw;
    --left-end: 5vw;
    left: 90vw;
    animation: snowfall 7s linear infinite;
    animation-delay: -9s;
}

.snow:nth-child(26) {
    --size: 1vw;
    --left-ini: -7vw;
    --left-end: 5vw;
    left: 71vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -2s;
}

.snow:nth-child(27) {
    --size: 0.6vw;
    --left-ini: 9vw;
    --left-end: 4vw;
    left: 2vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -5s;
}

.snow:nth-child(28) {
    --size: 1vw;
    --left-ini: -5vw;
    --left-end: 3vw;
    left: 23vw;
    animation: snowfall 12s linear infinite;
    animation-delay: -1s;
}

.snow:nth-child(29) {
    --size: 0.4vw;
    --left-ini: -2vw;
    --left-end: -1vw;
    left: 39vw;
    animation: snowfall 14s linear infinite;
    animation-delay: -9s;
}

.snow:nth-child(30) {
    --size: 0.6vw;
    --left-ini: -9vw;
    --left-end: -5vw;
    left: 76vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -5s;
}

.snow:nth-child(31) {
    --size: 0.4vw;
    --left-ini: -5vw;
    --left-end: 3vw;
    left: 14vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -5s;
}

.snow:nth-child(32) {
    --size: 0.2vw;
    --left-ini: 5vw;
    --left-end: -1vw;
    left: 86vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -9s;
}

.snow:nth-child(33) {
    --size: 0.4vw;
    --left-ini: -3vw;
    --left-end: 10vw;
    left: 66vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -6s;
}

.snow:nth-child(34) {
    --size: 1vw;
    --left-ini: -3vw;
    --left-end: 6vw;
    left: 75vw;
    animation: snowfall 14s linear infinite;
    animation-delay: -9s;
}

.snow:nth-child(35) {
    --size: 1vw;
    --left-ini: -6vw;
    --left-end: 7vw;
    left: 22vw;
    animation: snowfall 7s linear infinite;
    animation-delay: -5s;
}

.snow:nth-child(36) {
    --size: 1vw;
    --left-ini: 3vw;
    --left-end: 4vw;
    left: 10vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -10s;
}

.snow:nth-child(37) {
    --size: 0.6vw;
    --left-ini: 2vw;
    --left-end: 10vw;
    left: 95vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -6s;
}

.snow:nth-child(38) {
    --size: 0.8vw;
    --left-ini: 5vw;
    --left-end: 8vw;
    left: 34vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -10s;
}

.snow:nth-child(39) {
    --size: 0.8vw;
    --left-ini: 4vw;
    --left-end: 0vw;
    left: 80vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -2s;
}

.snow:nth-child(40) {
    --size: 0.8vw;
    --left-ini: 1vw;
    --left-end: -7vw;
    left: 45vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -4s;
}

.snow:nth-child(41) {
    --size: 0.2vw;
    --left-ini: 9vw;
    --left-end: 10vw;
    left: 82vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -2s;
}

.snow:nth-child(42) {
    --size: 1vw;
    --left-ini: 9vw;
    --left-end: -9vw;
    left: 22vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -6s;
}

.snow:nth-child(43) {
    --size: 0.6vw;
    --left-ini: 5vw;
    --left-end: 8vw;
    left: 66vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -1s;
}

.snow:nth-child(44) {
    --size: 0.6vw;
    --left-ini: -5vw;
    --left-end: -2vw;
    left: 75vw;
    animation: snowfall 12s linear infinite;
    animation-delay: -4s;
}

.snow:nth-child(45) {
    --size: 0.2vw;
    --left-ini: 0vw;
    --left-end: 3vw;
    left: 2vw;
    animation: snowfall 7s linear infinite;
    animation-delay: -5s;
}

.snow:nth-child(46) {
    --size: 0.2vw;
    --left-ini: 8vw;
    --left-end: -3vw;
    left: 94vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -9s;
}

.snow:nth-child(47) {
    --size: 0.6vw;
    --left-ini: -6vw;
    --left-end: -9vw;
    left: 95vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -4s;
}

.snow:nth-child(48) {
    --size: 0.2vw;
    --left-ini: -5vw;
    --left-end: 6vw;
    left: 34vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -6s;
}

.snow:nth-child(49) {
    --size: 0.8vw;
    --left-ini: 4vw;
    --left-end: 8vw;
    left: 22vw;
    animation: snowfall 12s linear infinite;
    animation-delay: -10s;
}

.snow:nth-child(50) {
    --size: 0.2vw;
    --left-ini: -4vw;
    --left-end: 4vw;
    left: 100vw;
    animation: snowfall 14s linear infinite;
    animation-delay: -9s;
}
