.fa-solid, .fas {
    font-weight: 900;
    color: var(--background-dark);
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

#dashboard-table {
    width: 100%;
    table-layout: fixed; /* Distribuye las columnas proporcionalmente */
}

.page-header {
    margin-top: 15px;
    margin-bottom: 15px;
}


.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0;
    background-color: var(--section-form-bg-light);
}


.card-header button {
    margin-left: 10px; /* Espacio entre el título y el botón */
    padding: 5px 10px; /* Ajusta el tamaño del botón */
    font-size: 0.875rem; /* Tamaño de fuente más pequeño para el botón */
}

.card-header button i {
    font-size: 1rem; /* Tamaño del ícono */
    color: var(--background-dark); /* Color del ícono (gris) */
}

.card-header button:hover i {
    color: #495057; /* Color del ícono al hacer hover (gris más oscuro) */
}


#dashboard-table th {
    text-align: center; /* Centra los encabezados de la tabla */
}

#dashboard-table {
    text-align: center; /* Centra la columna de acciones */
    vertical-align: middle; /* Asegura que los íconos estén alineados verticalmente en el centro */
}

.new-form {
    display: flex;
    justify-content: center;  /* Centra horizontalmente */
    align-items: center;      /* Centra verticalmente */
    height: 100%;             /* Asegura que el contenedor tenga la altura suficiente para centrar verticalmente */
}

/* ACTION BUTONS */

.actions-section .action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #b1e4b1; /* Unified button color */
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.actions-section .action-btn:hover {
    background-color: #e0e0e0; /* Hover effect */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

.actions-section i {
    margin: 0;
}

.actions-section .d-flex {
    justify-content: center;
}

.actions-section .mx-2 {
    margin-left: 8px;
    margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .actions-section .action-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .actions-section .mx-2 {
        margin-left: 5px;
        margin-right: 5px;
    }
}

.btn-light{
    padding: 6px 12px !important;
    margin: 0 !important;
    font-size: 16px !important;
}

.card-header-hyg, .card-header-materiales{
    border-top-left-radius: var(--bs-card-border-radius);
    border-top-right-radius: var(--bs-card-border-radius);
}

.card-body-custom{
    background-color: #f8f9fa !important;
    margin-bottom: 16px;
    border-bottom-left-radius: var(--bs-card-border-radius);
    border-bottom-right-radius: var(--bs-card-border-radius);
}