* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #121212;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#captcha-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.captcha-box {
    background-color: #222;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 24px;
    width: 320px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.captcha-header {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 16px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
}

.checkbox-container:hover {
    background-color: #333;
}

.checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #666;
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
    transition: all 0.2s;
}

.checkbox-container:hover .checkbox {
    border-color: #888;
}

.spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.captcha-text {
    font-size: 14px;
    color: #ccc;
}

.captcha-footer {
    margin-top: 15px;
    font-size: 11px;
    color: #666;
    text-align: right;
}

video {
    max-width: 90%;
    max-height: 100vh;
}