body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h1 {
    color: #1c1e21;
    font-size: 24px;
    margin-bottom: 1rem;
}

p {
    color: #606770;
    margin-bottom: 1.5rem;
}

.fb-button {
    background-color: #1877f2;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 24px;
    transition: background-color 0.2s;
}

.fb-button:hover {
    background-color: #166fe5;
}

.hidden {
    display: none;
}

#success-section {
    color: #28a745;
}

#error-section {
    color: #dc3545;
}

#error-message {
    color: #dc3545;
    font-size: 14px;
    margin-bottom: 1rem; /* Add some space before the retry button */
}

#retry-button {
    /* Uses .fb-button styles, can add specific overrides here if needed */
    margin-top: 1rem; /* Add some space above the retry button */
}


.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #1877f2;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
