.totem-carousel-2rows-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2vmin;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1vmin;
    padding-bottom: 2vmin;
    max-height: 100vmin;
    scrollbar-width: thin;
}

.totem-carousel-row {
    display: contents;
}

.totem-carousel-2rows-scroll::-webkit-scrollbar {
    width: 1.2vmin;
}

.totem-carousel-2rows-scroll::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    border-radius: 1vmin;
}

.totem-carousel-2rows-scroll::-webkit-scrollbar-track {
    background: #f3f3f3;
}


/* Centrado y espaciado para el link de cambio de método de verificación */

.totem-verificacion-cambiar {
    color: #2563eb;
    font-size: 3.2vmin;
    text-decoration: underline;
    cursor: pointer;
    margin: 0 auto 1.5vmin auto;
    display: block;
    text-align: center;
}

totem-verificacion-enviado-a {
    font-size: 4vmin !important;
}

.totem-login-btn-volver {
    grid-column: 1 / -1;
    /* Ocupar todas las columnas del grid */
    width: 100%;
    height: 10vmin;
    font-size: 4vmin;
    border-radius: 1.2vmin;
    border: none;
    background: rgb(169, 30, 30);
    color: #fff;
    font-weight: bold;
    margin-top: 0vmin;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(204, 51, 51, 0.18);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.totem-login-btn-volver:active,
.totem-login-btn-volver:focus {
    background: rgb(169, 30, 30);
}

.totem-login-wave-container {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 12vmin;
    z-index: 5;
    pointer-events: none;
    overflow: visible;
    transition: opacity 0.5s ease-in-out;
}

.totem-login-wave,
.totem-login-wave * {
    pointer-events: none;
}

.totem-login-wave {
    width: 100vw;
    height: 45vmin !important;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 5;
    opacity: .5;
}

.totem-login-wave-invert {
    transform: scaleX(-1);
    z-index: 6;
    opacity: 0.95;
}

.totem-login-wave-front {
    z-index: 5;
    pointer-events: none;
    transform: translateY(5vmin);
    opacity: 0.8;
    height: 30vmin !important;
    /* push front blue wave down */
}

.totem-login-wave-invert-front {
    z-index: 6;
    pointer-events: none;
    transform: translateY(5vmin);
    opacity: 0.8;
    height: 12vmin !important;
    transform: scaleX(-1) !important;
    /* push front red wave down */
}

@keyframes fadeInWave {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.totem-login-wave-fadein {
    animation: fadeInWave 0.5s ease-in-out;
}

.totem-login-form-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100vw;
    z-index: 20;
    transition: opacity 0.5s ease-in-out;
}

.totem-login-label {
    font-size: 4vmin;
    color: rgb(204, 51, 51);
    font-weight: bold;
    margin-bottom: 2.5vmin;
    text-align: center;
}

.totem-login-input-big {
    width: 60vmin;
    max-width: 90vw;
    font-size: 6vmin;
    padding: 1.5vmin 2vmin;
    border: none;
    border-bottom: 2px solid #ccc;
    text-align: center;
    margin-bottom: 4vmin;
    outline: none;
    background: #fff;
    font-weight: bold;
    letter-spacing: 0.2vmin;
    transition: border-bottom 0.2s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.totem-login-input-big.totem-login-input-active,
.totem-login-input-big:focus {
    border-bottom: 2.5px solid rgb(204, 51, 51);
    outline: none;
    transition: border-bottom 0.2s;
}

.totem-login-input-big.totem-login-input-active {
    border-bottom: 2.5px solid rgb(204, 51, 51);
    transition: border-bottom 0.2s;
}

.totem-login-input-big:focus {
    border-bottom: 2.5px solid rgb(204, 51, 51);
    outline: none;
    transition: border-bottom 0.2s;
}

.totem-login-keypad {
    display: grid;
    grid-template-columns: repeat(4, 14vmin);
    gap: 2.5vmin;
    justify-content: center;
    width: auto;
    max-width: 98vw;
    position: relative;
    z-index: 20;
}

.totem-login-keypad-spacer {
    width: 14vmin;
    height: 0;
}

.totem-login-keypad-btn {
    width: 14vmin;
    height: 14vmin;
    font-size: 3.5vmin;
    border-radius: 1.2vmin;
    border: none;
    background: rgb(204, 51, 51);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.totem-login-keypad-btn-1 {
    width: 60vmin;
    height: 8vmin;
    font-size: 3.5vmin;
    border-radius: 1.2vmin;
    border: none;
    background: rgb(204, 51, 51);
    color: #fff;
    font-weight: bold;
    margin-bottom: 1.5vmin;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.totem-login-keypad-btn:active,
.totem-login-keypad-btn:focus {
    background: #a62828;
}

.totem-login-keypad-btn-borrar {
    background: #888;
    color: #fff;
    font-size: 3.5vmin;
}

.totem-login-keypad-btn-borrar:active,
.totem-login-keypad-btn-borrar:focus {
    background: #444;
}

.totem-login-btn-ingresar {
    grid-column: 1 / -1;
    /* Ocupar todas las columnas del grid */
    width: 100%;
    height: 10vmin;
    font-size: 4vmin;
    border-radius: 1.2vmin;
    border: none;
    background: rgb(3, 78, 162);
    color: #fff;
    font-weight: bold;
    margin-top: 4vmin;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(2, 60, 140, 0.18);
}

.totem-login-btn-ingresar:active,
.totem-login-btn-ingresar:focus {
    background: rgb(2, 60, 140);
}

html,
body {
    background: rgb(204, 51, 51) !important;
    min-height: 100vh;
}

.totem-login-bg {
    min-height: 100vh;
    background: rgb(204, 51, 51);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.8s cubic-bezier(.4, 0, .2, 1);
}

.totem-login-bg-white {
    background: #fff !important;
}

.totem-login-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 90vh;
    transition: all 0.7s cubic-bezier(.4, 0, .2, 1);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
}

.totem-login-logo-up {
    height: 16vmin;
    top: 7vmin;
}

.totem-login-logo {
    width: 45vmin;
    height: 45vmin;
    transition: all 0.7s cubic-bezier(.4, 0, .2, 1);
}

.totem-login-card {
    border-radius: 1.8vmin;
    box-shadow: 0 0.6vmin 3.2vmin rgba(0, 0, 0, 0.18);
    background: #fff;
    padding: 2.5rem 2rem 2rem 2rem;
    opacity: 1;
    margin-top: 20vmin;
}

.totem-login-card-anim {
    animation: fadeInCard 0.7s;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(4vmin);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.totem-login-card-white {
    background: #fff !important;
}

.totem-login-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: rgb(204, 51, 51);
    text-align: center;
    margin-bottom: 1.5rem;
}

.totem-login-input {
    font-size: 1.3rem;
    text-align: center;
}

.totem-login-btn {
    font-size: 1.2rem;
    border-radius: 0.8vmin;
    background: rgb(204, 51, 51);
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 0.7rem 0;
    margin-top: 1rem;
}

.totem-login-btn:hover,
.totem-login-btn:focus {
    background: #a62828;
}

.totem-login-error {
    color: #a62828;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

.totem-login-fadein {
    opacity: 0;
    transform: translateY(1.5vmin);
    animation: fadeInUp 600ms 200ms forwards cubic-bezier(.22, .9, .32, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.8vmin);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.totem-login-keypad .totem-login-keypad-btn {
    opacity: 0;
    transform: translateY(0.6vmin) scale(0.99);
    animation: keypadItemIn 420ms forwards cubic-bezier(.22, .9, .32, 1);
    animation-delay: var(--delay, 0s);
}

@keyframes keypadItemIn {
    from {
        opacity: 0;
        transform: translateY(0.6vmin) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.totem-login-bg-modal {
    animation: modalBgOut 0.5s ease-in-out forwards;
}

@keyframes modalBgOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0.5;
        transform: scale(0.98);
    }
}

.totem-login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: modalIn 0.5s ease-in-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.totem-login-modal-content {
    background: white;
    padding: 5vmin;
    border-radius: 2vmin;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    max-width: 80vw;
    text-align: center;
    animation: modalContentIn 0.5s ease-in-out;
}

@keyframes modalContentIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.totem-login-modal-content h2 {
    margin-bottom: 3vmin;
    color: rgb(204, 51, 51);
    font-size: 5vmin;
}

.totem-login-modal-content p {
    font-size: 4vmin;
    margin-bottom: 2vmin;
    color: #333;
}


/* MODAL CUSTOM TRIANGLE SHAPES */

.totem-login-modal-top {
    background: none;
    height: 0;
    width: 100%;
    position: relative;
}

.totem-login-modal-top::after {
    content: "";
    display: block;
    width: 100%;
    height: 9vh;
    background: #c33;
    -webkit-clip-path: polygon(0 0, 100% 0, 0 100%);
    clip-path: polygon(0 0, 100% -50vmin, 0px 100%);
}

.totem-login-modal-bottom {
    background: none;
    height: 0;
    width: 100%;
    position: relative;
}

.totem-login-modal-bottom::after {
    content: "";
    display: block;
    width: 100%;
    height: 19vmin;
    background: linear-gradient(90deg, #2196f3 60%, #034ea2);
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%);
    clip-path: polygon(122.09% -197px, 114.15% 120.73%, 558px 95.61%);
    position: absolute;
    transform: translateY(-15vmin);
}

.totem-login-modal-content-custom {
    display: flex;
    flex-direction: column;
    padding: 0;
    background: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.18);
    border-radius: 2vmin;
    overflow: hidden;
    max-width: 90vw;
    min-width: 320px;
}

.totem-login-modal-center {
    background: #fff;
    padding: 3vmin 5vmin;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.totem-login-modal-center h2 {
    margin-bottom: 2vmin;
    color: rgb(204, 51, 51);
    font-size: 4.5vmin;
    font-weight: bold;
}

.totem-login-modal-center p {
    font-size: 3.5vmin;
    margin-bottom: 1.5vmin;
    color: #333;
}

.totem-login-modal-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 3vmin;
    width: 100%;
}

.totem-login-btn-continuar,
.totem-login-btn-cerrar {
    padding: 1.5vmin 3vmin;
    font-size: 3.5vmin;
    border: none;
    border-radius: 1vmin;
    cursor: pointer;
    transition: background 0.3s;
}

.totem-login-btn-continuar {
    background: rgb(3, 78, 162);
    color: white;
}

.totem-login-btn-continuar:hover {
    background: rgb(2, 60, 140);
}

.totem-login-btn-cerrar {
    background: rgb(204, 51, 51);
    color: white;
}

.totem-login-btn-cerrar:hover {
    background: rgb(169, 30, 30);
}

.totem-login-element-fade {
    opacity: 0;
}

.totem-login-init-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4vmin;
    margin-top: 10vmin;
    animation: fadeInUp 0.7s;
}

.totem-login-btn-main {
    width: 70vmin;
    max-width: 98vw;
    height: 11vmin;
    font-size: 4.5vmin;
    border-radius: 2vmin;
    border: none;
    background: linear-gradient(90deg, rgb(204, 51, 51) 0%, rgb(3, 78, 162) 100%);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 3vmin;
    box-shadow: 0 2px 14px rgba(2, 60, 140, 0.18);
    transition: background 0.2s, transform 0.2s;
    letter-spacing: 0.5px;
}

.totem-login-btn-main:active,
.totem-login-btn-main:focus {
    background: linear-gradient(90deg, rgb(169, 30, 30) 0%, rgb(2, 60, 140) 100%);
    transform: scale(1.03);
}

.totem-login-register-form {
    gap: 2vmin;
    margin-top: 6vmin;
    animation: fadeInUp 0.7s;
}

.totem-login-register-form input,
.totem-login-register-form select {
    margin-bottom: 2vmin;
}

.totem-qwerty-keyboard {
    width: 100vw;
    max-width: 100vw;
    position: fixed;
    left: 0;
    bottom: 0;
    background: #f5f5f5;
    padding: 2vmin 0 2vmin 0;
    z-index: 2000;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5vmin;
    /* Animación sólo en clases específicas */
}

.totem-qwerty-keyboard-animate-in {
    animation: qwertyIn 0.45s cubic-bezier(.22, .9, .32, 1);
}

.totem-qwerty-keyboard-animate-out {
    animation: qwertyOut 0.4s cubic-bezier(.22, .9, .32, 1) forwards;
}

@keyframes qwertyOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes qwertyIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.totem-qwerty-close {
    position: absolute;
    top: -5.5vmin;
    right: 0vw;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    width: 7vmin;
    height: 7vmin;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    animation: rotateIn .5s cubic-bezier(.22, .9, .32, 1);
    background: red;
    border-radius: 7px;
}

.totem-qwerty-close-icon {
    display: block;
    width: 4.5vmin;
    height: 4.5vmin;
    position: relative;
}

.totem-qwerty-close-icon:before,
.totem-qwerty-close-icon:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 0.6vmin;
    background: rgb(255, 255, 255);
    border-radius: 2px;
    transition: background 0.2s;
}

.totem-qwerty-close-icon:before {
    transform: translate(-50%, -50%) rotate(45deg);
    animation: crossIn1 0.4s cubic-bezier(.22, .9, .32, 1);
}

.totem-qwerty-close-icon:after {
    transform: translate(-50%, -50%) rotate(-45deg);
    animation: crossIn2 0.4s cubic-bezier(.22, .9, .32, 1);
}

@keyframes rotateIn {
    from {
        transform: rotate(-90deg);
        opacity: 0;
    }
    to {
        transform: rotate(0);
        opacity: 1;
    }
}

@keyframes crossIn1 {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes crossIn2 {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.totem-qwerty-row {
    display: flex;
    justify-content: center;
    gap: 1.2vw;
    margin-bottom: 1.2vw;
}

.totem-qwerty-key {
    min-width: 7vw;
    min-height: 7vw;
    font-size: 4vmin;
    border-radius: 1.2vmin;
    border: none;
    background: rgb(3, 78, 162);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(2, 60, 140, 0.10);
    transition: background 0.2s;
    margin: 0 0.3vw;
    padding: 0 1vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.totem-qwerty-key.espacio {
    min-width: 18vw;
    font-size: 3.5vmin;
}

.totem-qwerty-key.borrar {
    background: #888;
    color: #fff;
    min-width: 10vw;
}

.totem-qwerty-key:active,
.totem-qwerty-key:focus {
    background: rgb(2, 60, 140);
}


/* Teclado numérico estilo keypad */

.totem-qwerty-numeric {
    padding: 3vmin 0 3vmin 0;
}

.totem-qwerty-numpad {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2vmin;
    width: 90vw;
    max-width: 600px;
    margin: 0 auto;
}

.totem-qwerty-numpad-btn {
    width: 100%;
    aspect-ratio: 1;
    font-size: 6vmin;
    border-radius: 2vmin;
    border: none;
    background: rgb(3, 78, 162);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(3, 78, 162, 0.3);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.totem-qwerty-numpad-btn:active {
    transform: scale(0.95);
    background: rgb(2, 60, 140);
}

.totem-qwerty-numpad-btn-borrar {
    background: #888;
    color: #fff;
    font-size: 4.5vmin;
}

.totem-qwerty-numpad-btn-borrar:active {
    background: #666;
}

.totem-qwerty-numpad-spacer {
    background: transparent;
    border: none;
}


/* Menu Principal del Totem */

.totem-menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    animation: fadeIn 0.5s ease-in-out;
}

.totem-menu-content {
    text-align: center;
    max-width: 90vw;
    padding: 0vmin;
    position: relative;
    z-index: 60;
}

.totem-menu-welcome {
    font-size: 6vmin;
    font-weight: 700;
    color: #034ea2;
    margin-bottom: 2vmin;
    animation: slideDown 0.6s ease-out;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, max-height 0.4s ease-out, margin-bottom 0.4s ease-out;
    opacity: 1;
    transform: translateY(0);
    max-height: 15vmin;
    overflow: hidden;
}

.totem-menu-welcome.totem-title-hide {
    opacity: 0;
    transform: translateY(-3vmin);
    max-height: 0;
    margin-bottom: 0;
}

.totem-menu-subtitle {
    font-size: 4.5vmin;
    color: #475569;
    margin-bottom: 6vmin;
    animation: slideDown 0.7s ease-out;
}

.totem-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4vmin;
    max-width: 120vmin;
    margin: 0 auto;
}

.totem-menu-item {
    background: white;
    border: none;
    border-radius: 3vmin;
    padding: 5vmin 3vmin;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1vmin 3vmin rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 30vmin;
    animation: scaleIn 0.5s ease-out;
    animation-fill-mode: backwards;
}

.totem-menu-item:nth-child(1) {
    animation-delay: 0.1s;
}

.totem-menu-item:nth-child(2) {
    animation-delay: 0.2s;
}

.totem-menu-item:nth-child(3) {
    animation-delay: 0.3s;
}

.totem-menu-item:nth-child(4) {
    animation-delay: 0.4s;
}

.totem-menu-item:hover {
    transform: translateY(-1vmin) scale(1.02);
    box-shadow: 0 2vmin 4vmin rgba(3, 78, 162, 0.2);
}

.totem-menu-item:active {
    transform: translateY(0.5vmin) scale(0.98);
}

.totem-menu-icon {
    font-size: 12vmin;
    margin-bottom: 3vmin;
    filter: drop-shadow(0 0.5vmin 1vmin rgba(0, 0, 0, 0.1));
}

.totem-menu-label {
    font-size: 4vmin;
    font-weight: 600;
    color: #1e293b;
}

.totem-menu-item-exit {
    background: linear-gradient(135deg, #f11b1b 0%, #a80e0e 100%);
}

.totem-menu-item-exit .totem-menu-label {
    color: white;
}

.totem-menu-item-exit:hover {
    box-shadow: 0 2vmin 4vmin rgba(220, 38, 38, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-3vmin);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* QUESTION BOX STYLES - More friendly approach */

.totem-menu-question-box {
    background: white;
    border-radius: 3vmin;
    padding: 6vmin;
    max-width: 100vmin;
    margin: 0 auto;
    box-shadow: 0 1vmin 3vmin rgba(0, 0, 0, 0.08);
    animation: scaleIn 0.6s ease-out;
}

.totem-menu-question-text {
    font-size: 5vmin;
    color: #334155;
    text-align: center;
    margin-bottom: 5vmin;
    font-weight: 500;
    line-height: 1.4;
}

.totem-menu-question-buttons {
    display: flex;
    gap: 4vmin;
    justify-content: center;
    margin-top: 4vmin;
}

.totem-menu-question-btn {
    padding: 3vmin 6vmin;
    font-size: 4vmin;
    font-weight: 600;
    border: none;
    border-radius: 2vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.5vmin 1.5vmin rgba(0, 0, 0, 0.1);
    min-width: 30vmin;
}

.totem-menu-question-btn-yes {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.totem-menu-question-btn-yes:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1vmin 2vmin rgba(59, 130, 246, 0.25);
}

.totem-menu-question-btn-no {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
}

.totem-menu-question-btn-no:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1vmin 2vmin rgba(100, 116, 139, 0.25);
}

.totem-menu-question-btn:active {
    transform: translateY(0.5vmin);
}


/* TURNO CARD STYLES - Datos del turno */

.totem-turno-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 2.5vmin;
    overflow: hidden;
    box-shadow: 0 1vmin 3vmin rgba(0, 0, 0, 0.12);
    margin-bottom: 5vmin;
    animation: slideDown 0.5s ease-out;
}

.totem-turno-card-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    padding: 4vmin;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vmin;
}

.totem-turno-card-header .totem-turno-card-label {
    font-size: 3vmin;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.totem-turno-card-header .totem-turno-card-value {
    font-size: 5.5vmin;
    color: white;
    font-weight: 700;
}

.totem-turno-card-body {
    padding: 5vmin;
    display: flex;
    flex-direction: column;
    gap: 3.5vmin;
}

.totem-turno-card-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4vmin;
    padding: 2.5vmin 0;
    border-bottom: 1px solid #e2e8f0;
}

.totem-turno-card-row:last-child {
    border-bottom: none;
}

.totem-turno-card-label {
    font-size: 3.5vmin;
    color: #64748b;
    font-weight: 500;
    min-width: 35%;
    flex-shrink: 0;
}

.totem-turno-card-value {
    font-size: 3.5vmin;
    color: #1e293b;
    font-weight: 600;
    text-align: right;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.totem-turno-card-badge {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 1vmin 3vmin;
    border-radius: 1vmin;
    font-size: 3vmin;
    font-weight: 600;
}


/* TURNO ACTION BUTTONS */

.totem-turno-actions {
    display: flex;
    gap: 4vmin;
    justify-content: center;
    margin-top: 3vmin;
}

.totem-turno-actions-center {
    margin-top: 6vmin;
}

.totem-turno-action-btn {
    padding: 3vmin 6vmin;
    font-size: 4vmin;
    font-weight: 600;
    border: none;
    border-radius: 2vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1vmin 2vmin rgba(0, 0, 0, 0.12);
    min-width: 35vmin;
}

.totem-turno-action-btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.totem-turno-action-btn-primary:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(34, 197, 94, 0.3);
}

.totem-turno-action-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.totem-turno-action-btn-danger:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(239, 68, 68, 0.3);
}

.totem-turno-action-btn-secondary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.totem-turno-action-btn-secondary:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(245, 158, 11, 0.3);
}

.totem-turno-action-btn:active {
    transform: translateY(0.5vmin);
}


/* TURNOS SECTION STYLES */

.totem-turnos-container {
    background: white;
    border-radius: 3vmin;
    padding: 0vmin;
    max-width: 140vmin;
    margin: 0 auto 4vmin auto;
    box-shadow: 0 1vmin 3vmin rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
    min-height: 40vmin;
}


/* COMPRESSED TURNO CARD - Always visible */

.totem-turno-card-wrapper {
    margin-bottom: 3vmin;
}

.totem-turno-card-compressed {
    background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
    border-radius: 2vmin;
    padding: 3vmin 4vmin;
    box-shadow: 0 0.5vmin 1.5vmin rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.totem-turno-card-compressed:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1vmin 2vmin rgba(0, 0, 0, 0.12);
}

.totem-turno-card-compressed.expanded {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #dbeafe 0%, #ffffff 100%);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.totem-turno-compressed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3vmin;
}

.totem-turno-compressed-date {
    font-size: 4.5vmin;
    color: #1e293b;
    font-weight: 700;
}

.totem-turno-compressed-time {
    font-size: 3.5vmin;
    color: #64748b;
    font-weight: 500;
}

.totem-turno-compressed-left {
    display: flex;
    flex-direction: column;
    gap: 0.5vmin;
}

.totem-turno-compressed-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1vmin;
}

.totem-turno-compressed-servicio {
    font-size: 3.5vmin;
    color: #475569;
    font-weight: 600;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.totem-turno-compressed-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: 1.5vmin;
    padding: 1.5vmin 3vmin;
    font-size: 3vmin;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.5vmin 1vmin rgba(239, 68, 68, 0.3);
    display: flex;
    align-items: center;
    gap: 1vmin;
}

.totem-turno-compressed-btn:hover {
    transform: translateY(-0.2vmin);
    box-shadow: 0 0.8vmin 1.5vmin rgba(239, 68, 68, 0.4);
}

.totem-turno-compressed-btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 0.5vmin 1vmin rgba(16, 185, 129, 0.3);
}

.totem-turno-compressed-btn-primary:hover {
    box-shadow: 0 0.8vmin 1.5vmin rgba(16, 185, 129, 0.4);
}

.totem-turno-compressed-btn i {
    font-size: 3vmin;
}

.totem-turno-compressed-arrow {
    font-size: 3vmin;
    color: #64748b;
    transition: transform 0.3s ease;
    display: inline-block;
}

.totem-turno-compressed-arrow.rotated {
    transform: rotate(180deg);
}


/* EXPANDED TURNO CARD - Only visible when selected */

.totem-turno-card-expanded {
    background: white;
    border: 2px solid #3b82f6;
    border-top: none;
    border-radius: 0 0 2vmin 2vmin;
    padding: 4vmin;
    animation: expandCard 0.3s ease-out;
}

@keyframes expandCard {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 100vmin;
        padding-top: 4vmin;
        padding-bottom: 4vmin;
    }
}


/* Animación suave específica para anular turno (menos campos, más rápida) */

.totem-turno-card-expanded-anular {
    animation: expandCardAnular 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes expandCardAnular {
    0% {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        transform: translateY(-2vmin);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        max-height: 80vmin;
        padding-top: 4vmin;
        padding-bottom: 4vmin;
        transform: translateY(0);
    }
}


/* SACAR TURNO SECTION STYLES */

.totem-sacar-turno-container {
    background: white;
    border-radius: 3vmin;
    padding: 5vmin;
    max-width: 120vmin;
    margin: 0 auto 4vmin auto;
    box-shadow: 0 1vmin 3vmin rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
    min-height: 40vmin;
}

.totem-sacar-turno-info {
    font-size: 4vmin;
    color: #334155;
    text-align: center;
    margin-bottom: 5vmin;
    font-weight: 500;
}


/* OPCIONES GRID - Botones con iconos */

.totem-opciones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4vmin;
    margin-top: 5vmin;
}

.totem-opcion-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vmin;
    padding: 5vmin 3vmin;
    font-size: 3.5vmin;
    font-weight: 600;
    border: none;
    border-radius: 2.5vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1vmin 2vmin rgba(0, 0, 0, 0.12);
    min-height: 25vmin;
}

.totem-opcion-icon {
    font-size: 8vmin;
}

.totem-opcion-btn-primary {
    background: linear-gradient(135deg, rgb(221, 40, 40), rgb(66, 4, 4));
    color: white;
}

.totem-opcion-btn-primary:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(34, 197, 94, 0.3);
}

.totem-opcion-btn-secondary {
    background: linear-gradient(135deg, #3b82f6, #020a1c);
    color: white;
}

.totem-opcion-btn-secondary:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(59, 130, 246, 0.3);
}

.totem-opcion-btn-info {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.totem-opcion-btn-info:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(139, 92, 246, 0.3);
}

.totem-opcion-btn-warning {
    background: linear-gradient(135deg, #f59e0b, #5e3200);
    color: white;
}

.totem-opcion-btn-warning:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(245, 158, 11, 0.3);
}

.totem-opcion-btn:active {
    transform: translateY(0.5vmin);
}


/* AGENDAR TURNO SECTION STYLES */

.totem-agendar-container {
    background: white;
    border-radius: 3vmin;
    padding: 5vmin;
    max-width: 140vmin;
    margin: 0 auto 4vmin auto;
    box-shadow: 0 1vmin 3vmin rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease-out;
    min-height: 50vmin;
}

.totem-agendar-info {
    font-size: 4vmin;
    color: #334155;
    text-align: center;
    margin-bottom: 5vmin;
    font-weight: 500;
}


/* Card contenedor de los indicadores de pasos */

.totem-steps-card {
    background: white;
    border-radius: 2vmin;
    padding: 2vmin;
    box-shadow: 0 0.5vmin 2vmin rgba(0, 0, 0, 0.08);
    margin-bottom: 1vmin;
}


/* Carousel Indicators */

.totem-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 3vmin;
}

.totem-carousel-indicators .indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1vmin;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.totem-carousel-indicators .indicator.active {
    opacity: 1;
}

.totem-carousel-indicators .indicator i {
    font-size: 5vmin;
    color: #3b82f6;
}

.totem-carousel-indicators .indicator span {
    font-size: 2.5vmin;
    font-weight: 600;
    color: #334155;
}


/* Carousel Wrapper */

.totem-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 3vmin;
    margin-bottom: 4vmin;
}

.totem-carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: 3vmin;
    background: white;
    box-shadow: 0 1vmin 3vmin rgba(0, 0, 0, 0.1);
}


/* Contenedor más compacto para steps 0-3 */

.totem-carousel-container-compact {
    max-height: 55vh;
    overflow-y: hidden;
}


/* Cuando aparece el botón de confirmar, reducir altura */

.totem-carousel-container-compact {
    max-height: 45vh !important;
}


/* Contenedor para la pantalla de turnos (step 3) */

.totem-carousel-container-turnos {
    max-height: 45vh !important;
}

.totem-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.totem-carousel-card {
    min-width: 100%;
    padding: 3vmin;
    box-sizing: border-box;
}


/* Card de Obra Social más grande */

.totem-carousel-card-obra-social {
    min-width: 100%;
    padding: 1vmin;
    box-sizing: border-box;
}


/* Cards más pequeñas para servicios, médicos, prestaciones y turnos */

.totem-carousel-card-small {
    min-width: 100%;
    padding: 2vmin 3vmin;
    box-sizing: border-box;
    max-height: 65vh;
    overflow-y: auto;
}

.totem-card-title {
    display: flex;
    align-items: center;
    gap: 2vmin;
    font-size: 4.5vmin;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4vmin;
}

.totem-card-title i {
    font-size: 5vmin;
    color: #3b82f6;
}


/* Carousel de Servicios */

.totem-servicios-carousel-container {
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 0 40vmin;
    margin: 0 0;
}

.totem-servicios-carousel-container::-webkit-scrollbar {
    height: 1vmin;
}

.totem-servicios-carousel-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 1vmin;
}

.totem-servicios-carousel-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 1vmin;
}

.totem-servicios-carousel-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.totem-servicios-carousel {
    display: flex;
    gap: 3vmin;
    padding: 0 2vmin;
}

.totem-servicio-card {
    position: relative;
    min-width: 25vmin;
    max-width: 25vmin;
    min-height: 27.5vmin;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5vmin;
    padding: 2.5vmin;
    border: 2px solid #e2e8f0;
    border-radius: 2vmin;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.5vmin 1.5vmin rgba(0, 0, 0, 0.08);
}

.totem-servicio-card:hover {
    transform: translateY(-1vmin);
    border-color: #3b82f6;
    box-shadow: 0 1.5vmin 3vmin rgba(59, 130, 246, 0.2);
}

.totem-servicio-card.selected {
    border-color: rgb(3, 78, 162);
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: 0 1.5vmin 3vmin rgba(3, 78, 162, 0.3);
}

.totem-servicio-card-icon {
    width: 10vmin;
    height: 10vmin;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    transition: all 0.3s ease;
}

.totem-servicio-card.selected .totem-servicio-card-icon {
    background: linear-gradient(135deg, rgb(3, 78, 162) 0%, rgb(2, 60, 140) 100%);
}

.totem-servicio-card-icon i {
    font-size: 5vmin;
    color: #3b82f6;
}

.totem-servicio-card.selected .totem-servicio-card-icon i {
    color: white;
}

.totem-servicio-card-title {
    font-size: 2.5vmin;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    line-height: 1.3;
    margin: 0;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: keep-all;
    overflow-wrap: normal;
    padding: 0 1vmin;
}

.totem-servicio-card.selected .totem-servicio-card-title {
    color: rgb(2, 60, 140);
}


/* Select Container para Servicios */

.totem-select-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 4vmin;
}

.totem-select-icon {
    position: absolute;
    left: 3vmin;
    font-size: 5vmin;
    color: #3b82f6;
    pointer-events: none;
    z-index: 1;
}

.totem-select {
    width: 100%;
    padding: 3.5vmin 3vmin 3.5vmin 10vmin;
    font-size: 4vmin;
    font-weight: 600;
    border: 2px solid #cbd5e1;
    border-radius: 2vmin;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0.5vmin 1.5vmin rgba(0, 0, 0, 0.08);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2vmin center;
    background-size: 4vmin;
}

.totem-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 1vmin 2vmin rgba(59, 130, 246, 0.2);
}

.totem-select option {
    font-size: 16px;
    padding: 10px 15px;
    font-weight: normal;
    background: white;
    color: #1e293b;
}

.totem-servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3vmin;
    margin-top: 4vmin;
}

.totem-servicio-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vmin;
    padding: 4vmin 3vmin;
    font-size: 3.5vmin;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    border-radius: 2vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 0.5vmin 1.5vmin rgba(0, 0, 0, 0.08);
}

.totem-servicio-btn:hover {
    transform: translateY(-0.5vmin);
    border-color: #3b82f6;
    box-shadow: 0 1vmin 2vmin rgba(59, 130, 246, 0.2);
}

.totem-servicio-icon {
    font-size: 7vmin;
    color: #3b82f6;
}

.totem-medicos-list {
    display: flex;
    flex-direction: column;
    gap: 2vmin;
    margin-top: 4vmin;
}

.totem-medico-item {
    display: flex;
    align-items: center;
    gap: 3vmin;
    padding: 3vmin 4vmin;
    font-size: 3.5vmin;
    border: 2px solid #e2e8f0;
    border-radius: 2vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 0.5vmin 1.5vmin rgba(0, 0, 0, 0.08);
}

.totem-medico-item:hover {
    transform: translateX(1vmin);
    border-color: #3b82f6;
    box-shadow: 0 1vmin 2vmin rgba(59, 130, 246, 0.2);
}

.totem-medico-item i:first-child {
    font-size: 5vmin;
    color: #3b82f6;
}

.totem-medico-info {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5vmin;
}

.totem-medico-info strong {
    font-size: 3.5vmin;
    color: #1e293b;
}

.totem-medico-info small {
    font-size: 2.8vmin;
    color: #64748b;
}

.totem-medico-item i:last-child {
    font-size: 3vmin;
    color: #94a3b8;
}

.totem-horarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5vmin;
    margin-top: 4vmin;
}

.totem-horario-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5vmin;
    padding: 3vmin 2vmin;
    font-size: 3vmin;
    border: 2px solid #e2e8f0;
    border-radius: 2vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 0.5vmin 1.5vmin rgba(0, 0, 0, 0.08);
}

.totem-horario-btn:hover {
    transform: translateY(-0.5vmin);
    border-color: #3b82f6;
    box-shadow: 0 1vmin 2vmin rgba(59, 130, 246, 0.2);
}

.totem-horario-btn.selected {
    border-color: #22c55e;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    box-shadow: 0 1vmin 2vmin rgba(34, 197, 94, 0.3);
}

.totem-horario-btn i {
    font-size: 5vmin;
    color: #3b82f6;
}

.totem-horario-btn.selected i {
    color: #22c55e;
}

.totem-horario-info {
    display: flex;
    flex-direction: column;
    gap: 0.5vmin;
    text-align: center;
}

.totem-horario-info strong {
    font-size: 3vmin;
    color: #1e293b;
}

.totem-horario-info span {
    font-size: 3.5vmin;
    font-weight: 600;
    color: #3b82f6;
}

.totem-horario-btn.selected .totem-horario-info span {
    color: #22c55e;
}

.totem-confirmar-turno {
    margin-top: 3vmin;
    text-align: center;
}

.totem-btn-confirmar {
    display: inline-flex;
    align-items: center;
    gap: 2vmin;
    padding: 3vmin 8vmin;
    font-size: 4.5vmin;
    font-weight: 700;
    border: none;
    border-radius: 2.5vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 1vmin 3vmin rgba(34, 197, 94, 0.3);
    opacity: 0;
    animation: fadeInConfirmarBtn 0.7s ease forwards;
}

@keyframes fadeInConfirmarBtn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.totem-btn-confirmar:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 4vmin rgba(34, 197, 94, 0.4);
}

.totem-btn-confirmar:active {
    transform: translateY(0.5vmin);
}

.totem-btn-confirmar i {
    font-size: 5vmin;
}


/* Prestaciones List */

.totem-prestaciones-list {
    display: flex;
    flex-direction: column;
    gap: 2vmin;
    margin-top: 4vmin;
}

.totem-prestacion-item {
    display: flex;
    align-items: center;
    gap: 3vmin;
    padding: 3vmin 4vmin;
    font-size: 3.5vmin;
    border: 2px solid #e2e8f0;
    border-radius: 2vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 0.5vmin 1.5vmin rgba(0, 0, 0, 0.08);
}

.totem-prestacion-item:hover {
    transform: translateX(1vmin);
    border-color: #3b82f6;
    box-shadow: 0 1vmin 2vmin rgba(59, 130, 246, 0.2);
}

.totem-prestacion-item i:first-child {
    font-size: 5vmin;
    color: #3b82f6;
}

.totem-prestacion-info {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5vmin;
}

.totem-prestacion-info strong {
    font-size: 3.5vmin;
    color: #1e293b;
}

.totem-prestacion-info small {
    font-size: 2.8vmin;
    color: #64748b;
}

.totem-prestacion-item i:last-child {
    font-size: 3vmin;
    color: #94a3b8;
}


/* Fecha Selector */

.totem-fecha-selector {
    display: flex;
    flex-direction: column;
    gap: 3vmin;
    margin-top: 4vmin;
    padding: 4vmin;
    background: #f8fafc;
    border-radius: 2vmin;
}

.totem-fecha-selector label {
    display: flex;
    align-items: center;
    gap: 2vmin;
    font-size: 3.5vmin;
    font-weight: 600;
    color: #334155;
}

.totem-fecha-selector label i {
    font-size: 4vmin;
    color: #3b82f6;
}

.totem-date-input {
    padding: 2.5vmin;
    font-size: 3.5vmin;
    border: 2px solid #cbd5e1;
    border-radius: 1.5vmin;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.totem-date-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.totem-btn-buscar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vmin;
    padding: 3vmin 6vmin;
    font-size: 4vmin;
    font-weight: 600;
    border: none;
    border-radius: 2vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 1vmin 2vmin rgba(59, 130, 246, 0.3);
}

.totem-btn-buscar:hover:not(:disabled) {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(59, 130, 246, 0.4);
}

.totem-btn-buscar:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.totem-btn-buscar i {
    font-size: 4.5vmin;
}


/* Telefono Input */

.totem-telefono-input {
    display: flex;
    flex-direction: column;
    gap: 2vmin;
    margin-bottom: 3vmin;
}

.totem-telefono-input label {
    display: flex;
    align-items: center;
    gap: 2vmin;
    font-size: 3.5vmin;
    font-weight: 600;
    color: #334155;
}

.totem-telefono-input label i {
    font-size: 4vmin;
    color: #3b82f6;
}

.totem-input-tel {
    padding: 2.5vmin;
    font-size: 3.5vmin;
    border: 2px solid #cbd5e1;
    border-radius: 1.5vmin;
    background: white;
    transition: border-color 0.3s ease;
}

.totem-input-tel:focus {
    outline: none;
    border-color: #3b82f6;
}

.totem-btn-confirmar:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* OBRA SOCIAL CONFIRMATION CARD */

.totem-obra-social-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0vmin;
    gap: 5vmin;
}

.totem-obra-social-info {
    background: white;
    border-radius: 3vmin;
    padding: 5vmin;
    box-shadow: 0 1vmin 3vmin rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 80vmin;
    display: flex;
    align-items: center;
    gap: 4vmin;
    animation: slideInFromTop 0.5s ease-out;
}

.totem-obra-social-icon {
    background: linear-gradient(135deg, rgb(3, 78, 162) 0%, rgb(5, 100, 200) 100%);
    width: 15vmin;
    height: 15vmin;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.totem-obra-social-icon i {
    font-size: 7vmin;
    color: white;
}

.totem-obra-social-datos {
    flex: 1;
    text-align: left;
}

.totem-obra-social-label {
    font-size: 2.5vmin;
    color: #64748b;
    margin: 1.5vmin 0 0.5vmin 0;
    font-weight: 500;
}

.totem-obra-social-nombre,
.totem-obra-social-dni,
.totem-obra-social-mutual {
    font-size: 4vmin;
    color: #1e293b;
    margin: 0 0 1vmin 0;
    font-weight: 700;
}

.totem-btn-confirmar-os {
    background: linear-gradient(135deg, rgb(3, 78, 162) 0%, rgb(5, 100, 200) 100%);
    color: white;
    border: none;
    border-radius: 2.5vmin;
    padding: 3vmin 6vmin;
    font-size: 4vmin;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2vmin;
    box-shadow: 0 1vmin 2vmin rgba(3, 78, 162, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.totem-btn-confirmar-os:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(3, 78, 162, 0.4);
}

.totem-btn-confirmar-os:active {
    transform: translateY(0);
}

.totem-btn-confirmar-os i {
    font-size: 4.5vmin;
}

.totem-btn-confirmar-os:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    animation: none;
}


/* SELECTOR DE MUTUALES */

.totem-mutuales-title {
    font-size: 3.5vmin;
    color: #1e293b;
    margin: 2vmin 0;
    font-weight: 600;
    text-align: center;
}

.totem-mutuales-carousel-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vmin;
}

.totem-mutuales-carousel {
    display: flex;
    gap: 3vmin;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3vmin 2vmin;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    max-width: 90vmin;
}

.totem-mutuales-carousel::-webkit-scrollbar {
    display: none;
}

.totem-mutual-card {
    min-width: 35vmin;
    background: white;
    border-radius: 2.5vmin;
    padding: 4vmin 3vmin;
    box-shadow: 0 0.5vmin 2vmin rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vmin;
    border: 0.4vmin solid transparent;
}

.totem-mutual-card:hover {
    transform: translateY(-1vmin);
    box-shadow: 0 1vmin 3vmin rgba(0, 0, 0, 0.15);
}

.totem-mutual-card.selected {
    border-color: rgb(3, 78, 162);
    background: linear-gradient(135deg, rgba(3, 78, 162, 0.05) 0%, rgba(5, 100, 200, 0.1) 100%);
    box-shadow: 0 1vmin 3vmin rgba(3, 78, 162, 0.3);
}

.totem-mutual-card-icon {
    width: 12vmin;
    height: 12vmin;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(3, 78, 162) 0%, rgb(5, 100, 200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.totem-mutual-card.selected .totem-mutual-card-icon {
    animation: scaleUp 0.3s ease;
}

.totem-mutual-card-icon i {
    font-size: 6vmin;
    color: white;
}

.totem-mutual-card-title {
    font-size: 3.5vmin;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin: 0;
}

.totem-mutual-card-afiliado {
    font-size: 2.8vmin;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.totem-sin-mutuales {
    text-align: center;
    padding: 5vmin;
    color: #64748b;
}

@keyframes scaleUp {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-5vmin);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 1vmin 2vmin rgba(3, 78, 162, 0.3);
    }
    50% {
        box-shadow: 0 1vmin 3vmin rgba(3, 78, 162, 0.5);
    }
}


/* BACK BUTTONS SECTION */

.totem-menu-back-buttons {
    display: flex;
    gap: 4vmin;
    justify-content: center;
    margin-top: 4vmin;
}

.totem-menu-item-exit-btn {
    padding: 2vmin 5vmin;
    font-size: 4vmin;
    font-weight: 600;
    border: none;
    border-radius: 2vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1vmin 2vmin rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.totem-menu-item-exit-btn:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(220, 38, 38, 0.3);
}

.totem-menu-item-exit-btn:active {
    transform: translateY(0.5vmin);
}

.totem-login-btn-volver {
    transition: all 0.3s ease;
}

.totem-login-btn-volver:hover {
    transform: translateY(-0.5vmin);
}

.totem-login-btn-volver:active {
    transform: translateY(0.5vmin);
}

.totem-login-btn-menu {
    margin-top: 0vmin;
    width: 100%;
    height: 10vmin;
    font-size: 4vmin;
    font-weight: bold;
    border: none;
    border-radius: 1.2vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #034ea2;
    color: white;
    box-shadow: 0 1vmin 2vmin rgba(3, 78, 162, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.totem-login-btn-menu:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(3, 78, 162, 0.4);
    background: #023d7f;
}

.totem-login-btn-menu:active {
    transform: translateY(0.5vmin);
}


/* ERROR MODAL STYLES */

.totem-error-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(0.5vmin);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    animation: fadeIn 0.3s ease-out;
}

.totem-error-modal-content {
    background: white;
    border-radius: 3vmin;
    padding: 6vmin;
    max-width: 90vmin;
    min-width: 60vmin;
    text-align: center;
    box-shadow: 0 2vmin 5vmin rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.totem-error-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5vmin;
    background: linear-gradient(90deg, #ef4444, #dc2626, #b91c1c);
}

.totem-error-modal-icon {
    width: 15vmin;
    height: 15vmin;
    margin: 0 auto 3vmin;
    color: #ef4444;
    animation: shake 0.5s ease-in-out;
}

.totem-error-modal-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0.5vmin 1vmin rgba(239, 68, 68, 0.3));
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-1vmin);
    }
    20%,
    40%,
    60%,
    80% {
        transform: translateX(1vmin);
    }
}

.totem-error-modal-title {
    font-size: 5.5vmin;
    color: #1e293b;
    margin-bottom: 2vmin;
    font-weight: 700;
}

.totem-error-modal-message {
    font-size: 3.8vmin;
    color: #64748b;
    margin-bottom: 5vmin;
    line-height: 1.5;
}

.totem-error-modal-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 2.5vmin 8vmin;
    font-size: 4vmin;
    font-weight: 600;
    border-radius: 2vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1vmin 2vmin rgba(239, 68, 68, 0.3);
}

.totem-error-modal-btn:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(239, 68, 68, 0.4);
}

.totem-error-modal-btn:active {
    transform: translateY(0.5vmin);
}


/* SUCCESS MODAL STYLES */

.totem-success-modal .totem-error-modal-content::before {
    background: linear-gradient(90deg, #10b981, #059669, #047857);
}

.totem-success-modal .totem-error-modal-icon {
    color: #10b981;
    animation: successPulse 0.6s ease-in-out;
}

.totem-success-modal .totem-error-modal-icon svg {
    filter: drop-shadow(0 0.5vmin 1vmin rgba(16, 185, 129, 0.3));
}

@keyframes successPulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.totem-success-modal .totem-error-modal-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 1vmin 2vmin rgba(16, 185, 129, 0.3);
}

.totem-success-modal .totem-error-modal-btn:hover {
    box-shadow: 0 1.5vmin 3vmin rgba(16, 185, 129, 0.4);
}


/* CONFIRM MODAL STYLES (para anular turno) */


/* CONFIRM EXIT MODAL STYLES */

.totem-confirm-exit-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    /* elevar por encima de modales de verificación y error */
    z-index: 10003;
    animation: modalFadeIn 0.3s ease-out;
}

.totem-confirm-exit-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 3vmin;
    padding: 5vmin;
    max-width: 60vmin;
    width: 90%;
    box-shadow: 0 3vmin 6vmin rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.totem-confirm-exit-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5vmin;
    background: linear-gradient(90deg, #f59e0b, #d97706, #b45309);
}

.totem-confirm-exit-icon {
    font-size: 12vmin;
    color: #f59e0b;
    margin-bottom: 3vmin;
    animation: warningPulse 0.6s ease-in-out;
}

.totem-confirm-exit-icon svg {
    width: 12vmin;
    height: 12vmin;
    filter: drop-shadow(0 0.5vmin 1vmin rgba(245, 158, 11, 0.3));
}

@keyframes warningPulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.totem-confirm-exit-title {
    font-size: 3.5vmin;
    color: #1f2937;
    margin-bottom: 2vmin;
    font-weight: 700;
}

.totem-confirm-exit-text {
    font-size: 2.5vmin;
    color: #6b7280;
    margin-bottom: 4vmin;
}

.totem-confirm-exit-buttons {
    display: flex;
    gap: 2vmin;
    justify-content: center;
}

.totem-confirm-exit-btn {
    flex: 1;
    max-width: 21vmin;
    padding: 2vmin 4vmin;
    font-size: 2.5vmin;
    font-weight: 600;
    border: none;
    border-radius: 1.5vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.totem-exit-no {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 1vmin 2vmin rgba(16, 185, 129, 0.3);
}

.totem-exit-no:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(16, 185, 129, 0.4);
}

.totem-exit-yes {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 1vmin 2vmin rgba(239, 68, 68, 0.3);
}

.totem-exit-yes:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(239, 68, 68, 0.4);
}

.totem-exit-yes:active,
.totem-exit-no:active {
    transform: translateY(0);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(5vmin);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* INFO MODAL STYLES */

.totem-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10004;
    animation: modalFadeIn 0.3s ease-out;
}

.totem-info-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 3vmin;
    padding: 5vmin;
    max-width: 70vmin;
    width: 90%;
    box-shadow: 0 3vmin 6vmin rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.totem-info-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5vmin;
    background: linear-gradient(90deg, #3b82f6, #2563eb, #1d4ed8);
}

.totem-info-icon {
    font-size: 12vmin;
    color: #3b82f6;
    margin-bottom: 0vmin;
    animation: warningPulse 0.6s ease-in-out;
}

.totem-info-title {
    font-size: 4vmin;
    color: #1f2937;
    margin-bottom: 2vmin;
    font-weight: 700;
}

.totem-info-text {
    font-size: 3vmin;
    color: #374151;
    margin-bottom: 3vmin;
    line-height: 1.5;
}

.totem-info-countdown {
    font-size: 2.5vmin;
    color: #6b7280;
    font-weight: 600;
}


/* SUCCESS MODAL STYLES */

.totem-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10005;
    animation: modalFadeIn 0.3s ease-out;
}

.totem-success-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 3vmin;
    padding: 5vmin;
    max-width: 70vmin;
    width: 90%;
    box-shadow: 0 3vmin 6vmin rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.totem-success-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5vmin;
    background: linear-gradient(90deg, #10b981, #059669, #047857);
}

.totem-success-icon {
    font-size: 12vmin;
    color: #10b981;
    margin-bottom: 3vmin;
    animation: successPulse 0.6s ease-in-out;
}

.totem-success-title {
    font-size: 4vmin;
    color: #065f46;
    margin-bottom: 2vmin;
    font-weight: 700;
}

.totem-success-details {
    margin-bottom: 3vmin;
}

.totem-success-text {
    font-size: 3vmin;
    color: #374151;
    margin: 0.5vmin 0;
    line-height: 1.5;
    font-weight: 500;
}

.totem-success-countdown {
    font-size: 2.5vmin;
    color: #059669;
    font-weight: 600;
    margin-top: 2vmin;
}

@keyframes successPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.totem-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(1vmin);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.totem-confirm-modal-content {
    background: white;
    border-radius: 3vmin;
    padding: 6vmin;
    max-width: 90vmin;
    width: 90%;
    box-shadow: 0 2vmin 5vmin rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.totem-confirm-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1vmin;
    background: linear-gradient(90deg, #f59e0b, #d97706, #b45309);
}

.totem-confirm-modal-icon {
    text-align: center;
    margin-bottom: 4vmin;
}

.totem-confirm-modal-icon i {
    font-size: 12vmin;
    color: #f59e0b;
    animation: warningPulse 0.6s ease-in-out;
}

@keyframes warningPulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.totem-confirm-modal-title {
    font-size: 5vmin;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 4vmin;
}

.totem-confirm-modal-details {
    background: #f8fafc;
    border-radius: 2vmin;
    padding: 4vmin;
    margin-bottom: 3vmin;
}

.totem-confirm-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2vmin 0;
    border-bottom: 1px solid #e2e8f0;
}

.totem-confirm-detail-row:last-child {
    border-bottom: none;
}

.totem-confirm-label {
    font-size: 3.5vmin;
    font-weight: 600;
    color: #64748b;
}

.totem-confirm-value {
    font-size: 3.5vmin;
    font-weight: 700;
    color: #1e293b;
    text-align: right;
}

.totem-confirm-warning {
    text-align: center;
    font-size: 3.2vmin;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 4vmin;
    padding: 2vmin;
    background: #fef2f2;
    border-radius: 1.5vmin;
}

.totem-confirm-modal-buttons {
    display: flex;
    gap: 3vmin;
    justify-content: space-between;
}

.totem-confirm-btn {
    flex: 1;
    padding: 3vmin 6vmin;
    font-size: 4vmin;
    font-weight: 600;
    border: none;
    border-radius: 2vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vmin;
}

.totem-confirm-btn i {
    font-size: 4vmin;
}

.totem-confirm-btn-cancel {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    box-shadow: 0 1vmin 2vmin rgba(100, 116, 139, 0.3);
}

.totem-confirm-btn-cancel:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(100, 116, 139, 0.4);
}

.totem-confirm-btn-confirm {
    background: linear-gradient(135deg, #218321 0%, #22a153 100%);
    color: white;
    box-shadow: 0 1vmin 2vmin rgba(68, 239, 111, 0.3);
}

.totem-confirm-btn-confirm:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(68, 239, 77, 0.4);
}

.totem-confirm-btn:active {
    transform: translateY(0.5vmin);
}


/* VERIFICATION MODAL STYLES */

.totem-verificacion-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(1vmin);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease-out;
}

.totem-verificacion-modal-content {
    background: white;
    border-radius: 3vmin;
    padding: 6vmin;
    max-width: 95vmin;
    width: 90%;
    box-shadow: 0 2vmin 5vmin rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.totem-verificacion-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1vmin;
    background: linear-gradient(90deg, #3b82f6, #2563eb, #1d4ed8);
}

.totem-verificacion-modal-icon {
    text-align: center;
    margin-bottom: 4vmin;
}

.totem-verificacion-modal-icon i {
    font-size: 14vmin;
    color: #3b82f6;
    animation: warningPulse 0.6s ease-in-out;
}

.totem-verificacion-modal-title {
    font-size: 5.5vmin;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 3vmin;
}

.totem-verificacion-modal-text {
    font-size: 3.8vmin;
    color: #64748b;
    text-align: center;
    margin-bottom: 5vmin;
    line-height: 1.5;
}

.totem-verificacion-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 3vmin;
    margin-bottom: 3vmin;
}

.totem-verificacion-btn {
    padding: 3.5vmin 6vmin;
    font-size: 4vmin;
    font-weight: 600;
    border: none;
    border-radius: 2vmin;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vmin;
    width: 100%;
}

.totem-verificacion-btn i {
    font-size: 5vmin;
}

.totem-verificacion-btn-email {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 1vmin 2vmin rgba(59, 130, 246, 0.3);
}

.totem-verificacion-btn-email:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(59, 130, 246, 0.4);
}

.totem-verificacion-btn-sms {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 1vmin 2vmin rgba(16, 185, 129, 0.3);
}

.totem-verificacion-btn-sms:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(16, 185, 129, 0.4);
}

.totem-verificacion-btn-verify {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 1vmin 2vmin rgba(34, 197, 94, 0.3);
}

.totem-verificacion-btn-verify:hover {
    transform: translateY(-0.5vmin);
    box-shadow: 0 1.5vmin 3vmin rgba(34, 197, 94, 0.4);
}

.totem-verificacion-btn:active {
    transform: translateY(0.5vmin);
}

.totem-verificacion-btn-cancelar {
    background: transparent;
    color: #64748b;
    border: none;
    padding: 2vmin;
    font-size: 3.5vmin;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.totem-verificacion-btn-cancelar:hover {
    color: #1e293b;
}

.totem-verificacion-input-container {
    margin-bottom: 5vmin;
}

.totem-verificacion-input {
    width: 100%;
    padding: 4vmin;
    font-size: 6vmin;
    font-weight: 700;
    text-align: center;
    border: 0.5vmin solid #e2e8f0;
    border-radius: 2vmin;
    background: #f8fafc;
    letter-spacing: 1vmin;
    cursor: pointer;
    transition: all 0.3s ease;
}

.totem-verificacion-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 0.5vmin rgba(59, 130, 246, 0.1);
}


/* LOADING MODAL STYLES */

.totem-loading-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(0.5vmin);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    animation: fadeIn 0.3s ease-out;
}

.totem-loading-content {
    background: white;
    border-radius: 3vmin;
    padding: 8vmin 10vmin;
    text-align: center;
    box-shadow: 0 2vmin 5vmin rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.4s ease-out;
    min-width: 60vmin;
}

.totem-loading-spinner {
    display: flex;
    justify-content: center;
    gap: 2vmin;
    margin-bottom: 4vmin;
}

.totem-spinner-circle {
    width: 3vmin;
    height: 3vmin;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.totem-spinner-circle:nth-child(1) {
    animation-delay: -0.32s;
}

.totem-spinner-circle:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.totem-loading-title {
    font-size: 5vmin;
    color: #1e293b;
    margin-bottom: 2vmin;
    font-weight: 700;
}

.totem-loading-text {
    font-size: 3.5vmin;
    color: #64748b;
    font-weight: 500;
}


/* === ESTILOS PARA FORMULARIO DE REPORTE DE ERROR === */

.totem-reporte-title {
    font-size: 4.5vmin;
    font-weight: 800;
    color: #1e293b;
    text-align: center;
    margin-top: 8vmin;
    margin-bottom: 2vmin;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgb(204, 51, 51) 0%, rgb(3, 78, 162) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.totem-reporte-error-container {
    width: 100%;
    max-width: 90vmin;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.totem-reporte-form {
    display: flex;
    flex-direction: column;
    gap: 0vmin;
    width: 100%;
    padding: 3vmin 4vmin;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 2.5vmin;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.8);
    animation: slideInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
    max-height: 75vh;
}

.totem-reporte-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1vmin;
    background: linear-gradient(90deg, rgb(204, 51, 51), rgb(3, 78, 162), rgb(204, 51, 51));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%,
    100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 0%;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(3vmin);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.totem-reporte-field {
    display: flex;
    flex-direction: column;
    gap: 1vmin;
    position: relative;
}

.totem-reporte-label {
    font-size: 3.5vmin;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 1.5vmin;
    margin-bottom: 0.5vmin;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.totem-reporte-label i {
    font-size: 4vmin;
    color: rgb(204, 51, 51);
    width: 5vmin;
    height: 5vmin;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(204, 51, 51, 0.1), rgba(3, 78, 162, 0.1));
    border-radius: 1.2vmin;
}

.totem-reporte-input,
.totem-reporte-textarea {
    width: 100%;
    padding: 2.5vmin 3vmin;
    font-size: 3.8vmin;
    border: 2px solid #cbd5e1;
    border-radius: 1.5vmin;
    background: #ffffff;
    color: #1e293b;
    font-weight: 600;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.totem-reporte-input:focus,
.totem-reporte-textarea:focus,
.totem-reporte-input:active,
.totem-reporte-textarea:active {
    border-color: rgb(204, 51, 51);
    box-shadow: 0 0 0 4px rgba(204, 51, 51, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5vmin);
    background: #fff;
}

.totem-reporte-input::placeholder,
.totem-reporte-textarea::placeholder {
    color: #94a3b8;
    font-weight: 500;
    font-style: italic;
}

.totem-reporte-textarea {
    resize: vertical;
    min-height: 12vmin;
    font-family: inherit;
    line-height: 1.4;
}

.totem-reporte-input[readonly],
.totem-reporte-textarea[readonly] {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    color: #475569;
    cursor: pointer;
    border-color: #94a3b8;
}

.totem-reporte-input[readonly]:hover,
.totem-reporte-textarea[readonly]:hover {
    border-color: rgb(3, 78, 162);
    box-shadow: 0 4px 12px rgba(3, 78, 162, 0.15);
    transform: translateY(-0.5vmin);
}

.totem-reporte-btn {
    width: 100%;
    padding: 3vmin 4vmin;
    font-size: 4.2vmin;
    font-weight: 800;
    border: none;
    border-radius: 2vmin;
    background: linear-gradient(135deg, rgb(204, 51, 51) 0%, rgb(3, 78, 162) 100%);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(204, 51, 51, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 1.5vmin;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5vmin;
}

.totem-reporte-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.totem-reporte-btn:hover::before {
    left: 100%;
}

.totem-reporte-btn:hover {
    transform: translateY(-1.5vmin) scale(1.02);
    box-shadow: 0 8px 28px rgba(204, 51, 51, 0.5);
}

.totem-reporte-btn:active {
    transform: translateY(-0.5vmin) scale(0.98);
    box-shadow: 0 4px 16px rgba(204, 51, 51, 0.4);
}

.totem-reporte-btn:disabled {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.6;
}

.totem-reporte-btn:disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.totem-reporte-icon {
    font-size: 4.5vmin;
}

.totem-reporte-spinner {
    font-size: 4.5vmin;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Mensajes de error y éxito */

.totem-reporte-message {
    padding: 2.5vmin;
    border-radius: 1.5vmin;
    font-size: 3.5vmin;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2vmin;
    margin-top: 1.5vmin;
}

.totem-reporte-message-icon {
    font-size: 4.5vmin;
}

.totem-reporte-error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border: 2px solid #f87171;
}

.totem-reporte-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border: 2px solid #34d399;
}

.totem-reporte-field:nth-child(1) .totem-reporte-label::after {
    content: '\f2c2';
    /* fa-id-card */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 4.5vmin;
}

.totem-reporte-field:nth-child(2) .totem-reporte-label::after {
    content: '\f095';
    /* fa-phone */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 4.5vmin;
}

.totem-reporte-field:nth-child(3) .totem-reporte-label::after {
    content: '\f044';
    /* fa-edit */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 4.5vmin;
}

.totem-reporte-field:nth-child(4) .totem-reporte-label::after {
    content: '\f075';
    /* fa-comment */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 4.5vmin;
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .totem-reporte-form {
        max-width: 95vmin;
        padding: 3vmin;
        gap: 2.5vmin;
    }
    .totem-reporte-input,
    .totem-reporte-textarea {
        padding: 2vmin 2.5vmin;
        font-size: 4vmin;
    }
    .totem-reporte-label {
        font-size: 3.8vmin;
    }
}

.totem-reporte-header {
    text-align: center;
    margin-bottom: 2vmin;
    padding-bottom: 2vmin;
    border-bottom: 2px solid #e2e8f0;
}

.totem-reporte-title {
    font-size: 5.5vmin;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1vmin 0;
    background: linear-gradient(135deg, rgb(204, 51, 51), rgb(3, 78, 162));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.totem-reporte-subtitle {
    font-size: 3.5vmin;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.totem-reporte-message {
    display: flex;
    align-items: center;
    gap: 1.5vmin;
    padding: 2.5vmin 3vmin;
    border-radius: 1.5vmin;
    font-size: 4vmin;
    font-weight: 500;
    margin-top: 2vmin;
    animation: slideInUp 0.4s ease-out;
}

.totem-reporte-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.totem-reporte-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

.totem-reporte-message-icon {
    font-size: 5vmin;
    flex-shrink: 0;
}

.totem-reporte-spinner {
    animation: spin 1s linear infinite;
    font-size: 4.5vmin;
    margin-right: 1vmin;
}

.totem-reporte-icon {
    font-size: 4.5vmin;
    margin-right: 1vmin;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Estilos mejorados para el modal de códigos de consulta */

.totem-codigo-modal {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    box-shadow: 0 4vmin 8vmin rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(245, 158, 11, 0.1);
}

.totem-codigo-modal .totem-confirm-modal-icon i {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.totem-codigo-modal .totem-confirm-modal-title {
    background: linear-gradient(135deg, #1e293b, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 7vmin;
    margin-bottom: 3vmin;
    text-align: center;
}

.totem-confirm-modal-text {
    font-size: 4vmin;
    color: #64748b;
    text-align: center;
    margin-bottom: 4vmin;
    line-height: 1.4;
}

.totem-codigo-label {
    font-size: 4vmin;
    color: #1e293b;
    text-align: center;
    margin-bottom: 2vmin;
    font-weight: 600;
}

.totem-codigo-inputs-container {
    margin: 5vmin 0;
    padding: 4vmin;
    background: #f8fafc;
    border-radius: 3vmin;
    border: 1px solid #e2e8f0;
}

.totem-codigo-inputs-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vmin;
    flex-wrap: wrap;
}

.totem-codigo-input-compact {
    width: 30vmin;
    padding: 3vmin 2vmin;
    font-size: 4vmin;
    font-weight: 600;
    text-align: center;
    border: 2px solid #cbd5e1;
    border-radius: 2vmin;
    background: white;
    color: #1e293b;
    transition: all 0.3s ease;
    box-shadow: 0 1vmin 2vmin rgba(0, 0, 0, 0.05);
}

.totem-codigo-input-compact:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1), 0 1vmin 2vmin rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5vmin);
}

.totem-codigo-separator {
    font-size: 5vmin;
    font-weight: 700;
    color: #64748b;
    margin: 0 0.5vmin;
}


/* Responsive para celular */

@media (max-width: 768px) {
    .totem-codigo-input-compact {
        width: 35vmin;
        font-size: 5vmin;
    }
    .totem-codigo-separator {
        font-size: 7vmin;
    }
    .totem-codigo-inputs-row {
        gap: 2vmin;
    }
    .totem-codigo-modal .totem-confirm-modal-title {
        font-size: 8vmin;
    }
    .totem-confirm-modal-text {
        font-size: 4.5vmin;
    }
    .totem-codigo-modal .totem-confirm-btn {
        padding: 3vmin 6vmin;
        font-size: 4vmin;
    }
    .totem-help-link {
        font-size: 4vmin;
    }
}

.totem-codigo-modal .totem-confirm-modal-buttons {
    margin-top: 5vmin;
}

.totem-codigo-modal .totem-confirm-btn {
    padding: 2.5vmin 5vmin;
    font-size: 3.5vmin;
    border-radius: 3vmin;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2vmin 4vmin rgba(0, 0, 0, 0.1);
}

.totem-codigo-modal .totem-confirm-btn:hover {
    transform: translateY(-1vmin);
    box-shadow: 0 3vmin 6vmin rgba(0, 0, 0, 0.15);
}

.totem-codigo-modal .totem-confirm-btn-cancel {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #64748b;
    border: 2px solid #cbd5e1;
}

.totem-codigo-modal .totem-confirm-btn-cancel:hover {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #475569;
}

.totem-codigo-modal .totem-confirm-btn-confirm {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: 2px solid #d97706;
}

.totem-codigo-modal .totem-confirm-btn-confirm:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    border-color: #b45309;
}

.totem-codigo-help-link {
    text-align: center;
    margin-top: 3vmin;
}

.totem-help-link {
    color: #f59e0b;
    text-decoration: none;
    font-size: 3.5vmin;
    font-weight: 600;
    transition: color 0.3s ease;
}

.totem-help-link:hover {
    color: #d97706;
    text-decoration: underline;
}

.totem-help-content {
    text-align: center;
    margin-bottom: 4vmin;
}

.totem-help-text {
    font-size: 4vmin;
    color: #64748b;
    margin-bottom: 4vmin;
    line-height: 1.4;
}

.totem-help-text strong {
    color: #1e293b;
    font-weight: 700;
}

.totem-help-images {
    display: flex;
    justify-content: center;
    gap: 4vmin;
    flex-wrap: wrap;
    margin-bottom: 4vmin;
}

.totem-help-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 30vmin;
}

.largo-totem {
    max-width: 55vmin !important;
    width: 60vmin !important;
}

.totem-help-image {
    width: 100%;
    max-width: 25vmin;
    height: auto;
    border-radius: 2vmin;
    box-shadow: 0 2vmin 4vmin rgba(0, 0, 0, 0.1);
    margin-bottom: 2vmin;
}

.totem-help-image-caption {
    font-size: 3.5vmin;
    font-weight: 600;
    color: #475569;
    text-align: center;
}


/* Flecha indicadora de scroll para ecografía */

.totem-scroll-indicator {
    position: absolute;
    bottom: 1vmin;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
    animation: totemBounceArrow 1.5s ease-in-out infinite;
    background-color: #3b82f6;
    width: 10vmin;
    height: 10vmin;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.6);
}

.totem-scroll-indicator i {
    font-size: 5vmin;
    color: white;
    animation: totemPulseArrow 1.5s ease-in-out infinite;
}

@keyframes totemBounceArrow {
    0%,
    100% {
        bottom: 1vmin;
    }
    50% {
        bottom: 3vmin;
    }
}

@keyframes totemPulseArrow {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}


/* Responsive para celular */

@media (max-width: 768px) {
    .totem-help-images {
        flex-direction: column;
        gap: 3vmin;
    }
    .totem-help-image-container {
        max-width: 35vmin;
    }
    .totem-help-image {
        max-width: 30vmin;
    }
    .totem-help-text {
        font-size: 4.5vmin;
    }
    .totem-help-image-caption {
        font-size: 4vmin;
    }
    .totem-scroll-indicator {
        width: 12vmin;
        height: 12vmin;
    }
    .totem-scroll-indicator i {
        font-size: 6vmin;
    }
}