:root {
    --pwc-main: #2563eb;
    --pwc-bg: #f8fafc;
    --pwc-card: #ffffff;
    --pwc-text: #1e293b;
    --pwc-success: #10b981;
    --pwc-warning: #f59e0b;
    --pwc-error: #ef4444;
}

.pwc-dashboard {
    background: var(--pwc-bg);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--pwc-text);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

.pwc-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.pwc-status { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.8rem; color: #64748b; }
.pwc-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pwc-success); }
.pwc-status-dot.pulse { animation: pwc-pulse 2s infinite; }

@keyframes pwc-pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

.pwc-score-box { text-align: right; }
.pwc-score-label { display: block; font-size: 0.6rem; font-weight: 900; color: var(--pwc-main); }
#pwc-score-value { font-family: monospace; font-size: 1.2rem; font-weight: 900; }

/* Grid layout pour le jeu */
.pwc-game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.pwc-card-game {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.pwc-label { font-size: 0.7rem; font-weight: 900; text-transform: uppercase; color: #94a3b8; margin-bottom: 10px; display: block; }

/* Input Styling */
.pwc-input-container { margin-top: 20px; }
.pwc-input-field {
    width: 100%;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    padding: 12px 15px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--pwc-main);
    transition: 0.3s;
}
.pwc-input-field:focus { border-color: var(--pwc-main); outline: none; background: #fff; }

/* Protocoles Checklist */
.pwc-rules-list { list-style: none; padding: 0; margin: 0; }
.pwc-rule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    transition: 0.3s;
}
.pwc-rule-item.met { color: var(--pwc-success); transform: translateX(5px); }
.pwc-check-icon {
    width: 18px; height: 18px; border: 2px solid #cbd5e1; border-radius: 4px;
    display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
}
.met .pwc-check-icon { background: var(--pwc-success); border-color: var(--pwc-success); color: white; }
.met .pwc-check-icon::after { content: '✓'; }

/* Bouton Fun */
.pwc-btn-glow {
    background: var(--pwc-main);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(37,99,235,0.39);
    transition: 0.3s;
}
.pwc-btn-glow:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,0.23); }
.pwc-btn-glow:disabled { background: #cbd5e1; box-shadow: none; cursor: not-allowed; }