/* === ESTILOSGENERALES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #000;
    min-height: 100vh;
}

.contenedor-pantalla {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 2rem 1.8rem;
}

/* === LOGO === */
.logo-contenedor {
    margin: 1rem 0 3rem;
}

.logo-imagen {
    /* 📌 Ajustá el tamaño acá a tu gusto */
    max-width: 230px;
    height: auto;
    display: block;
}

/* === CAMPOS DE FORMULARIO (index.html) === */
.campo {
    margin-bottom: 1.8rem;
    border-bottom: 1px solid #d1d1d1;
}

.campo label {
    display: block;
    font-size: 1rem;
    color: #777;
    padding: 0.5rem 0;
}

.entrada {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.1rem;
    padding: 0.4rem 0 0.8rem;
    background: transparent;
}

/* === CHECKBOX === */
.contenedor-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.5rem 0 2rem;
}

.contenedor-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.contenedor-checkbox label {
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
}

/* === BOTONES (index.html) === */
.boton {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.boton:disabled {
    background-color: #e6e6e6;
    color: #b8b8b8;
    cursor: not-allowed;
}

.boton:enabled {
    background-color: #ff7a00;
    color: #ffffff;
}

.boton:enabled:hover {
    opacity: 0.92;
}

/* === ENLACES === */
.enlace {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 0.95rem;
    margin: 1.2rem 0;
}

.naranja {
    color: #ff7a00;
    font-weight: 500;
}

.texto-secundario {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    margin-top: 1rem;
}

/* === PANTALLA DE CARGA === */
.fondo-carga {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contenedor-carga {
    text-align: center;
}

.cargador-futurista {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.anillo {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
}

.exterior {
    width: 80px;
    height: 80px;
    border-width: 3px;
    border-color: #ff7a00 transparent #ff7a00 transparent;
    animation: girar 1.2s linear infinite;
}

.interior {
    width: 55px;
    height: 55px;
    top: 12.5px;
    left: 12.5px;
    border-width: 3px;
    border-color: transparent #ff7a00 transparent #ff7a00;
    animation: girar 0.9s linear infinite reverse;
}

.punto-central {
    width: 12px;
    height: 12px;
    background-color: #ff7a00;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes girar {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.texto-carga {
    font-size: 1rem;
    color: #555;
}

/* === PANTALLA TOKEN / CÓDIGO === */
.token-pantalla {
    max-width: 420px;
}

.titulo-token {
    font-size: 1.25rem;
    color: #111;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.descripcion-token {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.contenedor-codigo {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 2.5rem;
}

.casilla-codigo {
    width: 100%;
    height: 55px;
    text-align: center;
    font-size: 1.4rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
}

.casilla-codigo:focus {
    border-color: #ff7a00;
}

/* Botones de la pantalla de código */
.boton.confirmar {
    background-color: #ff7a00;
    color: white;
    margin-bottom: 1rem;
}

.boton.confirmar:disabled {
    background-color: #ffd2a8;
    color: white;
}

.boton.cancelar {
    background-color: #fff;
    color: #ff7a00;
    border: 2px solid #ff7a00;
}

.boton.cancelar:hover {
    background-color: #fff5eb;
}

/* Mensaje de error */
.mensaje-error {
    margin-top: 1.5rem;
    padding: 0.9rem;
    background-color: #fff2f2;
    border-radius: 8px;
    color: #cc0000;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.icono-error {
    font-size: 1.1rem;
}

.oculto {
    display: none !important;
}
