/**
 * Authentication Blocks Styling
 * Minimal CSS for core functionality only.
 * Layout and aesthetics are handled by the theme.
 * 
 * @package M24 B2B
 * @since 2025.11.14
 */

/* ==========================================================================
   Functional Visibility Toggle
   ========================================================================== */

.m24b2b-auth-form .auth-step {
    display: none;
}

.m24b2b-auth-form .auth-step:first-child {
    display: block; /* Default view */
}

/* ==========================================================================
   Toast Notifications (Keep functional positioning)
   ========================================================================== */

.auth-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* ==========================================================================
   Loading Spinner (Keep functional animation)
   ========================================================================== */

.auth-loading {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: currentColor;
    animation: spin 0.8s linear infinite;
}

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