/*
  Este CSS es solo ESTRUCTURAL: define tamaños, espaciados y estados
  (hover, disabled, oculto). No define colores, tipografías ni bordes
  decorativos a propósito, para que uses tus propias clases/variables
  de tu diseño custom sin pelear contra estilos previos.

  Sugerencia: reemplazá los comentarios "AGREGAR TU ESTILO" con tus
  variables de marca (colores, fuentes, radios de borde, etc.)
*/

.norwood-analyzer {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.norwood-analyzer__intro {
    text-align: center;
}

.norwood-analyzer__upload {
    position: relative;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f4f4f4;
    /* AGREGAR TU ESTILO: border, border-radius, background */
}

.norwood-analyzer__upload--activo {
    /* AGREGAR TU ESTILO: feedback visual al arrastrar un archivo encima */
}

.norwood-analyzer__placeholder {
    text-align: center;
    padding: 24px;
}

.norwood-analyzer__hint {
    display: block;
    font-size: 0.85em;
    margin-top: 4px;
}

.norwood-analyzer__preview {
    width: 100%;
    height: 100%;
}

    .norwood-analyzer__preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.norwood-analyzer__boton {
    font-family: 'Titillium Web', sans-serif;
    width: 100%;
    padding: 12px 20px;
    cursor: pointer;
    font-size: .8125rem;
    color: var(--bg-color);
    background-color: var(--dark-text-heading-color);
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
}

    .norwood-analyzer__boton:disabled {
        cursor: not-allowed;
        opacity: 0.5;
    }

.norwood-analyzer__state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
}

.norwood-analyzer__spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-top-color: transparent;
    animation: norwood-spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes norwood-spin {
    to {
        transform: rotate(360deg);
    }
}

.norwood-analyzer__error {
    padding: 12px;
    text-align: center;
    /* AGREGAR TU ESTILO: color de error, background suave */
}

.norwood-analyzer__result {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    /* AGREGAR TU ESTILO: border, border-radius, background */
}

.norwood-analyzer__scale {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.norwood-analyzer__scale-number {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
}

.norwood-analyzer__scale-label {
    font-size: 0.85em;
    font-weight: 700;    
}

.norwood-analyzer__description {
    text-align: center;
}

.norwood-analyzer__zonas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

    .norwood-analyzer__zonas li {
        padding: 4px 10px;
        font-size: 0.85em;
        /* AGREGAR TU ESTILO: background tipo badge, border-radius */
    }

.norwood-analyzer__disclaimer {
    font-size: 0.8em;
    text-align: center;
    opacity: 0.75;
}

.norwood-analyzer__cta {
    text-align: center;
    padding: 12px 20px;
    text-decoration: none;
    /* AGREGAR TU ESTILO: background, color, border-radius */
}

/* Mobile: la galería en vertical según tu comentario anterior */
@media (max-width: 600px) {
    .norwood-analyzer__upload {
        aspect-ratio: 3 / 4;
    }
}
