/* ===== Numeric Keyboard – CI-20082 ===== */

.numeric-keyboard-container {
    width: 100%;
    background-color: #f0f0f0;
}

/* Grid 3x4 */
.numeric-keyboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 6px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.numeric-keyboard-key {
    height: 60px;
    border-radius: 6px;
    background-color: #fff;
    border: 1px solid #d1d5db;
    color: #051d3d;
    font-family: NeueHaasUnicaPro-Medium, sans-serif;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.numeric-keyboard-key:focus {
    outline: none;
}

.numeric-keyboard-key:active {
    opacity: 0.5;
    background-color: #d1d5db;
}

.numeric-keyboard-key-disabled {
    color: #bbb;
    background-color: #e8e8e8;
    cursor: default;
}

.numeric-keyboard-key-disabled:active {
    opacity: 1;
    background-color: #e8e8e8;
}

.numeric-keyboard-delete {
    background-color: #edf4f7;
    color: #004990;
    font-size: 22px;
}

.numeric-keyboard-delete .delete-image {
    height: 18px;
}

/* Botón ocultar/mostrar teclado (estilo alfanumérico) */
.numeric-keyboard-toggle-row {
    display: flex;
    justify-content: flex-end;
    padding-right: 60px;
    margin-top: -66px;
    position: relative;
    pointer-events: none;
}

.numeric-keyboard-hide-btn {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    background-color: #edf4f7;
    border: 1px solid #d1d5db;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #051d3d;
    pointer-events: all;
}

.numeric-keyboard-hide-btn:focus {
    outline: none;
}

.numeric-keyboard-hide-btn:active {
    opacity: 0.5;
    background-color: #d1d5db;
}

.numeric-keyboard-hide-btn svg {
    width: 40px;
    height: 40px;
}

/* Contenedor reducido cuando se muestra teclado numérico en paxPassport */
.numeric-kb-container {
    height: 310px !important;
}

.numeric-kb-header {
    position: relative !important;
    bottom: auto !important;
    width: 100%;
    height: 35px;
    border-bottom: solid 1px lightgray;
    display: flex;
    align-items: center;
}

.numeric-kb-content {
    margin-top: 0 !important;
}

/* Altura ajustada para pax-passport cuando solo se muestra teclado numérico */
.pax-passport-half-numeric {
    height: 512px !important;
}
