/**
 * RaRa Authentication Foundation — CSS Styles
 *
 * @package RaRa_Auth
 */

.rara-google-auth-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0;
}

.rara-auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: 'Poppins', -apple-system, sans-serif;
}

.rara-auth-overlay--active {
    display: flex !important;
}

.rara-auth-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #7C3AED;
    border-radius: 50%;
    animation: raraAuthSpin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes raraAuthSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rara-auth-overlay p {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.3px;
}

.rara-auth-success-icon {
    width: 56px;
    height: 56px;
    background: #22C55E;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 16px;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    animation: raraSuccessPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes raraSuccessPop {
    0% { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
