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

body {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f5f5f5;
    color: #000;
    line-height: 1.6;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px 40px;
}

.header-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.site-icon {
    flex-shrink: 0;
}

.site-domain {
    font-size: 24px;
    font-weight: 400;
    color: #000;
}

.page-title {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin-bottom: 12px;
}

.page-description {
    font-size: 14px;
    color: #595959;
    margin-bottom: 32px;
    line-height: 1.6;
}

.verification-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    max-width: 500px;
}

.verification-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.spinner-container {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot-spinner {
    width: 24px;
    height: 24px;
    position: relative;
    animation: rotate 2s linear infinite;
}

.dot {
    width: 4px;
    height: 4px;
    background: #999;
    border-radius: 50%;
    position: absolute;
    animation: dot-fade 2s ease-in-out infinite;
}

.dot:nth-child(1) { top: 0; left: 50%; margin-left: -2px; animation-delay: 0s; }
.dot:nth-child(2) { top: 2px; right: 2px; animation-delay: 0.25s; }
.dot:nth-child(3) { top: 50%; right: 0; margin-top: -2px; animation-delay: 0.5s; }
.dot:nth-child(4) { bottom: 2px; right: 2px; animation-delay: 0.75s; }
.dot:nth-child(5) { bottom: 0; left: 50%; margin-left: -2px; animation-delay: 1s; }
.dot:nth-child(6) { bottom: 2px; left: 2px; animation-delay: 1.25s; }
.dot:nth-child(7) { top: 50%; left: 0; margin-top: -2px; animation-delay: 1.5s; }
.dot:nth-child(8) { top: 2px; left: 2px; animation-delay: 1.75s; }

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

@keyframes dot-fade {
    0%, 100% { opacity: 0.3; }
    12.5% { opacity: 1; }
}

.verification-text {
    font-size: 13px;
    color: #333;
}

.verification-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.cloudflare-logo {
    width: 70px;
    height: auto;
}

.badge-links {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}

.badge-link {
    color: #0066cc;
    text-decoration: none;
}

.badge-link:hover {
    text-decoration: underline;
}

.badge-separator {
    color: #999;
}

/* 2-Step Verification Section */
.step-verification {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 32px;
    margin-bottom: 32px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 24px;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    min-width: 65px;
    flex-shrink: 0;
    padding-top: 2px;
}

.step-content {
    flex: 1;
}

.step-instruction {
    font-size: 14px;
    color: #4a4a4a;
    margin-bottom: 0;
    line-height: 1.6;
}

.key-button {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 100%);
    border: 1px solid #b8b8b8;
    border-radius: 6px;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    box-shadow: 0 2px 0 #c0c0c0, 0 3px 3px rgba(0,0,0,0.15);
    margin: 0 4px;
    min-width: 32px;
    text-align: center;
}

.enter-key {
    min-width: 60px;
}

.code-tag {
    background: #f4f4f4;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    padding: 2px 6px;
    font-family: 'Courier New', Consolas, Monaco, monospace;
    font-size: 13px;
    color: #d63384;
    margin: 0 2px;
}

.code-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.code-display {
    flex: 1;
    font-family: 'Courier New', Consolas, Monaco, monospace;
    font-size: 13px;
    color: #212529;
    background: #fff;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    word-break: break-all;
}

.copy-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #e9ecef;
    color: #495057;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.copy-button:hover {
    background: #dee2e6;
    border-color: #ced4da;
}

.copy-button:active {
    background: #ced4da;
}

.copy-button svg {
    flex-shrink: 0;
}

/* Verification Button Section */
.verify-section {
    margin-top: 24px;
}

.verify-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.verify-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.small-spinner-container {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.small-dot-spinner {
    width: 18px;
    height: 18px;
    position: relative;
    animation: rotate 2s linear infinite;
}

.small-dot {
    width: 3px;
    height: 3px;
    background: #999;
    border-radius: 50%;
    position: absolute;
    animation: dot-fade 2s ease-in-out infinite;
}

.small-dot:nth-child(1) { top: 0; left: 50%; margin-left: -1.5px; animation-delay: 0s; }
.small-dot:nth-child(2) { top: 2px; right: 2px; animation-delay: 0.25s; }
.small-dot:nth-child(3) { top: 50%; right: 0; margin-top: -1.5px; animation-delay: 0.5s; }
.small-dot:nth-child(4) { bottom: 2px; right: 2px; animation-delay: 0.75s; }
.small-dot:nth-child(5) { bottom: 0; left: 50%; margin-left: -1.5px; animation-delay: 1s; }
.small-dot:nth-child(6) { bottom: 2px; left: 2px; animation-delay: 1.25s; }
.small-dot:nth-child(7) { top: 50%; left: 0; margin-top: -1.5px; animation-delay: 1.5s; }
.small-dot:nth-child(8) { top: 2px; left: 2px; animation-delay: 1.75s; }

.verify-status {
    font-size: 13px;
    color: #666;
}

.verify-button {
    padding: 8px 20px;
    background: #f38020;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.verify-button:hover {
    background: #d97018;
}

.verify-button:active {
    background: #c06315;
}

/* Windows Only Message */
.windows-only-message {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 32px;
}

.error-title {
    font-size: 20px;
    font-weight: 600;
    color: #d32f2f;
    margin-bottom: 16px;
}

.error-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Footer Section */
.footer-section {
    border-top: 1px solid #e0e0e0;
    padding: 20px 40px;
    background: #fff;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 11px;
    color: #666;
    text-align: center;
}

.ray-id {
    font-family: Monaco, Consolas, "Courier New", monospace;
}

.footer-separator {
    margin: 0 8px;
    color: #999;
}

.footer-link {
    color: #0066cc;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-text {
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 40px 20px 20px;
    }
    
    .site-domain {
        font-size: 20px;
    }
    
    .page-title {
        font-size: 18px;
    }
    
    .verification-box {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .verification-right {
        align-items: flex-start;
        width: 100%;
    }
    
    .footer-section {
        padding: 20px;
    }
    
    .footer-content {
        font-size: 10px;
    }
}
