@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;800&display=swap');

body {
    font-family: 'Nunito', sans-serif;
    color: #344767;
    font-size:14px;
}

.logo-panel {
    max-width:128px;
}

.logo-panel-small {
   max-width:28px;
}

.table {
    width:100% !important;
}

.table-small td, .table-small th {
    padding: .25rem !important;
}

.ui-autocomplete {
    width: auto;
    z-index: 9999;
    float: left;
    padding: 5px 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
}

.ui-autocomplete > li > div {
    padding: 5px 20px;
}

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
    background-color: #f5f5f5;
    cursor: pointer;
}

.las, .lab {
    font-size:22px;
}

.small-box .icon>i.las{
    font-size: 70px;
    top: 20px;
}

.small-box.bg-default a{
    color:#344767;
}

.required {
    border:1px solid red;
}

.loadingoverlay {
    z-index:9999 !important;
}

.table td, .table th {
    padding:0.25rem;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
   bottom:0.5em;
}

.btn:hover {
    box-shadow: 0 3px 11px #ccc;
}

.btn-action {
    border: 1px solid #e0e0e0 !important;
    padding: 6px 8px !important;
    border-radius: 4px !important;
    min-width: 32px !important;
    height: 32px !important;
    margin: 1px !important;
    transition: all 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1 !important;
    background-color: #fff !important;
    color: #555 !important;
    box-sizing: border-box !important;
}

.btn-action:hover {
    background-color: #f5f5f5 !important;
    color: #333 !important;
    border-color: #ccc !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.btn-action:active {
    transform: translateY(0) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .btn-action {
        min-width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
        font-size: 16px !important;
    }
}

/* Contenedor de acciones */
.actions-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2px !important;
    align-items: center !important;
}

table.dataTable th {
    border-left-width:0;
    background-color:#f4f6f9;
    text-transform:capitalize;
}

.table td, .table th {
    border:none;
}

.table td, th {
    border-bottom:1px solid #dee2e8 !important;
}

.btn {
    transition:0.3s;
    font-size:14px;
}

table.dataTable {
    border:1px solid #dee2e8 !important;
    border-radius:0.25rem !important;
}

.crud-fast-filter-element {
    background-color:#eee;
    border:1px solid #ccc;
    padding:0.25em;
    border-radius:0.25em;
    width:max-content;
}

.login-box-msg, .register-box-msg {
    margin: 0;
    padding: 0 20px 20px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #666;
}

.table thead th {
    padding:0.45rem;
}

.form-control {
    font-size:14px;
}

.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px) !important;
}

.select2.select2-container{
    width: 100% !important;
}

.no-show {
    display: none;
    transition: all .3s ease;
}
