/* <!-- Extra Styles --> */
/* ===== Estilos neutrales y limpios ===== */

.nav-link-custom {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.nav-link-custom ion-icon,
.nav-link-custom i {
    font-size: 1.4rem;
    color: #a0aec0;
    transition: color 0.2s ease-in-out;
}

.nav-link-custom:hover {
    background-color: #edf2f7;
    color: #1a202c;
}

.nav-link-custom:hover ion-icon,
.nav-link-custom:hover i {
    color: #2d3748;
}

/* Estilo del submenu */
.custom-dropdown {
    background-color: #f9fafb;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.5rem 0;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.05);
}

/* Items del submenu */
.custom-dropdown .dropdown-item {
    color: #4a5568;
    font-weight: 500;
    padding: 0.6rem 1rem;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    margin: 2px 8px;
}

/* Hover del submenu */
.custom-dropdown .dropdown-item:hover {
    background-color: #e2e8f0;
    color: #1a202c;
}

/* Íconos del submenu */
.custom-dropdown .dropdown-item i {
    color: #a0aec0;
    transition: color 0.2s ease-in-out;
    font-size: 1.1rem;
}

/* Hover de íconos */
.custom-dropdown .dropdown-item:hover i {
    color: #2d3748;
}

/* {{-- Para Tablas --}} */
.thead-center tr th {
    text-align: center !important;
    vertical-align: middle !important;
}

.tbody-center tr td {
    text-align: center !important;
    vertical-align: middle !important;
}

/* {{-- Card Click --}} */
.card-click {
    cursor: pointer;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border-top: 5px solid #1e293b;
    transition: background-color 0.1s ease-out, transform 0.1s ease-out;
}

.card-click:active {
    background-color: #f1f5f9 !important;
    transform: scale(0.98);
    transition: transform 0.1s ease-out;
    border-top: 5px solid #1e293b;
}

/* Rotación de la flecha del menú */
a[aria-expanded="true"] .collapse-icon {
    transform: rotate(180deg);
}

.collapse-icon {
    transition: transform 0.3s ease;
}

.header-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.color-rojo {
    background: linear-gradient(to bottom, #1e293b, #334155) !important;
    color: #ffffff !important;
}

.color-rojo h3 {
    color: #ffffff !important;
}