/* Reset margin and padding for body and html */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    overflow: hidden; /* Prevent scroll during loading */
}

/* Loading screen with centered spinner */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    z-index: 9999;
    transition: opacity 0.3s ease-out; /* Smooth fade-out */
}

/* Simple spinner with reduced complexity for better performance */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgb(0, 255, 39);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite; /* Optimized for lower delay */
}

/* Keyframes for the spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.grecaptcha-badge {
    display: none;
}