/*(Light Mode) */
.custom-input-tag {
    border: 1px solid #595c5f;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

/* Hover Effect */
.custom-input-tag:hover:not(:disabled) {
    border-color: #adb5bd;
}

/* Focus Effect */
.custom-input-tag:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    transform: translateY(-1px);
}

/* Disabled State */
.custom-input-tag:disabled {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .custom-input-tag {
        border: 1px solid #495057;
        background-color: #212529;
        color: #f8f9fa;
    }

    .custom-input-tag:hover:not(:disabled) {
        border-color: #6c757d;
    }

    .custom-input-tag:focus {
        border-color: #0a58ca;
        background-color: #212529;
        color: #f8f9fa;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

    .custom-input-tag:disabled {
        background-color: #2c3034;
        border-color: #343a40;
        color: #adb5bd;
    }

    .custom-input-tag:-webkit-autofill,
    .custom-input-tag:-webkit-autofill:hover,
    .custom-input-tag:-webkit-autofill:focus,
    .custom-input-tag:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 30px #212529 inset !important;
        -webkit-text-fill-color: #f8f9fa !important;
        transition: background-color 5000s ease-in-out 0s;
    }
}


[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection {
    background-color: var(--bs-body-bg) !important;
    color: var(--bs-body-color) !important;
    border-color: var(--bs-border-color) !important;
}

[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection__rendered {
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .select2-dropdown {
    background-color: var(--bs-body-bg) !important;
    border-color: var(--bs-border-color) !important;
}

[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
    background-color: var(--bs-tertiary-bg) !important;
    color: var(--bs-body-color) !important;
    border-color: var(--bs-border-color) !important;
}

[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-results__options .select2-results__option {
    color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-results__options .select2-results__option.select2-results__option--highlighted {
    background-color: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection__clear {
    background-color: transparent !important;
    color: var(--bs-body-color) !important;
}