/* Estilos generales */
.wp-test-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Pantalla inicial */
.encabezado-test {
    text-align: center;
    padding: 2rem;
}

.btn-comenzar {
    background: #4f46e5;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-comenzar:hover {
    transform: translateY(-3px);
}

/* Preguntas */
.opciones {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.btn-opcion {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-opcion:hover {
    border-color: #4f46e5;
    background: #f8fafc;
}

.numero {
    font-size: 1.5rem;
    display: block;
    color: #4f46e5;
}

.leyenda {
    font-size: 0.9rem;
    color: #64748b;
}

/* Formulario email */
.formulario-email {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
}

.header-email .checkmark {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.politica {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 1rem;
}

/* Loader */
.loader-container {
    text-align: center;
    padding: 2rem;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4f46e5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Resultados */
.riesgo { color: #dc2626; }
.potencial { color: #d97706; }
.solida { color: #059669; }

.error-container {
    background: #fee2e2;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}