/* Buttons */
.btn-primary {
    background-color: #EC7428 !important;
    border-color: #C45F1F !important;
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background-color: #C45F1F !important;
    border-color: #EC7428 !important;
}

.btn-primary:disabled,
.btn-primary[disabled] {
    background-color: #FBE5D6 !important;
    border-color: #EC7428 !important;
    color: #6c757d !important; /* Lighter text color to indicate disabled */
    opacity: 0.65; /* Visual indication of being disabled */
}

.btn-complementar {
    background-color: #287DEC !important;
    border-color: #1F5EC4 !important;
    color: #FFFFFF !important;
}

.btn-complementar:hover {
    background-color: #1F5EC4 !important;
    border-color: #287DEC !important;
}

.btn-complementar:disabled,
.btn-complementar[disabled] {
    background-color: #D6E5FB !important;
    border-color: #1F5EC4 !important;
    color: #6c757d !important; /* Lighter text color to indicate disabled */
    opacity: 0.65; /* Visual indication of being disabled */
}

/* Headers and text */
.card-header {
    background-color: #EC7428 !important;
    color: #FFFFFF !important;
}

.bg-primary {
    background-color: #EC7428 !important;
    color: #FFFFFF !important;
}

.text-primary {
    color: #EC7428 !important;
}

/* Inputs and selects */
input[type='text'],
input[type='email'],
input[type='number'],
input[type='password'],
select,
textarea {
    background-color: #FBE5D6 !important;
    border: 1px solid #EC7428 !important;
    color: #333333 !important;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='number']:focus,
select:focus,
textarea:focus {
    border-color: #C45F1F !important;
    box-shadow: 0 0 0 0.2rem rgba(236, 116, 40, 0.25);
}

input[type='text']:disabled,
input[type='email']:disabled,
input[type='number']:disabled,
input[type='password']:disabled,
select:disabled,
textarea:disabled {
    background-color: #E9ECEF !important;
    border: 1px solid #CED4DA !important;
    color: #6c757d !important; /* Lighter text color to indicate disabled */
    opacity: 1; /* To ensure the input doesn't appear faded */
}

/* Checkboxes */
.form-check-input:checked {
    background-color: #EC7428 !important;
    border-color: #EC7428 !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(236, 116, 40, 0.25);
}

.form-check-input {
    background-color: #FBE5D6;
    border-color: #C45F1F;
}

/* File inputs */
input[type='file'] {
    color: #333333;
    background-color: #FBE5D6;
    border: 1px solid #EC7428;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
}

input[type='file']:focus {
    border-color: #C45F1F;
    box-shadow: 0 0 0 0.2rem rgba(236, 116, 40, 0.25);
}

input[type='file']:disabled,
input[type='file'][disabled] {
    background-color: #E9ECEF !important;
    border: 1px solid #CED4DA !important;
    color: #6c757d !important; /* Lighter text color to indicate disabled */
    opacity: 1; /* To ensure the input doesn't appear faded */
}

/* Star rating */
.star-rating {
    direction: rtl;
}

.star-label {
    color: grey;
    font-size: 30px;
    cursor: pointer;
}

.star-radio {
    display: none;
}

.star-radio:checked + .star-label {
    color: gold;
}

.star-radio:not(:checked) + .star-label:hover,
.star-radio:not(:checked) + .star-label:hover ~ .star-label {
    color: gold;
}

/* Miscellaneous */
.btn-fixed-height {
    min-height: 110px;
    vertical-align: center;
}

.bi-2x {
    font-size: 2rem;
}

.bi-3x {
    font-size: 3rem;
}

.bi-4x {
    font-size: 4rem;
}

.btn > i {
    margin-right: 10px;
}

.btn > span {
    flex-grow: 1;
}

/* Select2 */
.select2-container .select2-selection {
    background-color: #FBE5D6 !important;
    border: 1px solid #EC7428 !important;
    color: #333333 !important;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.select2-container--default .select2-selection--disabled {
    background-color: #E9ECEF !important;
    border: 1px solid #CED4DA !important;
    color: #6c757d !important; /* Lighter text color to indicate disabled */
}

.select2-dropdown {
    background-color: #FBE5D6 !important;
    border-color: #EC7428 !important;
}

.select2-results__option {
    color: #000000 !important;
}

.select2-search--dropdown .select2-search__field {
    background-color: #FFFFFF !important;
    border-color: #EC7428 !important;
}