.qzq-sim-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 100%;
    margin: 0 auto;
}

.qzq-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 5px;
}

.filter-group input {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
}

.qzq-types {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 0 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    cursor: pointer;
}

.qzq-actions {
    text-align: center;
    margin-bottom: 30px;
}

.qzq-btn {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.qzq-btn:hover {
    background-color: #1d4ed8;
}

.qzq-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Stats Cards */
.qzq-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.stat-card.is-profit { border-top: 3px solid #dc2626; }
.stat-card.is-loss { border-top: 3px solid #16a34a; }

.stat-card .label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 5px;
}

.stat-card .value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
}

.stat-card.is-profit .value { color: #dc2626; }
.stat-card.is-loss .value { color: #16a34a; }

/* List */
.match-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.match-time {
    font-size: 0.8rem;
    color: #94a3b8;
}

.match-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #334155;
}

.match-net {
    font-weight: 800;
    font-size: 1rem;
}

.text-red { color: #dc2626; }
.text-green { color: #16a34a; }
.text-gray { color: #94a3b8; }

.bet-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: #475569;
}

.bet-tag {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #64748b;
}

.bet-sel {
    flex: 1;
    margin-left: 10px;
}

.icon-hit { color: #dc2626; font-weight: 600; }
.icon-miss { color: #cbd5e1; }

.no-data {
    text-align: center;
    padding: 40px;
    color: #64748b;
    background: #f8fafc;
    border-radius: 10px;
}
