.zoom {
    transition: transform .2s;
}

body{
    font-family: "Roboto", sans-serif !important;
    background-color: #f8f9fa !important;
}

.negro{
    color: #000000 !important;
}

.zoom:hover {
    transform: scale(1.1);
}

.cursor-pointer {
    cursor: pointer;
}

::-webkit-scrollbar {
    padding-top: 15px !important;
    width: 2px;
    height: 5px !important;
    padding: 10px !important;
}


::-webkit-scrollbar-thumb {
    background: #1E9446;
    border-radius: 4px;
    height: 1px;
    width: 5px !important;
}


::-webkit-scrollbar-thumb {
    background: #0f8341;
    height: 1px !important;
    width: 1px !important;
    border-radius: 4px;
    margin: 0 2px;
}

::-webkit-scrollbar-track {
    background: rgb(195, 194, 194);
    border-radius: 4px;
    padding: 0 2px;
}

.btn {
    text-transform: none;
}




.dt-buttons>.buttons-html5,
.dt-buttons>.buttons-print {
    background-color: transparent !important;
}


div.dataTables_wrapper div.dataTables_filter input {
    border-bottom: solid 2px #1E9446;
}

div.dataTables_wrapper div.dataTables_filter label {
    font-weight: 700;
}

.modal-content {
    max-height: 75vh !important;
    overflow-y: auto !important;
}

/* #example_previous>.page-link {
    width: 150px;
    border-radius: 10px !important;
    cursor: pointer;
}

#example_next>.page-link {
    width: 150px;
    border-radius: 10px !important;
} */

.paginate_button>.page-link {
    background: #63DCC0;
    border: 0;
    color: white;
}

.text-hover:hover {
    color: #1E9446
}

h3 {
    color: #1E9446 !important;
    font-weight: bolder;
}

.text-page-green {
    color: #1E9446;
}

.grande {
    height: 80px !important;
    width: auto !important;
}


.dataTables_wrapper .dataTables_paginate {
    float: right;
}

.page-link {
    color: #1E9446;
}

.page-link:hover {
    background-color: #1E9446;
    color: #fff;
}

.page-item.active .page-link {
    background-color: #1E9446;
    border-color: #1E9446;
    color: #fff;
}

.dt-info {
    display: none;
}

.rounded-excel {
    border: 2px solid #1E9446 !important;
    text-transform:capitalize;
}

.btn-page-fla {
    background-color: #1E9446 !important;
    color: white !important;
}

.btn{
    box-shadow: none !important;
    box-shadow: 0 0 0 transparent !important;
}

.bg-page-fla {
    background-color: #1E9446 !important;
    color: white !important;
}

.btn-page-edit{
    background-color: rgba(15, 138, 68, 0.149) !important;
    color: #1E9446 !important;
    font-weight:bold !important;
}

.btn-page-trash{
    background-color: rgba(255, 0, 0, 0.12) !important;
    color: red !important;
    font-weight:bold !important;
}

.btn-page-edit-2 {
    background-color: rgba(204, 158, 63, 0.12) !important;
    color: #968c29 !important;
    font-weight: bold !important;
}

.container-photo {
    position: relative;
}

.rounded-container {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    border: 2px solid #ccc;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#previewImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.bg-secondary-2 {
    background-color: #656565bc !important;
    color:white !important
}

.bg-secondary-2:hover {
    background-color: #656565bc !important;
    color:white !important
}

.bg-secondary-2:active {
    background-color: #656565bc !important;
    color:white !important
}

.bg-document{
    background-color: #65656521 !important;
}

  /* Estilos para el input */
  .custom-input {
    border: 1px solid;
    padding: 13px;
    font-size: 14px;
    outline: none;
    color: #495057 !important;
}

/* Estilos para el hover */
.custom-input:hover {
    border-color: #218838;
    border: 2px solid #28a745;
}

/* Estilos para el foco */
.custom-input:focus {
    border-color: #1e7e34;
}

.custom-input::placeholder {
    color: #adb5bd;
    opacity: 1;
    font-size:12px;
}


.text-page{
    color:#218838 !important;
}

.bg-page{
    background-color:#218838 !important;
    color:white !important;
}

.inactive-page{
    background-color: #E7F4ED !important;
    color: #1E9446 !important;
}

.swal-button-green {
    background-color: #1E9446;
    color: white;
}

.swal-button-green:hover {
    background-color: #1E9446;
    color: white;
}

.overlay {
    background: linear-gradient(to right, rgba(14, 105, 53, 0.5), rgba(14, 105, 53, 0.4));
    pointer-events: none;
    z-index: 1;
}

.iconify {
    z-index: 2;
}


.contenedor-imagen {
    width: 330px;
    height: 250px;
    position: relative;
}

.contenedor-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

article {
    --img-scale: 1.001;
    --title-color: black;
    --link-icon-translate: -20px;
    --link-icon-opacity: 0;
    position: relative;
    border-radius: 16px;
    box-shadow: none;
    background: #fff;
    transform-origin: center;
    overflow: hidden;
    width: 100%;
    /* Ancho completo */
}


article a::after {
    position: absolute;
    inset-block: 0;
    inset-inline: 0;
    cursor: pointer;
    content: "";
    color: black
}

/* basic article elements styling */
article h2 {
    margin: 0 0 18px 0;
    font-size: 1.9rem;
    letter-spacing: 0.06em;
    transition: color 0.3s ease-out;
}

figure {
    margin: 0;
    padding: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

article img {
    max-width: 100%;
    transform-origin: center;
    transition: transform 0.4s ease-in-out;
}

.article-body {
    padding: 24px;
}

article a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: black !important;
    ;
}

article a:focus {
    outline: 1px dotted #28666e;
}

article a .icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    margin-left: 5px;
    transform: translateX(var(--link-icon-translate));
    opacity: var(--link-icon-opacity);
    transition: all 0.3s;
}

/* using the has() relational pseudo selector to update our custom properties */
article:has(:hover, :focus) {
    --img-scale: 1.1;
    --title-color: #28666e;
    --link-icon-translate: 0;
    --link-icon-opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.link-hover-black:hover h2,
.link-hover-black:hover p {
    color: black;
}


.articles {
    display: grid;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    /* Cambiado de auto-fill a 4 columnas */
    gap: 24px;
}

@media screen and (max-width: 960px) {
    article {
        width: calc(100% / 4 - 24px);
    }
}

@container card (min-width: 380px) {
    .article-wrapper {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 16px;
    }

    .article-body {
        padding-left: 0;
    }

    figure {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    figure img {
        height: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }
}

.container-inputt {
    background-color: #efefef;
    margin-left: 15px;
    padding: 5px;
    display: flex;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 5px;
    border: none;
    border-radius: 5px;
    background-color: #efefef;
}

.search-icon {
    font-size: 15px;
    margin-left: 10px;
    margin-right: 10px;
    cursor: pointer;
}

.text-green{
    color: #1E9446;
}

.btn-delete {
    float: right;
    width: 35px;
    height: 35px;
    margin: 32px 0px 0px 0px;
    padding: 0px;
}

@media (max-width: 480px) {
    .btn-delete {
        font-size: 10px;
        width: 22px;
        height: 22px;
        margin: 0px;
        position: absolute;
        right: 36px;
    }
}

