/* ============================================
   ENCUESTA CLORO - INDUSTRIAS MACIER
   Diseño Mobile-First, Ultra Intuitivo
   ============================================ */

:root {
    --azul-macier: #1a3a6e;
    --azul-claro: #2d5aa0;
    --azul-suave: #e8f0fc;
    --rojo-macier: #c41e3a;
    --rojo-suave: #ffe5e9;
    --blanco: #ffffff;
    --gris-fondo: #f5f7fa;
    --gris-texto: #4a5568;
    --gris-borde: #e2e8f0;
    --verde-exito: #22c55e;
    --naranja-alerta: #f59e0b;
    --sombra: 0 4px 20px rgba(26, 58, 110, 0.15);
    --sombra-hover: 0 8px 30px rgba(26, 58, 110, 0.25);
    --radio: 16px;
    --radio-small: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--azul-suave) 0%, var(--gris-fondo) 50%, var(--blanco) 100%);
    min-height: 100vh;
    color: var(--gris-texto);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
    min-height: 100vh;
}

/* Header */
.header {
    text-align: center;
    padding: 24px 16px;
    background: var(--blanco);
    border-radius: var(--radio);
    box-shadow: var(--sombra);
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 16px;
}

.title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--azul-macier);
    margin-bottom: 8px;
    line-height: 1.3;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--azul-claro);
    font-style: italic;
    font-weight: 600;
}

/* Progress Bar */
.progress-container {
    background: var(--blanco);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 20px;
    box-shadow: var(--sombra);
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 10px;
    background: var(--gris-borde);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--progress, 25%);
    background: linear-gradient(90deg, var(--azul-macier), var(--azul-claro));
    border-radius: 50px;
    transition: width 0.4s ease;
}

.progress-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--azul-macier);
    white-space: nowrap;
}

/* Steps */
.step {
    display: none;
    background: var(--blanco);
    border-radius: var(--radio);
    padding: 24px 20px;
    box-shadow: var(--sombra);
    animation: fadeIn 0.3s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--azul-suave);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--azul-macier), var(--azul-claro));
    color: var(--blanco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.step-header h2 {
    font-size: 1.3rem;
    color: var(--azul-macier);
    font-weight: 700;
}

.step-description {
    background: var(--azul-suave);
    padding: 16px;
    border-radius: var(--radio-small);
    margin-bottom: 24px;
    font-size: 0.95rem;
    border-left: 4px solid var(--azul-macier);
}

.step-description strong {
    color: var(--azul-macier);
}

/* Form Groups */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--azul-macier);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.label-icon {
    font-size: 1.3rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-family: inherit;
    border: 2px solid var(--gris-borde);
    border-radius: var(--radio-small);
    background: var(--blanco);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--azul-macier);
    box-shadow: 0 0 0 4px rgba(26, 58, 110, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

.error-message {
    display: block;
    color: var(--rojo-macier);
    font-size: 0.85rem;
    margin-top: 6px;
    font-weight: 600;
}

/* Competitors Section */
.competitors-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.competitor-card {
    background: var(--gris-fondo);
    border-radius: var(--radio);
    padding: 20px;
    border: 2px solid var(--gris-borde);
    transition: all 0.3s ease;
}

.competitor-card.has-selection {
    border-color: var(--azul-macier);
    background: var(--azul-suave);
}

.competitor-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--azul-macier);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.competitor-name::before {
    content: '🧴';
}

.sizes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.size-item {
    position: relative;
}

/* Botón de tamaño (reemplaza checkbox + label) */
.size-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: var(--blanco);
    border: 2px solid var(--gris-borde);
    border-radius: var(--radio-small);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.2s ease;
    min-height: 60px;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

.size-btn .size-text {
    transition: all 0.2s;
}

.size-btn .size-check {
    display: none;
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    background: var(--verde-exito);
    color: white;
    border-radius: 50%;
    font-size: 0.65rem;
    align-items: center;
    justify-content: center;
}

.size-btn .size-prices {
    font-size: 0.7rem;
    margin-top: 4px;
    opacity: 0;
    transition: all 0.2s;
}

.size-btn:active {
    transform: scale(0.97);
}

/* Estado: Completado con precios */
.size-btn.completed {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: var(--blanco);
    border-color: #22c55e;
}

.size-btn.completed .size-check {
    display: flex;
    background: white;
    color: var(--verde-exito);
}

.size-btn.completed .size-prices {
    opacity: 1;
}

/* Animación al confirmar */
.size-btn.just-confirmed {
    animation: confirmPulse 0.6s ease;
}

@keyframes confirmPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* ==========================================
   POPUP GLOBAL DE PRECIOS (Paso 3)
   ========================================== */
.price-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.price-popup-overlay.visible {
    display: flex;
}

.price-popup {
    background: var(--blanco);
    border-radius: var(--radio);
    width: calc(100% - 40px);
    max-width: 340px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupIn 0.3s ease;
    box-sizing: border-box;
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.price-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--azul-suave);
}

.price-popup-icon {
    font-size: 2.5rem;
}

.price-popup-title {
    display: flex;
    flex-direction: column;
}

.price-popup-title #popupCompetitor {
    font-size: 0.9rem;
    color: var(--gris-texto);
    font-weight: 600;
}

.price-popup-title #popupSize {
    font-size: 1.4rem;
    color: var(--azul-macier);
    font-weight: 800;
}

.price-popup-body {
    margin-bottom: 20px;
}

.price-popup-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.price-popup-inputs .price-input-group {
    min-width: 0;
}

.price-popup-inputs .price-input-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 8px;
    font-size: 1.1rem;
}

.price-popup-buttons {
    display: flex;
    gap: 10px;
}

.price-popup-buttons .btn-confirm-price,
.price-popup-buttons .btn-cancel-price {
    padding: 12px 10px;
    font-size: 0.95rem;
}

/* Legacy modal styles (kept for compatibility) */
.price-modal-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--azul-macier);
    margin-bottom: 12px;
    text-align: center;
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.price-input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-input-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gris-texto);
}

.price-input-group label small {
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.7;
}

.price-input-group input {
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    border: 2px solid var(--gris-borde);
    border-radius: 8px;
}

.price-input-group input:focus {
    border-color: var(--azul-macier);
    outline: none;
}

.price-input-group.costo input {
    background: #fff9e6;
}

.price-input-group.venta input {
    background: #e6fff2;
}

/* Botones del modal de precios */
.price-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.btn-confirm-price,
.btn-cancel-price {
    flex: 1;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-confirm-price {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-confirm-price:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.btn-cancel-price {
    background: var(--gris-fondo);
    color: var(--gris-texto);
    border: 2px solid var(--gris-borde);
}

.btn-cancel-price:active {
    transform: scale(0.97);
}

/* Resumen de precios debajo del modal */
.price-summary {
    margin-top: 8px;
    text-align: center;
}

.summary-prices {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Modal en modo edición */
.price-modal.editing {
    border-color: var(--naranja-alerta);
    background: #fffbeb;
}

.price-modal.editing .price-modal-title::before {
    content: '✏️ Editando - ';
}

/* Other Competitors */
.other-competitors-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.other-competitor-card {
    background: var(--gris-fondo);
    border-radius: var(--radio);
    padding: 20px;
    border: 2px solid var(--gris-borde);
    position: relative;
}

.other-competitor-card .remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--rojo-suave);
    color: var(--rojo-macier);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.other-competitor-card .remove-btn:hover {
    background: var(--rojo-macier);
    color: var(--blanco);
}

.other-competitor-header {
    margin-bottom: 16px;
    padding-right: 40px;
}

.other-comp-name {
    width: 100%;
    padding: 14px 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid var(--gris-borde);
    border-radius: var(--radio-small);
    font-family: inherit;
    background: var(--blanco);
}

.other-comp-name:focus {
    outline: none;
    border-color: var(--azul-macier);
    box-shadow: 0 0 0 4px rgba(26, 58, 110, 0.1);
}

.other-comp-name::placeholder {
    color: #a0aec0;
    font-weight: 600;
}

.other-comp-instruction {
    font-size: 0.9rem;
    color: var(--gris-texto);
    margin-bottom: 12px;
    font-weight: 600;
}

/* ==========================================
   CHIPS DE TAMAÑOS (Paso 4)
   ========================================== */
.size-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    min-height: 0;
}

.size-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 10px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    animation: chipIn 0.3s ease;
}

@keyframes chipIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.size-chip.just-added {
    animation: chipPop 0.5s ease;
}

@keyframes chipPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.size-chip.removing {
    animation: chipOut 0.2s ease forwards;
}

@keyframes chipOut {
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.chip-check {
    width: 20px;
    height: 20px;
    background: white;
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
}

.chip-name {
    font-weight: 800;
}

.chip-prices {
    font-size: 0.75rem;
    opacity: 0.9;
}

.chip-remove {
    width: 22px;
    height: 22px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    transition: all 0.2s;
}

.chip-remove:active {
    background: rgba(255, 255, 255, 0.5);
}

/* Formulario para agregar tamaño */
.add-size-form {
    background: var(--blanco);
    border: 2px dashed var(--gris-borde);
    border-radius: var(--radio-small);
    padding: 16px;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--azul-macier);
    margin-bottom: 12px;
}

.add-size-row {
    margin-bottom: 12px;
}

.input-size-name {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--gris-borde);
    border-radius: 8px;
    font-family: inherit;
}

.input-size-name:focus {
    outline: none;
    border-color: var(--azul-macier);
}

.input-size-name::placeholder {
    color: #a0aec0;
}

.add-size-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.add-size-prices .price-input-group input {
    width: 100%;
}

.btn-add-this-size {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-add-this-size:active {
    transform: scale(0.97);
}

/* Legacy - Contenedor de tamaños personalizados */
.custom-sizes-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.custom-size-row {
    background: var(--blanco);
    border: 2px solid var(--gris-borde);
    border-radius: var(--radio-small);
    padding: 16px;
    transition: all 0.3s ease;
}

.custom-size-row.completed {
    border-color: var(--verde-exito);
    background: linear-gradient(to right, rgba(34, 197, 94, 0.05), rgba(34, 197, 94, 0.1));
}

.custom-size-row.just-confirmed {
    animation: confirmPulse 0.6s ease;
}

.custom-size-header {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.custom-size-name {
    flex: 1;
    padding: 12px 14px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--gris-borde);
    border-radius: 8px;
    font-family: inherit;
}

.custom-size-name:focus {
    outline: none;
    border-color: var(--azul-macier);
}

.custom-size-name::placeholder {
    color: #a0aec0;
}

.btn-remove-size {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--rojo-suave);
    color: var(--rojo-macier);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-remove-size:active {
    background: var(--rojo-macier);
    color: white;
}

.custom-size-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.custom-size-prices .price-input-group input {
    width: 100%;
}

.btn-confirm-size {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-confirm-size:active {
    transform: scale(0.97);
}

.btn-confirm-size.editing {
    background: var(--naranja-alerta);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.custom-size-summary {
    margin-top: 10px;
}

.confirmed-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    width: 100%;
    text-align: center;
}

/* Botón agregar tamaño */
.btn-add-size {
    background: var(--azul-suave);
    color: var(--azul-macier);
    border: 2px dashed var(--azul-claro);
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radio-small);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-add-size:active {
    background: var(--azul-claro);
    color: white;
}

.other-sizes-grid {
    margin-top: 12px;
}

.other-size-item {
    position: relative;
}

.other-competitor-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.other-competitor-inputs input,
.other-competitor-inputs textarea {
    padding: 14px;
    font-size: 1rem;
    border: 2px solid var(--gris-borde);
    border-radius: var(--radio-small);
    font-family: inherit;
}

.other-competitor-inputs input:focus,
.other-competitor-inputs textarea:focus {
    outline: none;
    border-color: var(--azul-macier);
}

/* Buttons */
.nav-buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 2px solid var(--gris-borde);
}

.btn {
    flex: 1;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: var(--radio-small);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn:active {
    transform: scale(0.97);
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, var(--azul-macier), var(--azul-claro));
    color: var(--blanco);
    box-shadow: 0 4px 15px rgba(26, 58, 110, 0.3);
}

.btn-next:hover,
.btn-submit:hover {
    box-shadow: 0 6px 20px rgba(26, 58, 110, 0.4);
}

.btn-back {
    background: var(--gris-fondo);
    color: var(--gris-texto);
    border: 2px solid var(--gris-borde);
    flex: 0.5;
}

.btn-add {
    background: var(--azul-suave);
    color: var(--azul-macier);
    border: 2px dashed var(--azul-macier);
    width: 100%;
    margin-bottom: 10px;
}

.btn-arrow {
    font-size: 1.3rem;
}

.btn-icon {
    font-size: 1.2rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success Screen */
.success-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--azul-macier), var(--azul-claro));
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-screen.visible {
    display: flex;
}

.success-content {
    background: var(--blanco);
    border-radius: var(--radio);
    padding: 40px 30px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--verde-exito);
    color: var(--blanco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 24px;
}

.success-content h2 {
    font-size: 1.6rem;
    color: var(--azul-macier);
    margin-bottom: 12px;
}

.success-content p {
    color: var(--gris-texto);
    margin-bottom: 24px;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 110, 0.9);
    z-index: 1001;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.loading-overlay.visible {
    display: flex;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--blanco);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    color: var(--blanco);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 400px) {
    .container {
        padding: 12px;
    }
    
    .step {
        padding: 20px 16px;
    }
    
    .sizes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .size-label {
        padding: 12px 8px;
        font-size: 0.8rem;
    }
    
    .title {
        font-size: 1.2rem;
    }
}

@media (min-width: 500px) {
    .sizes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Accessibility & Touch */
@media (hover: none) {
    .btn:hover {
        transform: none;
    }
}

/* Dark mode support */
/* Modo oscuro desactivado - la encuesta siempre se ve en modo claro */

/* No selección de texto en botones */
button,
.size-label {
    user-select: none;
    -webkit-user-select: none;
}

/* Animación de shake para errores */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.4s ease;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 30px;
    color: var(--gris-texto);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

