/* ---------------------------------------------------------------------------
   AureaBuy — utilitários CSS extraídos de inline styles repetidos.
   Adicione novas classes aqui antes de espalhar style="..." em templates.
   --------------------------------------------------------------------------- */

/* Empty state — ícone gigante semi-transparente (telas vazias de listas) */
.aurea-empty-icon {
    font-size: 48px;
    opacity: 0.2;
}

/* Input de busca — altura fixa que combina com botão padrão (.btn) */
.aurea-input-search {
    min-width: 200px;
    height: 42px;
}

/* Input "data" — altura igual mas largura menor (filtros de período) */
.aurea-input-date {
    min-width: 140px;
    height: 42px;
}

/* Texto cinza muito claro centralizado (linhas zero em tabelas) */
.aurea-text-muted-center {
    text-align: center;
    color: #94a3b8;
}

/* Visual padrão Bootstrap para TODOS os checkbox/radio — inclusive bare
   <input type="checkbox"> sem classe .form-check-input. theme.min.css
   sobrescreve o padrão do Bootstrap; aqui forçamos com !important. */
input[type="checkbox"],
input[type="radio"],
.form-check-input,
.form-check-input[type="checkbox"],
.form-check-input[type="radio"] {
    width: 1em !important;
    height: 1em !important;
    margin-top: .25em !important;
    vertical-align: top !important;
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    background-image: none !important;
    border: 1px solid rgba(0, 0, 0, .25) !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    print-color-adjust: exact !important;
}
input[type="checkbox"],
.form-check-input[type="checkbox"] {
    border-radius: .25em !important;
}
input[type="radio"],
.form-check-input[type="radio"] {
    border-radius: 50% !important;
}
input[type="checkbox"]:checked,
input[type="radio"]:checked,
.form-check-input:checked {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}
input[type="checkbox"]:checked,
.form-check-input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}
input[type="radio"]:checked,
.form-check-input:checked[type="radio"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e") !important;
}
input[type="checkbox"]:focus,
input[type="radio"]:focus,
.form-check-input:focus {
    border-color: #86b7fe !important;
    outline: 0 !important;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25) !important;
}
input[type="checkbox"]:indeterminate,
.form-check-input[type="checkbox"]:indeterminate {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e") !important;
}

/* Preserva o padrão Bootstrap dos switches depois da regra global acima. */
.form-switch .form-check-input {
    width: 2em !important;
    margin-left: -2.5em !important;
    background-position: left center !important;
    border-radius: 2em !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e") !important;
    transition: background-position .15s ease-in-out !important;
}

.form-switch .form-check-input:checked {
    background-position: right center !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
}
