/* Barra de la demo pública (web/WEB-INF/demo-barra.xhtml). Misma paleta que appointment.css.
   Mobile-first: en móvil todo apilado y con objetivos táctiles de 44px. */

.demo-barra {
    display: grid;
    gap: 10px;
    margin: 12px 12px 0;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e5eaf3;
    border-left: 4px solid #2196F3;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
    color: #1e293b;
    font-size: .9rem;
    line-height: 1.4;
}
.demo-barra * { box-sizing: border-box; }

.demo-barra-aviso { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.demo-barra-marca {
    padding: 3px 9px;
    border-radius: 999px;
    background: #2196F3;
    color: #ffffff;
    font-size: .72rem;
    font-weight: 800;
}
.demo-barra-nota { color: #64748b; }

.demo-barra-paso { display: grid; gap: 8px; }
.demo-barra-texto { color: #0f172a; font-weight: 700; }
.demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    background: #2196F3;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
}
.demo-btn:hover { background: #1769aa; }

.demo-barra-enlaces { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 14px; }
.demo-barra-enlaces a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #64748b !important;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
}
.demo-barra-enlaces a:hover { color: #0f172a !important; text-decoration: underline; }
.demo-barra a:focus-visible { outline: 3px solid rgba(33, 150, 243, .45); outline-offset: 2px; border-radius: 8px; }

@media (min-width: 900px) {
    .demo-barra {
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 16px;
        margin: 12px 18px 0;
        padding: 10px 16px;
    }
    .demo-barra-paso { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
    .demo-btn { min-height: 36px; }
    .demo-barra-enlaces { gap: 16px; }
    .demo-barra-enlaces a { min-height: 36px; }
}
