nav#principal {
    background-color: rgba(0, 95, 85, 1) !important;
    color: white !important;
}

.logo {
    color: white !important;
}

.justificado {
    text-align: justify;
}

.titulo {
    color: rgba(0, 95, 85, 1) !important;
}

.btnSuccess {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.5s, transform 0.4s;
}

/* Estilos para el fondo degradado */
.btnSuccess {
    background: linear-gradient(to right, rgba(0, 95, 85, 1), rgba(0, 160, 140, 1));
}

.btnSuccess:hover {
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.3);
}

/* Estilo para el botón activo */
.btnSuccess:active {
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}


.container {
    text-align: center;
    margin-top: 50px;
}

.drop-area {
    border: 2px dashed #ccc;
    padding: 20px;
    margin-top: 20px;
    cursor: pointer;
}

.preview {
    margin-top: 20px;
    display: flex;
    flex-wrap: nowrap; /* Evita que las vistas previas se envuelvan en varias líneas */
    justify-content: flex-start; /* Alinea las vistas previas al principio del contenedor */
    overflow-x: auto; /* Permite desplazarse horizontalmente si hay muchas vistas previas */
}

.preview-item {
    position: relative;
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-right: 10px; /* Agrega un margen entre las vistas previas */
}

.preview-item:last-child {
    margin-right: 0; /* Elimina el margen derecho del último elemento para evitar desbordamientos */
}

.preview-item img,
.preview-item embed {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.delete-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgb(201, 51, 51);
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    visibility: hidden; /* Ocultar el botón por defecto */
}

.preview-item:hover .delete-button {
    visibility: visible; /* Mostrar el botón cuando el usuario haga hover sobre la vista previa */
}

.delete-button:hover {
    background-color: rgb(201, 51, 51);
}

.item:hover .delete-button {
    visibility: visible; /* Mostrar el botón cuando el usuario haga hover sobre la vista previa */
}

.delete-button:hover {
    background-color: rgb(201, 51, 51);
}

.bg-acacypac {
    background-color: rgba(0, 95, 85, 1) !important;
    color: white;
}

.bg-acacypac:hover button{
    background-color: rgba(0, 95, 85, 1) !important;
    color: white !important;
}


/* Seccion de imagenes */

.scroll-container {
    width: 100%;
    height: auto;
    overflow-x: scroll;
    white-space: nowrap;
    position: relative;
}

/* Estilos de los elementos dentro del contenedor */
.item {
    display: inline-block;
    width: 300px;
    height: 100%;
    margin-right: 2px;
    pointer-events: auto;
}

/* Estilos de la barra de scroll horizontal */
.scroll-container::-webkit-scrollbar {
    height: 6px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: #d3d3d3;
    border-radius: 3px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: #b0b0b0;
}


.scroll-container::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #f0f0f0;
    z-index: 1;
}

.news-card {
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}


.deleted-button {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* public/css/custom.css */
.table-responsive {
    max-height: 600px;
    overflow-y: auto;
}

.table thead th {
    text-align: center;
}

.table tbody td {
    vertical-align: middle;
}

.table th#acciones {
    width: 8% !important;
    min-width: 8% !important;
    max-width: 8% !important;
}

.form-check-input {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.pagination-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.custom-page-item {
    list-style: none;
    margin: 0 5px;
}

.custom-page-link {
    text-decoration: none;
    color: #007bff;
    padding: 5px 10px;
    border: 1px solid #007bff;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.custom-page-link:hover {
    background-color: #007bff;
    color: white;
}

.custom-page-item.active .custom-page-link {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

