/* Azul corporativo Protesa. Overrides propios; no se modifica Robust. */
:root { --protesa-primary: #006ebe; --protesa-primary-hover: #00599a; }
.btn-primary, .btn.bg-primary, .btn.primary, .btn[class*="bg-gradient"][class*="primary"] {
    color: #fff !important; background-color: var(--protesa-primary) !important;
    border-color: var(--protesa-primary) !important; background-image: none !important;
}
.btn-outline-primary { color: var(--protesa-primary) !important; border-color: var(--protesa-primary) !important; background-image: none !important; }
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .show > .btn-primary.dropdown-toggle,
.btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary.active, .show > .btn-outline-primary.dropdown-toggle {
    color: #fff !important; background-color: var(--protesa-primary-hover) !important; border-color: var(--protesa-primary-hover) !important;
}
.btn-primary:focus, .btn-outline-primary:focus { box-shadow: 0 0 0 .2rem rgba(0,110,190,.3) !important; }
.btn-primary:disabled, .btn-primary.disabled { background-color: var(--protesa-primary) !important; border-color: var(--protesa-primary) !important; opacity: .65; }
.btn-outline-primary:disabled, .btn-outline-primary.disabled { color: var(--protesa-primary) !important; background-color: transparent !important; opacity: .65; }
.select2-container { max-width: 100%; }
.select2-container .select2-selection--single { min-height: calc(2.75rem + 2px); height: auto; display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding-right: 2rem; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: #006ebe; }
.select2-container--default .select2-selection--single:focus, .select2-container--default.select2-container--focus .select2-selection--multiple { border-color: #006ebe; }
.select2-selection[aria-invalid="true"] { border-color: #d32f2f !important; }
.dataTables_length .select2-container .select2-selection--single { min-height: 2rem; }
.dataTables_length .select2-container { min-width: 5rem; margin: 0 .3rem; }
.input-group > .select2-container { flex: 1 1 auto; width: 1% !important; }

.btn-primary.btn-glow, .btn-outline-primary.btn-glow { box-shadow: 0 1px 20px 1px rgba(0,110,190,.45) !important; }
.btn.text-primary { color: var(--protesa-primary) !important; }
.page-item.active .page-link { color: #fff; background-color: var(--protesa-primary); border-color: var(--protesa-primary); }
