﻿.select2-container--bootstrap-5 .select2-selection--single {
    border-radius: 1.275rem !important;
    min-height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 0.75rem;
    transition: all 0.15s ease-in-out;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-radius: 0.375rem !important;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.select2-container--bootstrap-5.select2-container--open .select2-selection--single {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.select2-container--bootstrap-5.select2-container--open .select2-dropdown--below {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-top: none;
}

.select2-container--bootstrap-5.select2-container--open .select2-dropdown--above {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom: none;
}

.select2-container--bootstrap-5 .select2-selection--single {
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #182433;
}

.select2-container--bootstrap-5 .select2-dropdown {
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.select2-container--bootstrap-5 .select2-results__option {
    background-color: #fff;
    color: #182433;
    padding: 0.375rem 0.75rem;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: #0d6efd !important;
    color: white !important;
}

.select2-container--bootstrap-5 .select2-results__option[aria-selected="true"] {
    background-color: #e7f3ff;
    color: #0d6efd;
}

.select2-container--bootstrap-5 .select2-selection--single:disabled,
.select2-container--bootstrap-5 .select2-selection--single[readonly] {
    background-color: #E4E3E4 !important;
    border-color: #dee2e6 !important;
    color: white !important;
    cursor: not-allowed !important;
}

.select2-container--bootstrap-5.select2-container--disabled .select2-selection--single {
    background-color: #E4E3E4 !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
}

    .select2-container--bootstrap-5.select2-container--disabled .select2-selection--single .select2-selection__rendered {
        color: #6c757d !important;
    }

    .select2-container--bootstrap-5.select2-container--disabled .select2-selection--single .select2-selection__placeholder {
        color: #6b7280 !important;
    }

    .select2-container--bootstrap-5.select2-container--disabled .select2-selection--single .select2-selection__arrow {
        color: #adb5bd !important;
    }

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    font-size: 0.875rem !important;
    font-weight: 400 !important;

    display: flex !important;
    align-items: center !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__placeholder {
    font-size: 0.875rem !important;
    font-weight: 400 !important;
    color: #959fac !important;
}

.select2-container--bootstrap-5 .select2-selection--single {
    height: calc(1.5em + 1rem + 2px) !important;
    font-size: 0.875rem !important;
}

.select2-container--bootstrap-5 .select2-selection--single,
.select2-container--bootstrap-5 .select2-selection--multiple {
    border-radius: 24px !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-radius: 12px !important;
}

.select2-container--bootstrap-5.select2-container--open .select2-selection--single,
.select2-container--bootstrap-5.select2-container--open .select2-selection--multiple {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.select2-container--bootstrap-5.select2-container--open .select2-dropdown--below {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

.select2-selection {
    border-radius: 24px !important;
}

.select2-selection__rendered {
    border-radius: 24px !important;
}

.select2-selection__choice {
    border-radius: 48px !important;
    margin-top: 6px !important;
}

.select2-search__field {
    margin-left: 6px !important;
}

.alt-flatpickr {
    border-radius: 24px;
}

.input-icon .form-control:not(:first-child), .input-icon .form-select:not(:last-child) {
    padding-left: 0.8rem !important;
}

.btn {
    border-radius: 24px;
}

.form-control {
    border-radius: 24px !important;
}

.form-select {
    border-radius: 24px !important;
}

@media print {
    .d-print-none {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .card-body-mobile-padding {
        padding: 0px !important;
    }
}

.relatorio-filters .select2-container--bootstrap-5 .select2-selection--single {
    min-height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 24px !important;
}

    .relatorio-filters .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
        font-size: 0.875rem;
        line-height: 1.5;
        padding-left: 0;
        display: flex;
        align-items: center;
    }

    .relatorio-filters .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
        height: calc(1.5em + 0.75rem);
    }

.relatorio-filters .select2-container--bootstrap-5 .select2-dropdown {
    font-size: 0.875rem;
    border-radius: 12px !important;
}

.relatorio-filters .select2-container--bootstrap-5 .select2-results__option {
    padding: 0.5rem 0.75rem;
}

.relatorio-filters .select2-search--dropdown {
    padding: 8px;
}

    .relatorio-filters .select2-search--dropdown .select2-search__field {
        border-radius: 24px;
        padding: 6px 12px;
        border: 1px solid #dee2e6;
        font-size: 0.875rem;
    }

        .relatorio-filters .select2-search--dropdown .select2-search__field:focus {
            outline: none;
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        }

.select2-results__option .option-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .select2-results__option .option-with-icon i {
        font-size: 1rem;
        width: 20px;
        text-align: center;
    }

.select2-selection__rendered .option-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .select2-selection__rendered .option-with-icon i {
        font-size: 0.875rem;
        width: 16px;
        text-align: center;
    }

.relatorio-filters .select2-container--bootstrap-5 .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
    font-style: italic;
    font-size: 0.875rem;
}

.select2-selection__clear {
    z-index: 10 !important;
    font-size: 1.2rem;
    margin-right: 8px;
}

.relatorio-filters .select2-container--bootstrap-5.select2-container--disabled .select2-selection--single {
    background-color: #e9ecef !important;
    cursor: not-allowed;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
    display: block !important;
    width: 100%;
    line-height: 1.5;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__placeholder {
    color: #959fac !important;
    font-size: 0.875rem !important;
    margin: 0;
    padding: 0;
}

.select2-container--bootstrap-5 .select2-selection--multiple {
    min-height: calc(1.5em + 1rem + 2px) !important;
    overflow: visible !important;
}

.select2-container--bootstrap-5.select2-container--disabled .select2-selection--multiple {
    background-color: #E4E3E4 !important;
    border-color: #dee2e6 !important;
    cursor: not-allowed !important;
}

    .select2-container--bootstrap-5.select2-container--disabled .select2-selection--multiple .select2-selection__rendered {
        color: #6c757d !important;
    }

.select2-container--bootstrap-5.select2-container--open .select2-selection--multiple {
    overflow: visible !important;
}

.avatar i.icon-fix {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 1.10rem !important;
}

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.65;
}

    .btn-loading .btn-text {
        visibility: hidden;
        opacity: 0;
    }

    .btn-loading::after {
        content: "";
        position: absolute;
        width: 1rem;
        height: 1rem;
        top: 50%;
        left: 50%;
        margin-left: -0.5rem;
        margin-top: -0.5rem;
        border: 2px solid currentColor;
        border-right-color: transparent;
        border-radius: 50%;
        animation: btn-spinner 0.75s linear infinite;
    }

@keyframes btn-spinner {
    to {
        transform: rotate(360deg);
    }
}

.btn-sm.btn-loading::after {
    width: 0.875rem;
    height: 0.875rem;
    margin-left: -0.4375rem;
    margin-top: -0.4375rem;
    border-width: 1.5px;
}

.btn-lg.btn-loading::after {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: -0.625rem;
    margin-top: -0.625rem;
    border-width: 2.5px;
}

.btn-loading,
.btn-loading:hover,
.btn-loading:focus,
.btn-loading:active {
    cursor: not-allowed !important;
}

.flatpickr-input {
    width: 100% !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
    color: inherit !important;
    background: var(--tblr-bg-surface-secondary, #f8f9fa) !important;
    border: 1px solid var(--tblr-border-color, #e6e7e9) !important;
    border-radius: 6px !important;
    outline: none !important;
    cursor: pointer !important;
    display: block !important;
    box-sizing: border-box !important;
}

    .flatpickr-input:focus {
        border-color: #206bc4 !important;
        box-shadow: 0 0 0 2px rgba(32,107,196,0.15) !important;
    }

.flatpickr-calendar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    font-family: inherit;
    width: 308px !important;
}

.flatpickr-months {
    background: #206bc4;
    border-radius: 10px 10px 0 0;
    padding: 4px 0;
}

    .flatpickr-months .flatpickr-month {
        color: #ffffff;
        fill: #ffffff;
    }

    .flatpickr-months .flatpickr-prev-month,
    .flatpickr-months .flatpickr-next-month {
        color: #ffffff !important;
        fill: #ffffff !important;
    }

        .flatpickr-months .flatpickr-prev-month svg,
        .flatpickr-months .flatpickr-next-month svg {
            fill: #ffffff !important;
        }

        .flatpickr-months .flatpickr-prev-month:hover svg,
        .flatpickr-months .flatpickr-next-month:hover svg {
            fill: #bfdbfe !important;
        }

.flatpickr-current-month {
    color: #ffffff !important;
}

    .flatpickr-current-month .flatpickr-monthDropdown-months {
        background: #206bc4 !important;
        color: #ffffff !important;
        font-weight: 600;
        font-size: 14px;
        border: none;
        -webkit-appearance: none;
    }

        .flatpickr-current-month .flatpickr-monthDropdown-months option {
            background: #1a5a9e;
            color: #ffffff;
        }

    .flatpickr-current-month input.cur-year {
        color: #ffffff !important;
        font-weight: 600;
        font-size: 14px;
    }

    .flatpickr-current-month .numInputWrapper span.arrowUp:after {
        border-bottom-color: #ffffff !important;
    }

    .flatpickr-current-month .numInputWrapper span.arrowDown:after {
        border-top-color: #ffffff !important;
    }

.flatpickr-weekdays {
    background: #eff6ff;
}

span.flatpickr-weekday {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
    font-size: 12px;
}

.flatpickr-day {
    color: #1e293b;
    border-radius: 6px;
    font-size: 13px;
}

    .flatpickr-day:hover {
        background: #dbeafe;
        border-color: #dbeafe;
        color: #1d4ed8;
    }

    .flatpickr-day.today {
        border-color: #206bc4;
        color: #206bc4;
        font-weight: 600;
    }

        .flatpickr-day.today:hover {
            background: #206bc4;
            color: #ffffff;
        }

    .flatpickr-day.selected,
    .flatpickr-day.selected:hover {
        background: #206bc4;
        border-color: #206bc4;
        color: #ffffff;
        font-weight: 600;
    }

    .flatpickr-day.flatpickr-disabled,
    .flatpickr-day.flatpickr-disabled:hover {
        color: #cbd5e1;
    }

.numInputWrapper:hover {
    background: rgba(255,255,255,0.1);
}