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

:root {
    --vk-blue: #0077FF;
    --vk-bg: #ffffff;
    --vk-secondary-bg: #f5f5f5;
    --vk-text: #000000;
    --vk-link: #0077FF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--vk-bg);
    color: var(--vk-text);
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 400px;
    width: 100%;
}

.logo h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--vk-text);
}

.content {
    background: var(--vk-secondary-bg);
    padding: 20px;
    border-radius: 12px;
}

.content p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.content a {
    color: var(--vk-link);
    text-decoration: none;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    cursor: pointer;
}

.checkbox-container input {
    margin-right: 10px;
    margin-top: 3px;
    accent-color: var(--vk-blue);
}

.checkbox-container span {
    font-size: 14px;
    line-height: 1.4;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: var(--vk-blue);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-primary:hover:not(:disabled) {
    opacity: 0.9;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.loading, .success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 40px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 119, 255, 0.1);
    border-top-color: var(--vk-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.success .checkmark {
    width: 60px;
    height: 60px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.success p {
    text-align: center;
}

.success .hint {
    font-size: 14px;
    color: #666;
}
