﻿.form-control,
.form-select,
.form-check-input,
textarea {
    color: #333 !important;
    background-color: #fff !important;
}

    .form-control:focus,
    .form-select:focus,
    .form-check-input:focus,
    textarea:focus {
        box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.25);
        outline: none;
    }

::placeholder {
    color: #666 !important;
    opacity: 1 !important;
}

.form-label {
    font-weight: 500;
    color: #222;
}

.select2-container--bootstrap-5 .select2-selection {
    color: #333 !important;
    background-color: #fff !important;
    font-weight: 500;
}

.select2-container--bootstrap-5 .select2-selection__placeholder {
    color: #666 !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: #0056b3 !important;
    box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.25);
}

.select2-container--bootstrap-5 .select2-results__option {
    color: #222;
    font-weight: 500;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: #007bff;
    color: #fff;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border: 1px solid #888;
}

.form-control,
.select2-container--bootstrap-5 .select2-selection {
    height: calc(2.375rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.select2-container--bootstrap-5 .select2-selection__rendered {
    line-height: 1.5rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.select2-container--bootstrap-5 .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.select2-container--bootstrap-5 .select2-selection--single {
    display: flex;
    align-items: center;
}

.select2-container--bootstrap-5 {
    width: 100% !important;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    background-color: #fff;
    border: 1px solid #888;
    cursor: pointer;
}

    .form-check-input:checked {
        background-color: #0d6efd !important;
        border-color: #0d6efd !important;
    }

    .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.25);
    }
