.ribbon-cancelled {
    position: absolute;
    left: -45px;
    top: 20px;
    z-index: 1;
    width: 160px;
    background: #dc3545;
    color: #fff;
    text-align: center;
    line-height: 26px;
    transform: rotate(-45deg);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

/* Asterisco para obligatorios */
.required-asterisk {
    color: #dc3545;
    /* rojo consistente con Bootstrap danger */
    font-weight: 600;
    margin-left: 4px;
    /* un poco más de aire */
}


/* Para ocultar asteriscos condicionales cuando no aplican */
.required-asterisk--hidden {
    visibility: hidden;
    /* conserva layout, no “salta” la UI */
}

/* Apariencia de input deshabilitado pero enviable */
.input-fake-disabled[readonly] {
    background-color: #e9ecef;
    /* igual que .form-control:disabled en Bootstrap */
    opacity: 1;
    cursor: not-allowed;
}

/* ====== COTIZACIÓN (Create) ====== */

/* Barra de pasos */
.quote-steps {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap
}

.quote-steps .step {
    background: #f5f6f8;
    color: #6b7280;
    padding: .35rem .65rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .85rem
}

.quote-steps .step.active {
    background: #eef2ff;
    color: #4338ca
}

.quote-steps .sep {
    width: 20px;
    height: 2px;
    background: #e5e7eb;
    border-radius: 2px
}

/* Semáforo de prioridad */
.prio-dot {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    background: #9ca3af
}

/* Sidebar/resumen fijo */
.sticky-summary {
    position: sticky;
    top: 8rem
}

.summary-block>div {
    padding: .25rem 0
}

/* Pulido tarjetas y botones */
.card-header h5 {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0
}

#selected_customer_card .card-body {
    padding-top: .5rem;
    padding-bottom: .5rem
}

.btn-group .btn {
    padding-top: .5rem;
    padding-bottom: .5rem
}

/* Apariencia readonly amigable */
.is-readonly {
    background-color: #f5f6f8 !important;
    color: #6b7280 !important;
    cursor: not-allowed
}

/* =========================================================
   FIX DEFINITIVO: Shepherd Tour sobre Vuexy
   ========================================================= */

/* El popup del tour */
.shepherd-element {
    z-index: 20000 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Overlay oscuro */
.shepherd-modal-overlay-container {
    z-index: 19999 !important;
}

/* Elemento objetivo */
.shepherd-target,
.shepherd-enabled {
    z-index: 20001 !important;
}

/* Botones dentro del tour */
.shepherd-button {
    border-radius: 0.375rem;
    font-weight: 600;
}

/* Asegura que no quede oculto por transforms */
body.shepherd-active {
    overflow: visible !important;
}


.authentication-wrapper .authentication-inner .auth-cover-bg .auth-illustration {
    z-index: 1;
    max-block-size: 90% !important;
    max-inline-size: 65%;
}