/* PulsePass Global UI/UX Polish — Desktop, Tablet & Mobile */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

img {
    max-width: 100%;
}

/* Centrado uniforme de texto en botones y píldoras */
.btn,
.nav-btn,
.nav-pill,
.btn-submit,
.btn-export,
.btn-anon,
.hero-cta,
.staff-btn,
[data-pwa-install],
[data-pwa-notif] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
}

/* Párrafos alineados rectos en tarjetas, descripciones y documentos */
.desc,
.event-desc,
.card-body p,
.doc-body p,
.legal-p,
.text-justify-clean {
    text-align: justify;
    text-justify: inter-word;
}

.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 960px) {
    .nav-inner {
        flex-wrap: wrap;
        gap: 10px;
    }
    .nav-actions,
    .nav-btns {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    .nav-inner {
        justify-content: center;
    }
    .nav-actions,
    .nav-btns {
        width: 100%;
        justify-content: center;
        gap: 6px;
    }
    .nav-btn,
    .nav-pill {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 0.82rem;
    }
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="time"],
    select,
    textarea {
        font-size: 16px;
    }
}
