/**
 * Server Error Overlay Styles
 * Shows friendly error when game is opened via file:// protocol
 */

.server-error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.server-error-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.server-error-box h1 {
    color: #e74c3c;
    margin: 0 0 20px 0;
    font-size: 28px;
}

.server-error-box p {
    color: #333;
    line-height: 1.6;
    margin: 15px 0;
}

.server-error-box .code-block {
    background: #f4f4f4;
    border-left: 4px solid #667eea;
    padding: 15px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    overflow-x: auto;
}

.server-error-box .step {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.server-error-box .step strong {
    color: #2e7d32;
    display: block;
    margin-bottom: 8px;
}

.server-error-box .emoji {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
}
