/* ============================================================
   VAMOTRIZ - CUSTOMER HEADER V6
   UN HEADER NEGRO / RESTO BLANCO
   ============================================================ */


/* ============================================================
   AREA DERECHA DEL CLIENTE
   Sidebar NO se toca
   ============================================================ */

html,
body {
    background: #fff !important;
}

.main-content.vm-customer-main {
    padding: 0 !important;
    margin: 0 !important;

    min-width: 0 !important;

    background: #fff !important;
    color: #111 !important;

    overflow-x: hidden !important;
}


/* dashboard */

.main-content.vm-customer-main
.vm-customer-dashboard {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;

    display: flex !important;
    flex-direction: column !important;

    gap: 18px !important;
}


/*
 * Todo debajo del header vuelve a tener
 * separación normal.
 */

.main-content.vm-customer-main
.vm-customer-dashboard
> :not(.vm6-customer-header) {
    margin-left: 18px !important;
    margin-right: 18px !important;
}


/* ============================================================
   HEADER NEGRO UNICO
   ============================================================ */

.main-content.vm-customer-main
.vm6-customer-header {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #000 !important;
    color: #fff !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    box-sizing: border-box !important;

    position: static !important;

    overflow: hidden !important;
}


/*
 * Fuerza TODO lo que vive dentro
 * del header a blanco.
 */

body.vm-global-contrast
.main-content.vm-customer-main
.vm6-customer-header,
body.vm-global-contrast
.main-content.vm-customer-main
.vm6-customer-header *,
.main-content.vm-customer-main
.vm6-customer-header,
.main-content.vm-customer-main
.vm6-customer-header * {
    color: #fff !important;
}


/* ============================================================
   FILA SUPERIOR
   ============================================================ */

.vm6-top {
    min-height: 76px !important;

    padding: 15px 20px !important;

    display: grid !important;

    grid-template-columns:
        minmax(220px, 1.15fr)
        minmax(180px, .8fr)
        auto !important;

    align-items: center !important;

    gap: 24px !important;

    background: #000 !important;

    border-bottom:
        1px solid
        rgba(255,255,255,.18) !important;

    box-sizing: border-box !important;
}


/* ============================================================
   IDENTIDAD CLIENTE
   ============================================================ */

.vm6-identity {
    min-width: 0 !important;
}

.vm6-eyebrow {
    display: block !important;

    margin-bottom: 6px !important;

    font-size: 10px !important;
    font-weight: 900 !important;

    letter-spacing: .11em !important;

    color: rgba(255,255,255,.72) !important;
}

.vm6-title-line {
    display: flex !important;
    align-items: baseline !important;

    gap: 11px !important;

    min-width: 0 !important;
}

body.vm-global-contrast
.main-content.vm-customer-main
.vm6-title-line h1,
.main-content.vm-customer-main
.vm6-title-line h1 {
    margin: 0 !important;

    font-size: 27px !important;
    line-height: 1 !important;

    font-weight: 900 !important;

    color: #fff !important;
}

.vm6-client {
    font-size: 11px !important;
    font-weight: 600 !important;

    color: rgba(255,255,255,.72) !important;
}


/* ============================================================
   MARCA
   ============================================================ */

.vm6-brand {
    text-align: center !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: center !important;

    gap: 4px !important;
}

body.vm-global-contrast
.main-content.vm-customer-main
.vm6-brand strong,
.main-content.vm-customer-main
.vm6-brand strong {
    font-size: 16px !important;
    font-weight: 900 !important;

    letter-spacing: .05em !important;

    color: #fff !important;
}

body.vm-global-contrast
.main-content.vm-customer-main
.vm6-brand small,
.main-content.vm-customer-main
.vm6-brand small {
    font-size: 9px !important;

    color: rgba(255,255,255,.62) !important;
}


/* ============================================================
   BOTONES
   ============================================================ */

.vm6-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 8px !important;
}

body.vm-global-contrast
.main-content.vm-customer-main
.vm6-action,
.main-content.vm-customer-main
.vm6-action {
    min-height: 35px !important;

    padding: 0 13px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #000 !important;
    color: #fff !important;

    border: 1px solid #fff !important;
    border-radius: 0 !important;

    text-decoration: none !important;

    font-size: 10px !important;
    font-weight: 800 !important;

    white-space: nowrap !important;
}

body.vm-global-contrast
.main-content.vm-customer-main
.vm6-action:hover,
body.vm-global-contrast
.main-content.vm-customer-main
.vm6-action:focus,
.main-content.vm-customer-main
.vm6-action:hover,
.main-content.vm-customer-main
.vm6-action:focus {
    background: #fff !important;
    color: #000 !important;
}


/* ============================================================
   FILA DE ESTADISTICAS
   ============================================================ */

.vm6-stats {
    width: 100% !important;

    min-height: 67px !important;

    display: grid !important;
    grid-template-columns:
        repeat(4, minmax(0,1fr)) !important;

    background: #000 !important;

    box-sizing: border-box !important;
}


/* cada bloque sigue siendo parte
   DEL MISMO fondo negro */

.vm6-stat {
    min-width: 0 !important;

    padding: 12px 18px !important;

    display: grid !important;

    grid-template-columns:
        auto auto 1fr !important;

    align-items: center !important;

    column-gap: 8px !important;

    background: transparent !important;

    border-right:
        1px solid
        rgba(255,255,255,.18) !important;

    box-sizing: border-box !important;
}

.vm6-stat:last-child {
    border-right: 0 !important;
}


body.vm-global-contrast
.main-content.vm-customer-main
.vm6-stat span,
.main-content.vm-customer-main
.vm6-stat span {
    font-size: 10px !important;
    font-weight: 900 !important;

    text-transform: uppercase !important;
    letter-spacing: .04em !important;

    color: #fff !important;
}


body.vm-global-contrast
.main-content.vm-customer-main
.vm6-stat strong,
.main-content.vm-customer-main
.vm6-stat strong {
    font-size: 20px !important;
    font-weight: 900 !important;

    line-height: 1 !important;

    color: #fff !important;
}


body.vm-global-contrast
.main-content.vm-customer-main
.vm6-stat small,
.main-content.vm-customer-main
.vm6-stat small {
    font-size: 9px !important;

    color: rgba(255,255,255,.62) !important;
}


/* ============================================================
   TODO LO DEMAS BLANCO
   ============================================================ */

.main-content.vm-customer-main
.vm-customer-panel,

.main-content.vm-customer-main
.vm-customer-row,

.main-content.vm-customer-main
.vm-customer-empty,

.main-content.vm-customer-main
.vm-vehicle-card,

.main-content.vm-customer-main
.card,

.main-content.vm-customer-main
.panel {
    background: #fff !important;
    color: #111 !important;
}


body.vm-global-contrast
.main-content.vm-customer-main
.vm-customer-panel h1,

body.vm-global-contrast
.main-content.vm-customer-main
.vm-customer-panel h2,

body.vm-global-contrast
.main-content.vm-customer-main
.vm-customer-panel h3,

body.vm-global-contrast
.main-content.vm-customer-main
.vm-customer-panel strong,

body.vm-global-contrast
.main-content.vm-customer-main
.vm-customer-panel b {
    color: #111 !important;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1000px) {

    .vm6-top {
        grid-template-columns:
            minmax(200px,1fr)
            auto !important;

        gap: 14px !important;
    }

    .vm6-brand {
        display: none !important;
    }

}


@media (max-width: 760px) {

    .vm6-top {
        grid-template-columns: 1fr !important;
    }

    .vm6-actions {
        justify-content: flex-start !important;
    }

    .vm6-stats {
        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;
    }

    .vm6-stat:nth-child(2) {
        border-right: 0 !important;
    }

    .vm6-stat:nth-child(1),
    .vm6-stat:nth-child(2) {
        border-bottom:
            1px solid
            rgba(255,255,255,.18) !important;
    }

}
