:root {
    --primary-color: #5c67f2; /* Approximate blue from screenshot */
    --text-color: #333;
    --subtext-color: #666;
    --bg-color: #f5f7fa;
    --card-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text-color);
}

.container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #222;
}

.subtitle {
    font-size: 14px;
    color: var(--subtext-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.loader-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    height: 60px; /* Fixed height to prevent layout shift */
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #eee;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.status-message {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 24px;
}

.status-message.hidden {
    visibility: hidden; /* Use visibility to keep space */
}

.check-icon {
    font-weight: bold;
}

.link {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
}

.footer-text {
    font-size: 12px;
    color: #999;
    margin-bottom: 25px;
}

.cancel-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cancel-btn:hover {
    background-color: #e0e0e0;
}
