/**
 * ax-frame.css — estilos del iframe en la página padre.
 * Estilos mínimos: el contenido visual vive dentro del iframe sandbox.
 */

/* Wrapper del iframe inline */
.ax-frame {
    display: block;
    width: 100%;
    border: none;
    overflow: hidden;
    min-height: 80px;
    border-radius: 12px;
    background: transparent;
    transition: height .2s ease;
}

/* Placeholder del mount en modo hydrate (antes de que cargue) */
.ax-mount {
    display: block;
    width: 100%;
    min-height: 80px;
    background: #f3f6f8;
    border-radius: 12px;
    position: relative;
}

/* Indicador de carga dentro del ax-mount */
.ax-mount::before {
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    border: 3px solid #cfd8df;
    border-top-color: #2bb3c0;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ax-spin 1s linear infinite;
}

@keyframes ax-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
