/*
 * Colores de la marca Hormigueitor (capa de cada plataforma).
 * Sobrescribe las variables de Bootstrap 5 y de la plantilla Good.
 * Otra plataforma: copiar este archivo, cambiar los colores y apuntar config('theme.brand_css').
 */
:root {
    /* Degradado de marca: encabezados, welcome, catálogo, correos */
    --brand-gradient: linear-gradient(135deg, #7f3c1b 0%, #9C4A21 45%, #D9804D 100%);
}

:root,
[data-bs-theme=light] {
    --bs-primary: #9C4A21;
    --bs-primary-rgb: 156, 74, 33;
    --bs-primary-active: #7f3c1b;
    --bs-primary-light: #F6EAE3;
    --bs-primary-clarity: rgba(156, 74, 33, 0.2);
    --bs-primary-inverse: #FFFFFF;
    --bs-primary-bg-subtle: #F6EAE3;
    --bs-primary-border-subtle: #E2BFAE;
    --bs-primary-text-emphasis: #5D3A26;
    --bs-link-color: #9C4A21;
    --bs-link-color-rgb: 156, 74, 33;
    --bs-link-hover-color: #D9804D;
    --bs-link-hover-color-rgb: 217, 128, 77;
    /* Variables propias de la plantilla que traían el turquesa (#4FC9DA) */
    --bs-text-primary: #9C4A21;
    --bs-component-active-bg: #9C4A21;
    --bs-component-checked-bg: #9C4A21;
    --bs-component-hover-color: #9C4A21;
    --bs-menu-link-color-active: #9C4A21;
    --bs-menu-link-color-here: #9C4A21;
    --bs-menu-link-color-hover: #9C4A21;
    --bs-menu-link-color-show: #9C4A21;
    --bs-app-sidebar-logo-icon-custom-hover-color: #9C4A21;
    --bs-ribbon-label-bg: #9C4A21;
    --bs-scrolltop-bg-color: #9C4A21;
    --bs-scrolltop-bg-color-hover: #7f3c1b;
    --bs-focus-ring-color: rgba(156, 74, 33, 0.25);
}

[data-bs-theme=dark] {
    --bs-primary: #D9804D;
    --bs-primary-rgb: 217, 128, 77;
    --bs-primary-active: #c96f3c;
    --bs-primary-light: #3a2a22;
    --bs-primary-clarity: rgba(217, 128, 77, 0.2);
    --bs-primary-bg-subtle: #3a2a22;
    --bs-primary-border-subtle: #7a4a30;
    --bs-primary-text-emphasis: #f0c3a8;
    --bs-link-color: #D9804D;
    --bs-link-color-rgb: 217, 128, 77;
    --bs-text-primary: #D9804D;
    --bs-component-active-bg: #D9804D;
    --bs-component-checked-bg: #D9804D;
    --bs-component-hover-color: #D9804D;
    --bs-menu-link-color-active: #D9804D;
    --bs-menu-link-color-here: #D9804D;
    --bs-menu-link-color-hover: #D9804D;
    --bs-menu-link-color-show: #D9804D;
    --bs-app-sidebar-logo-icon-custom-hover-color: #D9804D;
    --bs-ribbon-label-bg: #D9804D;
    --bs-scrolltop-bg-color: #D9804D;
    --bs-scrolltop-bg-color-hover: #c96f3c;
    --bs-focus-ring-color: rgba(217, 128, 77, 0.25);
}

/* Encabezado del menú de alertas y bloques con el degradado de marca */
.hl-notifications-header,
.brand-gradient {
    background: var(--brand-gradient);
}
.hl-notifications-header .nav-line-tabs .nav-link.active {
    border-bottom-color: #fff !important;
}
