html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Pantallas del kiosco: sin selección de texto ni "pull to refresh". */
body.kiosk-mode {
    overscroll-behavior-y: contain;
    user-select: none;
    cursor: default;
}

.kiosk-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Touch Targets */
.btn-lg {
    min-height: 60px;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Form Inputs */
.form-control-lg {
    min-height: 60px;
    font-size: 1.5rem;
}

.form-floating > label {
    font-size: 1.2rem;
    padding-top: 1rem;
}

.btn:focus, .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Scanner Input should be invisible */
#scannerInput {
    position: absolute;
    top: -1000px;
    opacity: 0;
    height: 0px;
    width: 0px;
    padding: 0;
    margin: 0;
    border: none;
}

/* Tarjetas de selección táctil (ubicación / rol / perfil). */
.pick-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 15px;
}
.pick-card:active, .pick-card.active {
    transform: scale(0.98);
}

/* Aviso de inactividad del kiosco. */
.kiosk-idle-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: #212529;
    color: #fff;
    text-align: center;
    font-size: 1.25rem;
    z-index: 2000;
}

.enrollment-code {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 3rem;
    letter-spacing: .3rem;
}

@media print {
    .d-print-none, header, .kiosk-idle-banner { display: none !important; }
}
