/* ==========================================================================
   AVANNA ERP - HOJA DE ESTILOS MAESTRA (BRANDBOOK COMPLIANT)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TIPOGRAFÍAS LOCALES (AVENIR NEXT WOFF)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Avenir Next';
    src: url('../assets/fonts/AvenirNext-UltraLight-11.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../assets/fonts/AvenirNext-Regular-08.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../assets/fonts/AvenirNext-Medium-06.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../assets/fonts/AvenirNext-DemiBold-03.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../assets/fonts/AvenirNext-Bold-01.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../assets/fonts/AvenirNext-Heavy-09.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   2. VARIABLES GLOBALES DE IDENTIDAD VISUAL (:root)
   -------------------------------------------------------------------------- */
:root {
    /* Paleta Cromática Primaria (60 - 30 - 20) */
    --color-blanco:   #FFFFFF;
    --color-negro:    #000000;
    --color-amarillo: #FFD602;

    /* Escala Neutra de Grises Oficial */
    --gray-900: #191919;
    --gray-800: #333333;
    --gray-700: #4D4D4D;
    --gray-600: #666666;
    --gray-500: #808080;
    --gray-400: #999999;
    --gray-300: #B3B3B3;
    --gray-200: #CCCCCC;
    --gray-100: #E6E6E6;
    --gray-50:  #F8F9FA;

    /* Semáforo Operativo de Estatus */
    --status-cancelada:  #DC3545;
    --status-pendiente:  #FFC107;
    --status-aprobada:   #0D6EFD;
    --status-entregada:  #FD7E14;
    --status-finalizada: #28A745;

    /* Tipografía Principal */
    --font-primary: 'Avenir Next', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Dimensiones de Maquetación */
    --sidebar-width: 300px;
}

/* --------------------------------------------------------------------------
   3. RESETEO Y REGLAS BASE
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-blanco);
    color: var(--gray-800);
    font-size: 15px;
    line-height: 1.35;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   4. LAYOUT GENERAL DEL DASHBOARD
   -------------------------------------------------------------------------- */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--gray-50);
    background-image: url('../assets/backgrounds/dotted-back-2-v2.svg');
    background-repeat: repeat;
    background-size: 320px;
}

/* Contenido Principal (con margen seguro para no colisionar con el Sidebar) */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    padding: 40px 50px;
    position: relative;
    overflow-y: auto;
}

/* --------------------------------------------------------------------------
   5. JERARQUÍA TIPOGRÁFICA
   -------------------------------------------------------------------------- */
h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-negro);
    line-height: 1.1;
    letter-spacing: -1.2px;
    margin-bottom: 12px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-negro);
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-negro);
    line-height: 1.2;
    letter-spacing: -0.4px;
    margin-bottom: 15px;
}

p.subtitle {
    font-size: 14.5px;
    color: var(--gray-600);
    font-weight: 400;
    margin-bottom: 25px;
}

/* --------------------------------------------------------------------------
   6. SIDEBAR FIJO INSTITUCIONAL (.sidebar-avanna)
   -------------------------------------------------------------------------- */
.sidebar-avanna {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background-color: var(--color-negro);
    color: var(--color-blanco);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 35px 20px 25px 20px;
    z-index: 9999;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    border-right: 1px solid var(--gray-900);
}

.sidebar-brand {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--gray-900);
}

.brand-link {
    text-decoration: none;
    display: block;
}

.sidebar-logo-img {
    max-width: 170px;
    height: auto;
    display: block;
}

/* Contenedor de Navegación */
.sidebar-nav-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex-grow: 1;
}

.nav-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding-left: 12px;
    margin-bottom: 4px;
}

/* Enlaces de Navegación */
.nav-link-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    background-color: transparent;
    transition: all 0.2s ease-in-out;
}

.nav-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-blanco);
    letter-spacing: 0.3px;
}

/* Iconos SVG en el Menú */
.sidebar-icon {
    width: 20px;
    height: 20px;
    display: block;
    filter: brightness(0) invert(1); /* Convierte trazos a blanco puro */
    transition: transform 0.2s ease, filter 0.2s ease;
}

/* Hover */
.nav-link-item:hover {
    background-color: var(--gray-900);
}

.nav-link-item:hover .nav-text {
    color: var(--color-amarillo);
}

.nav-link-item:hover .sidebar-icon {
    filter: invert(82%) sepia(85%) saturate(1542%) hue-rotate(352deg) brightness(103%) contrast(105%);
    transform: translateX(2px);
}

/* Estado Activo */
.nav-link-item.active {
    background-color: var(--color-amarillo);
}

.nav-link-item.active .nav-text {
    color: var(--color-negro);
    font-weight: 700;
}

.nav-link-item.active .sidebar-icon {
    filter: brightness(0); /* Trazo negro sobre fondo amarillo */
}

/* Botón de Carrito / Mi Proyecto */
.nav-link-cart {
    border: 1px dashed var(--color-amarillo);
    margin-top: 6px;
}

.nav-link-cart:not(.active) .nav-text {
    color: var(--color-amarillo);
}

.nav-link-cart:not(.active) .sidebar-icon {
    filter: invert(82%) sepia(85%) saturate(1542%) hue-rotate(352deg) brightness(103%) contrast(105%);
}

/* Pie del Sidebar: Cerrar Sesión */
.sidebar-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-900);
}

.nav-btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--gray-800);
    border-radius: 8px;
    text-decoration: none;
    color: var(--gray-400);
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-btn-logout .icon-logout {
    width: 16px;
    height: 16px;
    filter: invert(60%);
}

.nav-btn-logout:hover {
    border-color: var(--status-cancelada);
    color: var(--status-cancelada);
    background-color: rgba(220, 53, 69, 0.1);
}

.nav-btn-logout:hover .icon-logout {
    filter: invert(28%) sepia(86%) saturate(4522%) hue-rotate(344deg) brightness(92%) contrast(93%);
}

/* --------------------------------------------------------------------------
   7. FORMULARIOS, BUSCADORES Y BOTONES GENERALES
   -------------------------------------------------------------------------- */
input[type="text"],
input[type="search"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    font-family: var(--font-primary);
    font-size: 14px;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    outline: none;
    background-color: var(--color-blanco);
    color: var(--gray-800);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    border-color: var(--color-negro);
    box-shadow: 0 0 0 3px rgba(255, 214, 2, 0.35); /* Enfoque amarillo institucional */
}

/* Botones Principales */
.btn-submit,
.btn-primary,
button[type="submit"] {
    background-color: var(--color-amarillo);
    color: var(--color-negro);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    border: none;
    padding: 11px 22px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-submit:hover,
.btn-primary:hover,
button[type="submit"]:hover {
    background-color: #E6C100;
}

.btn-submit:active,
.btn-primary:active,
button[type="submit"]:active {
    transform: scale(0.98);
}

/* Botón Secundario (Gris Neutro) */
.btn-secondary {
    background-color: var(--gray-100);
    color: var(--gray-800);
    font-weight: 600;
    border: 1px solid var(--gray-300);
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: var(--gray-200);
    color: var(--color-negro);
}

/* --------------------------------------------------------------------------
   8. TABLAS DE DATOS (INVENTARIOS Y LISTADOS)
   -------------------------------------------------------------------------- */
.table-container {
    background: var(--color-blanco);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-top: 20px;
}

.inventory-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13.5px;
}

.inventory-table thead {
    background-color: var(--color-negro);
    color: var(--color-blanco);
}

.inventory-table th {
    padding: 14px 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 12px;
    text-transform: uppercase;
}

.inventory-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-800);
    vertical-align: middle;
}

.inventory-table tbody tr:hover {
    background-color: var(--gray-50);
}

/* Botones de Acción en Tablas */
.action-btn-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-table-view {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-table-view:hover {
    background-color: var(--gray-100);
    color: var(--color-negro);
}

.btn-table-edit {
    background-color: var(--color-negro);
    color: var(--color-blanco);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-table-edit:hover {
    background-color: var(--color-amarillo);
    color: var(--color-negro);
}

.btn-table-delete {
    background-color: #F8D7DA;
    color: var(--status-cancelada);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #F5C6CB;
    transition: background-color 0.2s;
}

.btn-table-delete:hover {
    background-color: var(--status-cancelada);
    color: var(--color-blanco);
}

/* --------------------------------------------------------------------------
   9. BADGES DE ESTATUS (SEMÁFORO)
   -------------------------------------------------------------------------- */
.badge-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.badge-status.pendiente {
    background-color: #FFF3CD;
    color: #856404;
    border: 1px solid #FFEEBA;
}

.badge-status.aprobada {
    background-color: #CCE5FF;
    color: #004085;
    border: 1px solid #B8DAFF;
}

.badge-status.entregada {
    background-color: #FFE8D6;
    color: #A74100;
    border: 1px solid #FFD8BE;
}

.badge-status.finalizada {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.badge-status.cancelada {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* --------------------------------------------------------------------------
   10. TARJETAS DE USUARIO Y CATÁLOGO
   -------------------------------------------------------------------------- */
.user-card {
    background-color: var(--color-blanco);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--color-amarillo);
    border-radius: 8px;
    padding: 24px;
    margin-top: 20px;
    max-width: 550px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.user-card h2 {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: var(--color-negro);
}

.user-card p {
    margin: 6px 0;
    color: var(--gray-800);
    font-size: 14.5px;
}

.card-item {
    background: var(--color-blanco);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: var(--color-negro);
}

/* --------------------------------------------------------------------------
   11. ELEMENTOS GRÁFICOS ESQUINADOS EN PANTALLAS INTERNAS
   -------------------------------------------------------------------------- */
.bg-graphic-corner {
    position: fixed;
    bottom: -50px;
    right: -50px;
    width: 440px;
    height: 440px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.14;
    pointer-events: none;
    z-index: 1;
}

.bg-wave-corner {
    background-image: url('../assets/backgrounds/wave-back-1-v2.svg');
}

.bg-dots-corner {
    background-image: url('../assets/graphics/dot-shape-1.svg');
}

/* --------------------------------------------------------------------------
   12. PANTALLA DE ACCESO / LOGIN (index.php) - ESPACIADO Y AIRE VISUAL
   -------------------------------------------------------------------------- */
.login-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: var(--color-blanco);
    background-image: url('../assets/backgrounds/dotted-back-2-v2.svg');
    background-repeat: repeat;
    background-size: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.login-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}

/* Tarjeta Principal con más respiración interna */
.login-card {
    width: 100%;
    max-width: 460px;
    background: var(--color-blanco);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 48px 40px; /* Relleno amplio para evitar elementos encimados */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

/* Cabecera con Logotipo y Claim */
.login-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.login-logo {
    max-width: 210px;
    height: auto;
    display: inline-block;
    margin-bottom: 10px;
}

.login-claim {
    display: block;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: var(--gray-600);
    text-transform: uppercase;
}

/* Títulos con márgenes calibrados */
.login-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-negro);
    margin: 0 0 8px 0;
    text-align: center;
    line-height: 1.15;
}

.login-subtitle {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0 0 32px 0; /* Separación amplia hacia el primer campo */
    text-align: center;
    line-height: 1.4;
}

/* Alertas de error */
.login-alert-danger {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    text-align: center;
}

/* Estructura del Formulario */
.login-form {
    display: flex;
    flex-direction: column;
}

/* Grupos de campos separados entre sí */
.login-field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px; /* Margen vertical entre Usuario y Contraseña */
}

/* Etiqueta separada del input */
.login-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gray-800);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px; /* Espacio visible entre texto guía y la caja de texto */
}

/* Caja de entrada de datos */
.login-input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14.5px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #FAFAFA;
}

.login-input:focus {
    border-color: var(--color-negro);
    background-color: var(--color-blanco);
    box-shadow: 0 0 0 3px rgba(255, 214, 2, 0.35);
}

/* Botón con espacio arriba y abajo */
.btn-login-submit {
    background-color: var(--color-amarillo);
    color: var(--color-negro);
    border: none;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 28px; /* Espacio amplio hacia el pie de página */
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn-login-submit:hover {
    background-color: #E6C100;
}

.btn-login-submit:active {
    transform: scale(0.98);
}

/* Pie de página centrado */
.login-footer {
    text-align: center;
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.3;
}

/* Gráfico de Partículas */
.login-bg-graphic {
    position: fixed;
    bottom: -30px;
    right: -30px;
    width: 560px;
    height: 560px;
    background-image: url('../assets/graphics/dot-shape-1.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.30;
    pointer-events: none;
    z-index: 2;
}

/* ==========================================================================
   DASHBOARD / RESUMEN DEL SISTEMA (AVANNA ERP)
   ========================================================================== */

/* Cabecera con datos del usuario */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.user-badge-info {
    display: flex;
    gap: 8px;
    align-items: center;
}

.user-badge-role {
    background-color: var(--color-negro);
    color: var(--color-amarillo);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.user-badge-unit {
    background-color: var(--color-blanco);
    color: var(--gray-800);
    border: 1px solid var(--gray-300);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* 1. Cuadrícula de KPIs (Retícula flexible de 4 columnas) */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 45px;
}

.kpi-card {
    background-color: var(--color-blanco);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    border-color: var(--color-negro);
}

/* Tarjeta destacada con el amarillo oficial */
.kpi-card.highlight-card {
    border-left: 4px solid var(--color-amarillo);
}

.kpi-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: var(--gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.kpi-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* Blanco puro */
}

.kpi-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.kpi-value {
    display: block;
    font-size: 34px;
    font-weight: 800;
    color: var(--color-negro);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.kpi-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-negro);
    text-decoration: none;
    transition: color 0.2s ease;
}

.kpi-link:hover {
    color: #C2A200;
}

/* 2. Sección de Acciones Frecuentes */
.quick-actions-section {
    margin-top: 20px;
}

.quick-actions-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--color-negro);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.action-card {
    background-color: var(--color-blanco);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease-in-out;
}

.action-card:hover {
    background-color: #FAFAFA;
    border-color: var(--color-amarillo);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.action-card-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0); /* Ícono en negro */
    margin-top: 2px;
}

.action-card:hover .action-card-icon {
    filter: invert(82%) sepia(85%) saturate(1542%) hue-rotate(352deg) brightness(103%) contrast(105%);
}

.action-card-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-negro);
    margin: 0 0 6px 0;
}

.action-card-text p {
    font-size: 13px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}