/*!
 * Theme: FlexAuto Brand
 * Package: DashLite v3.3.0
 * Brand: FlexAuto México — #E3002B primary red, Ubuntu font
 * Based on: theme-red.css skin (Softnio)
 * Updated: 2026-02-27
**/

/* =====================================================
   FlexAuto Brand Variables
   ===================================================== */

:root {
    /* Primary */
    --color-brand-red:     #E3002B;
    --color-white:         #FFFFFF;
    --color-dark:          #1A1A1A;

    /* Neutrals */
    --color-gray-light:    #F2F2F2;
    --color-gray-medium:   #666666;
    --color-gray-dark:     #333333;
    --color-gray-muted:    #CCCCCC;

    /* Typography */
    --font-family:         'Ubuntu', sans-serif;
    --font-weight-light:   300;
    --font-weight-regular: 400;
    --font-weight-medium:  500;
    --font-weight-bold:    700;
}

/* =====================================================
   Typography — Ubuntu font override
   ===================================================== */

body,
.nk-body {
    font-family: 'Ubuntu', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.title, .lead-text, .overline-title,
.nk-block-title, .nk-block-des,
.card-title, .card-title-group .title,
.modal-title,
.data-head, .data-value,
.btn, .form-control, .form-label,
.custom-control-label,
.nk-menu-link, .nk-menu-text,
.nk-header-brand, .logo-link,
.user-name, .user-info .sub-text,
.nk-tb-list .nk-tb-col,
.table th, .table td {
    font-family: 'Ubuntu', sans-serif;
}

/* =====================================================
   Sidebar — Light variant menu text
   ===================================================== */

.is-light .nk-menu-link,
.is-light .nk-menu-icon {
    color: #364a63;
}

/* =====================================================
   Sidebar — Dark variant (navy)
   ===================================================== */

.nk-sidebar.is-dark {
    background: #0f192a;
    border-right-color: #1c2f50;
}

.is-dark .nk-sidebar-head {
    border-color: #1c2f50;
}

.nk-sidebar.is-dark .user-balance-alt,
.nk-sidebar.is-theme .user-balance-alt {
    color: rgba(255, 255, 255, 0.8);
}

.is-dark .nk-menu-link {
    color: #8699b2;
}

.is-dark .nk-menu-link:hover {
    background: #172641;
}

.is-dark .active > .nk-menu-link {
    background: #172641;
}

.is-dark .nk-menu-icon {
    color: #9faec2;
}

.is-dark .nk-menu-badge {
    color: #EF8892;
    background: #1c2f50;
}

.is-dark .nk-menu-sub .active > .nk-menu-link,
.is-dark .nk-menu-link:hover,
.is-dark .active > .nk-menu-link,
.is-dark .nk-menu-link:hover .nk-menu-icon,
.is-dark .nk-menu-item.active > .nk-menu-link .nk-menu-icon,
.is-dark .nk-menu-item.current-menu > .nk-menu-link .nk-menu-icon {
    color: #E84050;
}

.is-dark .user-name {
    color: #90a1b8;
}

.is-dark .nk-quick-nav-icon {
    color: #9faec2;
}

/* =====================================================
   Sidebar — Theme variant (brand red)
   ===================================================== */

.nk-sidebar.is-theme {
    background: #5A0A16;
    border-right-color: #7A1420;
}

.is-theme .nk-sidebar-head {
    border-color: #7A1420;
}

.is-theme .nk-menu-link {
    color: #F4A0AA;
}

.is-theme .nk-menu-link:hover {
    background: #6E1018;
}

.is-theme .active > .nk-menu-link {
    background: #6E1018;
}

.is-theme .nk-menu-icon {
    color: #F9C8CE;
}

.is-theme .nk-menu-badge {
    color: #F7BCC5;
    background: #7A1420;
}

.is-theme .nk-quick-nav-icon,
.is-theme .overline-title {
    color: #F5B0BB;
}

.is-theme .nk-menu-heading .overline-title {
    color: rgba(245, 176, 187, 0.8);
}

.is-theme .user-name {
    color: #F8C8D0;
}

/* =====================================================
   Header
   ===================================================== */

.nk-header {
    background: #f5f6fa;
    border-bottom-color: #e5e9f2;
}

.nk-header.is-dark:not([class*=bg-]) {
    background: #0f192a;
}

.nk-header.is-theme:not([class*=bg-]) {
    background: #5A0A16;
}

/* =====================================================
   Primary backgrounds
   ===================================================== */

.card-tools-nav li a:before,
.nav-tabs .nav-link:after,
.progress-bar,
.dot-primary,
.alert-fill.alert-primary,
.bg-primary,
.icon-circle,
.noUi-connect,
.nk-msg-menu-item a:after,
.ui-shady .nk-msg-item.active:after,
.ui-shady .nk-msg-item.current:after,
.ui-softy .nk-msg-item.active:after,
.ui-softy .nk-msg-item.current:after {
    background: #E3002B;
}

/* =====================================================
   Card dark variants
   ===================================================== */

.card-bordered.is-dark {
    border-color: #660A18;
}

.card.is-dark {
    background: #660A18;
}

.is-dark .nk-wg7-title,
.is-dark .nk-wg7-note {
    color: #F5A8B2;
}

/* =====================================================
   User avatar
   ===================================================== */

.user-avatar,
[class^=user-avatar]:not([class*=-group]) {
    background: #E84050;
}

/* =====================================================
   Primary text color (links, menus, indicators)
   ===================================================== */

.nk-menu-link:hover,
.nk-menu-link:hover .nk-menu-icon,
.nk-menu-item.active > .nk-menu-link .nk-menu-icon,
.nk-menu-item.current-menu > .nk-menu-link .nk-menu-icon,
.nk-menu-link:hover .count,
.nk-menu-sub .nk-menu-link:hover,
.nk-menu-sub .active > .nk-menu-link,
.nk-menu-sm .nk-menu-link:hover,
.nk-menu-main .nk-menu-link:hover,
.nk-menu-main .nk-menu-link:focus,
.nk-menu-main .nk-menu-item.active > .nk-menu-link,
.nk-menu-main .nk-menu-item.current-menu > .nk-menu-link,
.nk-menu-main .nk-menu-item:hover > .nk-menu-link,
.is-light .nk-menu-link:hover,
.is-light .active > .nk-menu-link,
.active > .nk-menu-link,
.active > .nk-menu-link .count,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.active .nav-link,
.nk-menu-footer .nk-menu-icon,
.nk-menu-footer .nk-menu-link:hover,
.nk-footer-copyright a:hover,
.page-link:hover,
.list-plain a:hover,
.link-check li a:hover,
.link-list a:hover,
.link-list-opt a:hover,
.link-list-plain a:hover,
.link-list-menu li.active > a,
.link-list-menu a.active,
.link-list-menu a:hover,
.link-list-menu li.active > a .icon,
.link-list-menu a.active .icon,
.link-list-menu a:hover .icon,
.link-list-menu li.active > a:after,
.link-list-menu a.active:after,
.link-list-menu a:hover:after,
.list-checked li:before,
.list-step li.list-step-current:before,
.accordion-s2 .accordion-head .title,
.accordion-s3 .accordion-head .title,
.bg-outline-primary,
.badge-dim.bg-primary,
.badge-dot.bg-primary,
.badge-dim.bg-outline-primary,
.alert-primary,
.form-clip,
.form-text-hint,
.search-submit:hover,
.attach-item .icon,
.attach-download:hover span,
.nk-reply-meta-info .whom,
.nk-msg-tags li > span .icon,
.nk-msg-menu-item a:hover,
.nk-msg-menu-item.active a,
.user-balance,
.user-avatar[class*=-primary-dim],
a,
.dropzone .dz-message-text span,
.nk-switch-icon.active,
.link-list-plain a .icon,
.chat-upload-option a,
.is-unread .chat-context .status,
.add-opt:hover .sub-text,
.add-opt:hover .icon,
.icon[class*=bg-primary-dim],
.nk-tb-list .tb-asterisk a {
    color: #E3002B;
}

a:hover {
    color: #CC0026;
}

.text-primary,
.link-primary {
    color: #E3002B !important;
}

.link-primary:hover,
a.text-primary:hover,
a.text-primary:focus,
.chat-upload-option a:hover {
    color: #CC0026 !important;
}

/* =====================================================
   Primary borders
   ===================================================== */

.border-primary,
.nk-kycfm-control:checked ~ .nk-kycfm-label {
    border-color: #E3002B !important;
}

/* =====================================================
   Background utilities
   ===================================================== */

.bg-lighter {
    background-color: #f5f6fa !important;
}

.bg-primary {
    background-color: #E3002B !important;
}

a.bg-primary:hover,
a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus {
    background-color: #B80022 !important;
}

.bg-primary-dim {
    background-color: #FDE8EC !important;
}

.text-primary-dim {
    color: #FDE8EC !important;
}

/* =====================================================
   Alerts & badges
   ===================================================== */

.alert-primary,
.badge-dim.bg-outline-primary {
    background-color: #FDE8EC;
    border-color: #F2A0AA;
}

.alert-pro.alert-primary,
.bg-primary,
.sp-package-choose:checked ~ label,
.plan-control:checked + .plan-item-card,
.form-control:focus,
.form-control.focus,
.custom-file-input:focus ~ .custom-file-label,
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before,
.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #E3002B;
}

.nk-order-ovwg-data.sell,
.bg-outline-primary {
    border-color: #F2A0AA;
}

.dropdown-menu-s1 {
    border-top-color: #E3002B;
}

.nk-iv-wg2-amount.ui-v2 {
    border-bottom-color: #E3002B;
}

/* =====================================================
   Custom controls (checkboxes, radios, switches)
   ===================================================== */

.page-item.active .page-link,
.custom-control-input:checked ~ .custom-control-label::before,
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    background-color: #E3002B;
    border-color: #E3002B;
}

.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before,
.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before,
.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: #EF7080;
}

.badge-dim.bg-primary {
    background-color: #FDE8EC;
    border-color: #FDE8EC;
}

.bg-primary.badge-dot {
    background: transparent !important;
}

/* =====================================================
   Error page gradient
   ===================================================== */

.nk-error-head {
    background: -webkit-linear-gradient(#E3002B, #8B1525);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =====================================================
   Nav switch
   ===================================================== */

.nav-switch .nav-link.active {
    background: #E3002B;
    color: #ffffff;
}

/* =====================================================
   Icon avatar
   ===================================================== */

.icon-avatar {
    color: #E3002B;
    background-color: #FBE0E5;
}

.is-theme .nk-quick-nav-icon:before {
    background-color: #410A12;
}

/* =====================================================
   Buttons — Primary
   ===================================================== */

.btn-primary {
    background-color: #E3002B;
    border-color: #E3002B;
}

.btn-primary:hover {
    background-color: #CC0026;
    border-color: #C40024;
}

.btn-primary:focus {
    background-color: #CC0026;
    border-color: #C40024;
}

.btn-primary.btn-dim {
    color: #E3002B;
    background-color: #FCE5EA;
    border-color: #FCE5EA;
}

.btn-dim.btn-outline-primary {
    color: #E3002B;
    background-color: #FCE5EA;
    border-color: #F2A0AA;
}

.btn-dim.btn-outline-primary.btn-white {
    background-color: #ffffff;
}

.btn-outline-primary {
    border-color: #E3002B;
    color: #E3002B;
}

.btn-outline-primary:hover {
    background-color: #E3002B;
    border-color: #E3002B;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    background-color: #D00027;
    border-color: #CC0026;
}

.btn-primary:focus,
.btn-outline-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary.btn-dim:focus,
.btn-primary.btn-dim:not(:disabled):not(.disabled):active,
.btn-primary.btn-dim:not(:disabled):not(.disabled):active:focus,
.btn-dim.btn-outline-primary:focus,
.btn-dim.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-dim.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle,
.show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(227, 0, 43, 0.2);
}

.btn-outline-light:focus,
.btn-outline-light.focus,
.btn-outline-light:not(:disabled):not(.disabled):active:focus,
.btn-outline-light:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-light.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(128, 148, 174, 0.1);
}

.btn-trigger:focus {
    box-shadow: none;
}

.btn-primary.btn-dim:not(:disabled):not(.disabled):hover,
.btn-dim.btn-outline-primary:not(:disabled):not(.disabled):hover,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle,
.btn-primary.disabled,
.btn-primary:disabled {
    background-color: #E3002B;
    border-color: #E3002B;
}

/* =====================================================
   Form controls — Focus
   ===================================================== */

.form-control:focus,
.form-control.focus,
.custom-control-input:focus ~ .custom-control-label::before,
.custom-file-input:focus ~ .custom-file-label,
.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    box-shadow: 0 0 0 3px rgba(227, 0, 43, 0.1);
}

.form-control-simple:focus {
    box-shadow: none;
}

.form-focus-none:focus {
    border-color: transparent;
    box-shadow: none;
}

/* =====================================================
   Responsive — Main menu desktop
   ===================================================== */

@media (min-width: 992px) {
    .nk-menu-main > li > .nk-menu-link:before {
        background: #E3002B;
    }

    .is-theme .nk-menu-main > li > .nk-menu-link {
        color: #F5B0BB;
    }

    .is-theme .nk-menu-main > li > .nk-menu-link.nk-menu-toggle:after {
        color: rgba(245, 176, 187, 0.7);
    }
}

/* =====================================================
   Datepicker
   ===================================================== */

.datepicker table tr td.today,
.datepicker table tr td.today:hover,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover {
    background-color: #FBE0E5;
    color: #E3002B;
}

.datepicker table tr td.today:hover,
.datepicker table tr td.today:hover:hover,
.datepicker table tr td.today.disabled:hover,
.datepicker table tr td.today.disabled:hover:hover,
.datepicker table tr td.today:active,
.datepicker table tr td.today:hover:active,
.datepicker table tr td.today.disabled:active,
.datepicker table tr td.today.disabled:hover:active,
.datepicker table tr td.today.active,
.datepicker table tr td.today:hover.active,
.datepicker table tr td.today.disabled.active,
.datepicker table tr td.today.disabled:hover.active,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today:hover.disabled,
.datepicker table tr td.today.disabled.disabled,
.datepicker table tr td.today.disabled:hover.disabled,
.datepicker table tr td.today[disabled],
.datepicker table tr td.today:hover[disabled],
.datepicker table tr td.today.disabled[disabled],
.datepicker table tr td.today.disabled:hover[disabled] {
    background-color: #E85565;
}

.datepicker table tr td.active:active,
.datepicker table tr td.active:hover:active,
.datepicker table tr td.active.disabled:active,
.datepicker table tr td.active.disabled:hover:active,
.datepicker table tr td.active.active,
.datepicker table tr td.active:hover.active,
.datepicker table tr td.active.disabled.active,
.datepicker table tr td.active.disabled:hover.active,
.datepicker table tr td span:hover,
.datepicker table tr td span.focused {
    background-color: #E3002B;
}

/* =====================================================
   Misc components
   ===================================================== */

.code-tag {
    color: blue;
}

.alert-pro {
    background: #ffffff;
    color: #526484;
}

.nk-menu-badge {
    color: #EA6070;
    background-color: #FDE8EC;
}

.is-theme .nk-sidebar-footer,
.nk-apps-sidebar.is-theme,
.is-theme .nk-sidebar-profile-fixed {
    background: #5A0A16;
    border-color: #7A1420;
}

.is-theme .nk-menu-footer .nk-menu-link,
.is-theme .sub-text,
.is-theme .lead-text span {
    color: #F5B0BB;
}

.nav-switch-s2 .nav-link:hover,
.nav-switch-s2 .nav-link:focus {
    color: #526484;
}

.nav-switch-s2 .nav-link.active {
    color: #364a63;
}

.active .nk-ibx-menu-text,
.active .nk-ibx-menu-item .icon,
.nk-reply-form-nav li a:hover,
.nk-reply-form-input .toggle-opt:hover {
    color: #E3002B;
}

.nk-ibx-menu li.active {
    background: #FEF0F2;
}

.nk-fmg-menu li.active {
    background: #FEF0F2;
}

.nk-file-name .asterisk .icon,
.nk-file-name-text a.title:hover,
.nk-file-link:hover .title,
.active .nk-fmg-menu-item .icon,
.active .nk-fmg-menu-text {
    color: #E3002B;
}

.nk-files-view-list .nk-file.selected {
    background-color: #FBE0E5;
}

.chat.is-me .chat-msg {
    background-color: #E3002B;
}

.kanban-add-task {
    color: #E3002B;
}

.kanban-add-task:hover {
    background: #E3002B;
    border-color: #E3002B;
}

.actions ul li a {
    border-color: #E3002B;
    background: #E3002B;
}

.nk-wizard-simple .steps ul li.done h5,
.nk-wizard-simple .steps ul li.done .number,
.nk-wizard-simple .steps ul li.current h5,
.nk-wizard-simple .steps ul li.current .number {
    color: #E3002B;
}

.nk-wizard-simple .steps ul li:after {
    background: #E3002B;
}

.invoice-contact ul .icon,
.invoice-desc .title,
.invoice-bills .table th {
    color: #E3002B;
}

.product-gallery .slider-nav .slider-item.slick-current .thumb,
.custom-control-pro.no-control .custom-control-input:checked ~ .custom-control-label,
.custom-control-pro.no-control .custom-control-input:not(:disabled):active ~ .custom-control-label,
.custom-control.color-control .custom-control-label:before {
    border-color: #E3002B !important;
}

/* =====================================================
   Logo — sizing
   ===================================================== */

.nk-sidebar-brand .logo-img {
    max-height: 28px;
    width: auto;
}

.nk-header-brand .logo-img {
    max-height: 28px;
    width: auto;
}

/* =====================================================
   Logo — dark/theme background inversion
   ===================================================== */

.is-dark .logo-img,
.is-theme .logo-img,
.nk-header.is-dark .logo-img,
.nk-header.is-theme .logo-img,
.dark-mode .logo-img {
    filter: brightness(0) invert(100%);
}

/* =====================================================
   FlexAuto body text refinements
   ===================================================== */

body {
    color: #1A1A1A;
}

.sub-text, .text-soft {
    color: #666666;
}
