.input_formulario {
    background-color: white;
    border-radius: 10px;
    min-height: 43px;
    transition: border-color .2s ease, box-shadow .2s ease;
    border-color: rgba(37, 37, 37, 0.705);
}

.input_formulario:focus {
    border-color: rgba(0, 153, 255, 0.349);
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .15);
    background-color: white;
    color: black;
}

.input_file_mejorado {
    padding: .65rem .85rem;
    border: 2px dashed #d6dbe1;
    border-radius: 12px;
    background: #fafbfc;
    transition: .2s ease;
    width: 100%;
}

.input_file_mejorado:hover {
    border-color: #007bff;
    background: #f4f8ff;
}

.input_file_mejorado:focus {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .12);
}

.btn {
    transition: box-shadow .15s ease,
        background-color .15s ease,
        border-color .15s ease,
        filter .15s ease,
        transform .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .32);
    filter: brightness(1.05);
}

.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.modal-icon {
    font-size: 42px;
    margin-bottom: 10px;
    opacity: .9;
}

.modal-header {
    border-bottom: 1px solid #edf0f2;
    padding: 1.25rem 1.5rem;
}

.modal-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #edf0f2;
    padding: 1rem 1.5rem;
}

.modal-backdrop.show {
    opacity: .65;
}

.modal.fade .modal-dialog {
    transform: translateY(10px);
    transition: .2s ease-out;
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

table.table {
    border-radius: 10px;
    overflow: hidden;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .02);
}

.table-bordered td,
.table-bordered th {
    border-color: #e9ecef;
}

.dataTables_wrapper {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .06);
}

table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0 6px;
}

table.dataTable thead th {
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}

table.dataTable tbody tr {
    background: #fff;
    transition: .15s ease;
}

table.dataTable tbody tr:hover {
    background: #f8f9fa;
}

.dataTables_paginate .paginate_button {
    border-radius: 6px !important;
    margin: 0 2px;
}

.dataTables_paginate .paginate_button.current {
    background: #007bff !important;
    color: #fff !important;
    border: none !important;
}

table.dataTable tbody tr {
    opacity: 0;
    transform: translateY(4px);
    animation: dtFadeIn .25s ease forwards;
}

@keyframes dtFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.return-panel {
    box-shadow: 0px 5px 14px 0px rgba(0, 0, 0, 0.75);
    border-radius: 0px 0px 10px 10px;
    background-color: #515050;
    border-color: #515050;
    font-size: 100%;
}

.return-panel:hover,
.return-panel:active {
    background-color: #515050 !important;
    border-color: #515050 !important;
}

.return-modulo {
    box-shadow: 0px 5px 14px 0px rgba(0, 0, 0, 0.75);
    border-radius: 0px 0px 10px 10px;
    background-color: #2793B9;
    border-color: #2793B9;
    font-size: 100%;
}

.return-modulo:hover,
.return-modulo:active {
    background-color: #217ea0 !important;
    border-color: #217ea0 !important;
}

/* Tablas modales */
.tabla-modal {
    font-size: .85rem;
    color: #495057;
}

.tabla-modal thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: .75rem;
}

.tabla-modal tbody td {
    padding: .6rem .75rem;
    border-top: 1px solid #f1f3f5;
    vertical-align: middle;
}

.tabla-modal tbody tr:hover {
    background-color: #f8f9fb;
}

.table-scroll {
    max-height: 400px;
    overflow-y: auto;
}

/* Tabla personalizada */
.tabla-admin {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.tabla-admin thead th {
    border: none;
    padding: .9rem 1rem;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #6c757d;
    font-weight: 700;
}

.tabla-admin tbody tr {
    background: rgba(255, 255, 255, .55);
    transition: .18s ease;
}

.tabla-admin tbody tr:hover {
    background: rgba(255, 255, 255, .82);
    transform: scale(1.005);
}

.tabla-admin tbody td {
    border: none;
    padding: 1rem;
    vertical-align: middle;
}

.tabla-admin tbody tr td:first-child {
    border-radius: 12px 0 0 12px;
}

.tabla-admin tbody tr td:last-child {
    border-radius: 0 12px 12px 0;
}

.tabla-click {
    color: #343a40;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: .15s ease;
}

.tabla-click:hover {
    color: #0056b3;
}

/* Graficas */
.apexcharts-canvas {
    margin-top: .5rem;
}

.grafica-container {
    padding: 2rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
}

/* Cards */
.card-custom{
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.231);
    transition: .2s;
    border-radius: 20px;
}

.card-custom:hover{
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.779);
}

/* Select2 Estandar */
.select2-container--default .select2-selection--single {
    background-color: white;
    border-radius: 10px;
    min-height: 48px;
    border: 1px solid rgba(37, 37, 37, 0.705);
    display: flex;
    align-items: center;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: rgba(0, 153, 255, 0.349);
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .15);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
    padding-left: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px;
}

/* Boton de eniar formulario */
.btn-submit {
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: all .2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

/* Hover */
.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

/* Active click */
.btn-submit:active {
    transform: translateY(0px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

/* Disabled (Livewire loading) */
.btn-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Botones modales */
.btn-ui {
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: .2px;
    transition: all .18s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .06);
    border: none;
}

/* Hover */
.btn-ui:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}

/* Active */
.btn-ui:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .06);
}

/* Focus */
.btn-ui:focus {
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .15);
}

/* Disabled */
.btn-ui:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
}

.btn-sm.btn-ui {
    border-radius: 8px;
    font-size: .82rem;
    padding: .35rem .75rem;
}

/* Dropdown datatbales */
.btn-dropdown {
    background: #1A5190;
    color: white;
    padding-inline: 14px;
    border-radius: 8px;
}

.btn-dropdown:hover {
    background: #164574;
    color: white;
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    padding: .5rem;
    min-width: 220px;
}

.dropdown-item {
    border-radius: 8px;
    transition: background .15s ease;
    padding: .55rem .8rem;
}

.dropdown-item:hover {
    background: rgba(26, 81, 144, .08);
}
