﻿body {
    background-color: #f5f7fa; /* light grey */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    height: 100vh;
}

.login-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    width: 350px;
}

.custom-input {
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

    .custom-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
    }

.custom-btn {
    border-radius: 8px;
    padding: 10px;
    font-weight: 500;
}

h3 {
    color: #0d6efd;
}


/* Sidebar */
.sidebar {
    width: 250px;
    min-height: 100vh;
    background: #0d6efd;
}

    .sidebar .nav-link {
        color: #ffffff;
        margin-bottom: 10px;
        border-radius: 6px;
    }

        .sidebar .nav-link:hover,
        .sidebar .nav-link.active {
            background: rgba(255, 255, 255, 0.2);
        }

/* Main Content */
.main-content {
    background: #f5f7fa;
}

/* Topbar */
.topbar {
    background: #ffffff;
}



/* Cards */
.dashboard-card {
    padding: 20px;
    border-radius: 12px;
    border: none;
    transition: 0.2s;
}

    .dashboard-card:hover {
        transform: translateY(-3px);
    }

/* Table Card */
.card {
    border-radius: 12px;
    border: none;
}

.admin-submenu .nav-link {
    font-size: 14px;
    padding: 6px 10px;
    color: #e0e0e0;
    border-radius: 6px;
}

    .admin-submenu .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }


@media (max-width: 768px) {

    .hide-mobile {
        display: none;
    }
}



.offcanvas {
    width: 260px;
}

    .offcanvas .nav-link {
        color: white;
        border-radius: 8px;
        margin-bottom: 5px;
    }

        .offcanvas .nav-link:hover {
            background: #343a40;
        }

        .offcanvas .nav-link.active {
            background: #0d6efd;
        }

/* ==============================
   COMMENTS
   ============================== */

/*.comment-section {
    background: white;
    border-radius: 14px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.comment-title {
    font-size: 22px;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 3px;
}

.comment-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 0;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px;
    background-color: #fafafa;
}

.comment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-user {
    font-weight: 600;
    color: #111827;
}

.comment-date {
    font-size: 13px;
    color: #6b7280;
}

.comment-text {
    color: #374151;
    line-height: 1.5;
    white-space: pre-wrap;
    margin-bottom: 0;
}

.comment-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.comment-empty {
    text-align: center;
    padding: 35px 20px;
    color: #6b7280;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    background-color: #fafafa;
}

    .comment-empty i {
        font-size: 28px;
        display: block;
        margin-bottom: 8px;
    }*/

/* ==============================
   COMMENTS
   ============================== */

.comment-section {
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-radius: 14px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.comment-title {
    font-size: 22px;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 3px;
}

.comment-subtitle {
    color: var(--bs-secondary-color);
    font-size: 14px;
    margin-bottom: 0;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    padding: 18px;
    background-color: var(--bs-secondary-bg);
}

.comment-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-user {
    font-weight: 600;
    color: var(--bs-body-color);
}

.comment-date {
    font-size: 13px;
    color: var(--bs-secondary-color);
}

.comment-text {
    color: var(--bs-body-color);
    line-height: 1.5;
    white-space: pre-wrap;
    margin-bottom: 0;
}

.comment-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.comment-empty {
    text-align: center;
    padding: 35px 20px;
    color: var(--bs-secondary-color);
    border: 1px dashed var(--bs-border-color);
    border-radius: 10px;
    background-color: var(--bs-secondary-bg);
}

    .comment-empty i {
        font-size: 28px;
        display: block;
        margin-bottom: 8px;
    }


/*Select2 Dropdown*/
.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle
}

    .select2-container .select2-selection--single {
        box-sizing: border-box;
        cursor: pointer;
        display: block;
        height: 30px !important;
        user-select: none;
        -webkit-user-select: none
    }

        .select2-container .select2-selection--single .select2-selection__rendered {
            display: block;
            padding-left: 8px;
            padding-right: 20px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap
        }

        .select2-container .select2-selection--single .select2-selection__clear {
            background-color: transparent;
            border: none;
            font-size: 1em
        }

    .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
        padding-right: 8px;
        padding-left: 20px
    }

    .select2-container .select2-selection--multiple {
        box-sizing: border-box;
        cursor: pointer;
        display: block;
        min-height: 32px;
        user-select: none;
        -webkit-user-select: none
    }

        .select2-container .select2-selection--multiple .select2-selection__rendered {
            display: inline;
            list-style: none;
            padding: 0
        }

        .select2-container .select2-selection--multiple .select2-selection__clear {
            background-color: transparent;
            border: none;
            font-size: 1em
        }

    .select2-container .select2-search--inline .select2-search__field {
        box-sizing: border-box;
        border: none;
        font-size: 100%;
        margin-top: 5px;
        margin-left: 5px;
        padding: 0;
        max-width: 100%;
        resize: none;
        height: 18px;
        vertical-align: bottom;
        font-family: sans-serif;
        overflow: hidden;
        word-break: keep-all
    }

        .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
            -webkit-appearance: none
        }

.select2-dropdown {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: -100000px;
    width: 100%;
    z-index: 1051
}

.select2-results {
    display: block
}

.select2-results__options {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: sans-serif !important;
    font-weight: bold;
}

.select2-results__option {
    padding: 6px;
    user-select: none;
    -webkit-user-select: none
}

.select2-results__option--selectable {
    cursor: pointer
}

.select2-container--open .select2-dropdown {
    left: 0
}

.select2-container--open .select2-dropdown--above {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0
}

.select2-container--open .select2-dropdown--below {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0
}

.select2-search--dropdown {
    display: block;
    padding: 4px
}

    .select2-search--dropdown .select2-search__field {
        padding: 4px;
        width: 100%;
        box-sizing: border-box
    }

        .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
            -webkit-appearance: none
        }

    .select2-search--dropdown.select2-search--hide {
        display: none
    }

.select2-close-mask {
    border: 0;
    margin: 0;
    padding: 0;
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    min-height: 100%;
    min-width: 100%;
    height: auto;
    width: auto;
    opacity: 0;
    z-index: 99;
    background-color: #fff;
    filter: alpha(opacity=0)
}

.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #444;
        line-height: 28px
    }

    .select2-container--default .select2-selection--single .select2-selection__clear {
        cursor: pointer;
        float: right;
        font-weight: bold;
        height: 26px;
        margin-right: 20px;
        padding-right: 0px
    }

    .select2-container--default .select2-selection--single .select2-selection__placeholder {
        color: #999
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 26px;
        position: absolute;
        top: 1px;
        right: 1px;
        width: 20px
    }

        .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border-color: #888 transparent transparent transparent;
            border-style: solid;
            border-width: 5px 4px 0 4px;
            height: 0;
            left: 50%;
            margin-left: -4px;
            margin-top: -2px;
            position: absolute;
            top: 50%;
            width: 0
        }

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
    float: left
}

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
    left: 1px;
    right: auto
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: darkgray;
    cursor: default
}

    .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
        display: none
    }

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #888 transparent;
    border-width: 0 4px 5px 4px
}

.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    padding-bottom: 5px;
    padding-right: 5px;
    position: relative
}

    .select2-container--default .select2-selection--multiple.select2-selection--clearable {
        padding-right: 25px
    }

    .select2-container--default .select2-selection--multiple .select2-selection__clear {
        cursor: pointer;
        font-weight: bold;
        height: 20px;
        margin-right: 10px;
        margin-top: 5px;
        position: absolute;
        right: 0;
        padding: 1px
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        background-color: #e4e4e4;
        border: 1px solid #aaa;
        border-radius: 4px;
        box-sizing: border-box;
        display: inline-block;
        margin-left: 5px;
        margin-top: 5px;
        padding: 0;
        padding-left: 20px;
        position: relative;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: bottom;
        white-space: nowrap
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
        cursor: default;
        padding-left: 2px;
        padding-right: 5px
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
        background-color: transparent;
        border: none;
        border-right: 1px solid #aaa;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
        color: #999;
        cursor: pointer;
        font-size: 1em;
        font-weight: bold;
        padding: 0 4px;
        position: absolute;
        left: 0;
        top: 0
    }

        .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
            background-color: #f1f1f1;
            color: #333;
            outline: none
        }

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
    margin-left: 5px;
    margin-right: auto
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display {
    padding-left: 5px;
    padding-right: 2px
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
    border-left: 1px solid #aaa;
    border-right: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__clear {
    float: left;
    margin-left: 10px;
    margin-right: auto
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid black 1px;
    outline: 0
}

.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: darkgray;
    cursor: default
}

.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
    display: none
}

.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
    border-top-left-radius: 0;
    border-top-right-radius: 0
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #aaa
}

.select2-container--default .select2-search--inline .select2-search__field {
    background: transparent;
    border: none;
    outline: 0;
    box-shadow: none;
    -webkit-appearance: textfield
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 200px;
    overflow-y: auto
}

.select2-container--default .select2-results__option .select2-results__option {
    padding-left: 1em
}

    .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
        padding-left: 0
    }

    .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
        margin-left: -1em;
        padding-left: 2em
    }

        .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
            margin-left: -2em;
            padding-left: 3em
        }

            .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
                margin-left: -3em;
                padding-left: 4em
            }

                .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
                    margin-left: -4em;
                    padding-left: 5em
                }

                    .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
                        margin-left: -5em;
                        padding-left: 6em
                    }

.select2-container--default .select2-results__option--group {
    padding: 0
}

.select2-container--default .select2-results__option--disabled {
    color: darkgray;
}

.select2-container--default .select2-results__option--selected {
    background-color: #ddd
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #5897fb;
    color: white
}

.select2-container--default .select2-results__group {
    cursor: default;
    display: block;
    padding: 6px
}

.select2-selection__rendered {
    font-family: sans-serif !important;
    font-weight: bold;
    text-align: left;
}

.select2-search input {
    color: black;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #e9e9ed;
    color: black;
}


/* =========================================================
   Select2 - Bootstrap 5.3 Style
   ========================================================= */

/* Main Select2 container */
/*.select2-container {
    width: 100% !important;
    font-family: inherit;
}*/

/* Main dropdown control */
/*.select2-container--default .select2-selection--single {
    height: 38px !important;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}*/

    /* Selected text */
    /*.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
        color: #212529;
        font-family: inherit !important;
        font-size: 1rem;
        font-weight: 400 !important;
        line-height: 38px !important;
        padding-left: 0.75rem;
        padding-right: 2.5rem;
        text-align: left;
    }*/

    /* Placeholder */
    /*.select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
        color: #6c757d;
    }*/

    /* Arrow */
    /*.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
        height: 36px;
        width: 36px;
        top: 1px;
        right: 1px;
    }*/

        /* Arrow itself */
        /*.select2-container--default
        .select2-selection--single
        .select2-selection__arrow b {
            border-color: #6c757d transparent transparent transparent;
            border-width: 5px 4px 0 4px;
            margin-left: -4px;
            margin-top: -2px;
        }*/

/* Arrow when dropdown is open */
/*.select2-container--default.select2-container--open
.select2-selection--single
.select2-selection__arrow b {
    border-color: transparent transparent #6c757d transparent;
    border-width: 0 4px 5px 4px;
}*/

/* Focus */
/*.select2-container--default.select2-container--focus
.select2-selection--single,
.select2-container--default.select2-container--open
.select2-selection--single {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}*/


/* =========================================================
   Dropdown
   ========================================================= */

/*.select2-container--default .select2-dropdown {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    overflow: hidden;
}*/

/* Search area */
/*.select2-container--default
.select2-search--dropdown {
    padding: 8px;
}*/

    /* Search textbox */
    /*.select2-container--default
    .select2-search--dropdown
    .select2-search__field {
        width: 100%;
        padding: 0.375rem 0.75rem;
        font-family: inherit;
        font-size: 1rem;
        color: #212529;
        background-color: #fff;
        border: 1px solid #ced4da;
        border-radius: 0.375rem;
        outline: none;
        box-sizing: border-box;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }*/

        /* Search focus */
        /*.select2-container--default
        .select2-search--dropdown
        .select2-search__field:focus {
            border-color: #86b7fe;
            outline: 0;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        }*/


/* =========================================================
   Dropdown options
   ========================================================= */

/*.select2-container--default
.select2-results__options {
    font-family: inherit !important;
    font-size: 1rem;
    font-weight: 400 !important;
}

.select2-container--default
.select2-results__option {
    padding: 8px 12px;
    color: #212529;
    font-weight: 400;
    cursor: pointer;
}*/

/* Hovered option */
/*.select2-container--default
.select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #0d6efd;
    color: #fff;
}*/

/* Selected option */
/*.select2-container--default
.select2-results__option--selected {
    background-color: #e9ecef;
    color: #212529;
}*/


/* =========================================================
   Clear button
   ========================================================= */

/*.select2-container
.select2-selection--single
.select2-selection__clear {
    color: #6c757d;
    font-size: 1.1rem;
    margin-right: 30px;
    height: 36px;
}*/


/* =========================================================
   Disabled
   ========================================================= */

/*.select2-container--default.select2-container--disabled
.select2-selection--single {
    background-color: #e9ecef;
    cursor: not-allowed;
    opacity: 1;
}*/

/* =========================================================
   Select2 - Bootstrap 5.3 Light / Dark Mode
   ========================================================= */

/* Main Select2 container */
.select2-container {
    width: 100% !important;
    font-family: inherit;
}


/* =========================================================
   Main Select2 Control
   ========================================================= */

.select2-container--default .select2-selection--single {
    height: 38px !important;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    /* Selected text */
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
        color: var(--bs-body-color);
        font-family: inherit !important;
        font-size: 1rem;
        font-weight: 400 !important;
        line-height: 38px !important;
        padding-left: 0.75rem;
        padding-right: 2.5rem;
        text-align: left;
    }

    /* Placeholder */
    .select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
        color: var(--bs-secondary-color);
    }

    /* Arrow */
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
        height: 36px;
        width: 36px;
        top: 1px;
        right: 1px;
    }

        /* Arrow itself */
        .select2-container--default
        .select2-selection--single
        .select2-selection__arrow b {
            border-color: var(--bs-secondary-color) transparent transparent transparent;
            border-width: 5px 4px 0 4px;
            margin-left: -4px;
            margin-top: -2px;
        }

/* Arrow when dropdown is open */
.select2-container--default.select2-container--open
.select2-selection--single
.select2-selection__arrow b {
    border-color: transparent transparent var(--bs-secondary-color) transparent;
    border-width: 0 4px 5px 4px;
}


/* =========================================================
   Focus
   ========================================================= */

.select2-container--default.select2-container--focus
.select2-selection--single,
.select2-container--default.select2-container--open
.select2-selection--single {
    border-color: var(--bs-primary);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba( var(--bs-primary-rgb), 0.25 );
}


/* =========================================================
   Dropdown
   ========================================================= */

.select2-container--default .select2-dropdown {
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    overflow: hidden;
}


/* =========================================================
   Search Area
   ========================================================= */

.select2-container--default
.select2-search--dropdown {
    padding: 8px;
}

    /* Search textbox */
    .select2-container--default
    .select2-search--dropdown
    .select2-search__field {
        width: 100%;
        padding: 0.375rem 0.75rem;
        font-family: inherit;
        font-size: 1rem;
        color: var(--bs-body-color);
        background-color: var(--bs-body-bg);
        border: 1px solid var(--bs-border-color);
        border-radius: 0.375rem;
        outline: none;
        box-sizing: border-box;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }

        /* Search focus */
        .select2-container--default
        .select2-search--dropdown
        .select2-search__field:focus {
            border-color: var(--bs-primary);
            outline: 0;
            box-shadow: 0 0 0 0.25rem rgba( var(--bs-primary-rgb), 0.25 );
        }


/* =========================================================
   Dropdown Options
   ========================================================= */

.select2-container--default
.select2-results__options {
    font-family: inherit !important;
    font-size: 1rem;
    font-weight: 400 !important;
}

.select2-container--default
.select2-results__option {
    padding: 8px 12px;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    font-weight: 400;
    cursor: pointer;
}


/* =========================================================
   Hovered Option
   ========================================================= */

.select2-container--default
.select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--bs-primary);
    color: #fff;
}


/* =========================================================
   Selected Option
   ========================================================= */

.select2-container--default
.select2-results__option--selected {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-body-color);
}


/* =========================================================
   Clear Button
   ========================================================= */

.select2-container
.select2-selection--single
.select2-selection__clear {
    color: var(--bs-secondary-color);
    font-size: 1.1rem;
    margin-right: 30px;
    height: 36px;
}


/* =========================================================
   Disabled
   ========================================================= */

.select2-container--default.select2-container--disabled
.select2-selection--single {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-secondary-color);
    cursor: not-allowed;
    opacity: 1;
}


/* =========================================================
   DARK MODE - Select2 Specific Adjustments
   ========================================================= */

[data-bs-theme="dark"] .select2-container--default
.select2-selection--single {
    background-color: #2a2a3e;
    border-color: #495057;
}

[data-bs-theme="dark"] .select2-container--default
.select2-dropdown {
    background-color: #2a2a3e;
    border-color: #495057;
}

[data-bs-theme="dark"] .select2-container--default
.select2-search--dropdown
.select2-search__field {
    background-color: #1e1e2e;
    border-color: #495057;
    color: #f1f1f1;
}

[data-bs-theme="dark"] .select2-container--default
.select2-results__option {
    background-color: #2a2a3e;
    color: #f1f1f1;
}

[data-bs-theme="dark"] .select2-container--default
.select2-results__option--selected {
    background-color: #3a3a4a;
    color: #f1f1f1;
}

[data-bs-theme="dark"] .select2-container--default
.select2-selection--single
.select2-selection__rendered {
    color: #f1f1f1;
}

[data-bs-theme="dark"] .select2-container--default
.select2-selection--single
.select2-selection__placeholder {
    color: #adb5bd;
}

/* =========================================
   Select2 - Bootstrap Form Select Styling
   ========================================= */

/*.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    width: 100% !important;
}*/

    /* Main dropdown */
    /*.select2-container .select2-selection--single {
        box-sizing: border-box;
        cursor: pointer;
        display: block;
        width: 100%;
        height: 38px !important;
        user-select: none;
        -webkit-user-select: none;
        background-color: #fff;
        border: 1px solid #ced4da;
        border-radius: 0.375rem;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }*/

        /* Selected text */
        /*.select2-container .select2-selection--single
        .select2-selection__rendered {
            display: block;
            padding: 0.375rem 2.25rem 0.375rem 0.75rem;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #212529;
            font-family: inherit !important;
            font-size: 1rem;
            font-weight: 400 !important;
            line-height: 24px !important;
        }*/

/* Placeholder */
/*.select2-container--default
.select2-selection--single
.select2-selection__placeholder {
    color: #6c757d;
}*/

/* Arrow container */
/*.select2-container--default
.select2-selection--single
.select2-selection__arrow {
    height: 36px;
    width: 36px;
    position: absolute;
    top: 0;
    right: 0;
}*/

    /* Bootstrap-style arrow */
    /*.select2-container--default
    .select2-selection--single
    .select2-selection__arrow b {
        border-color: #6c757d transparent transparent transparent;
        border-style: solid;
        border-width: 5px 4px 0 4px;
        height: 0;
        width: 0;
        position: absolute;
        left: 50%;
        top: 50%;
        margin-left: -4px;
        margin-top: -2px;
    }*/

/* Open arrow */
/*.select2-container--default.select2-container--open
.select2-selection--single
.select2-selection__arrow b {
    border-color: transparent transparent #6c757d transparent;
    border-width: 0 4px 5px 4px;
}*/

/* Focus */
/*.select2-container--default.select2-container--focus
.select2-selection--single,
.select2-container--default.select2-container--open
.select2-selection--single {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}*/

/* Dropdown */
/*.select2-dropdown {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: -100000px;
    width: 100%;
    z-index: 1051;
    overflow: hidden;
}*/

/* Dropdown attached below */
/*.select2-container--default
.select2-container--open
.select2-dropdown--below {
    margin-top: 4px;
    border-top: 1px solid #ced4da;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}*/

/* Search box */
/*.select2-search--dropdown {
    display: block;
    padding: 8px;
}*/

/* Search input */
/*.select2-container--default
.select2-search--dropdown
.select2-search__field {
    width: 100%;
    padding: 0.375rem 0.75rem;
    box-sizing: border-box;
    color: #212529;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    outline: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}*/

    /* Search input focus */
    /*.select2-container--default
    .select2-search--dropdown
    .select2-search__field:focus {
        border-color: #86b7fe;
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }*/

/* Results */
/*.select2-results__options {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: inherit !important;
    font-size: 1rem;
    font-weight: 400 !important;
}*/

/* Individual option */
/*.select2-results__option {
    padding: 8px 12px;
    user-select: none;
    -webkit-user-select: none;
    color: #212529;
    cursor: pointer;
}*/

/* Hover */
/*.select2-container--default
.select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #0d6efd;
    color: #fff;
}*/

/* Selected option */
/*.select2-container--default
.select2-results__option--selected {
    background-color: #e9ecef;
    color: #212529;
}*/

/* Disabled */
/*.select2-container--default
.select2-results__option--disabled {
    color: #6c757d;
}*/

/* Clear button */
/*.select2-container
.select2-selection--single
.select2-selection__clear {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 400;
    color: #6c757d;
    height: 36px;
    margin-right: 28px;
}*/

/* Hidden original select */
/*.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}*/
