/* Modern Dashboard Styling */
.zubair-dashboard {
    padding: 2rem;
    background: #f8f9fa;
    min-height: 100vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.reset-data {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.reset-data:hover {
    opacity: 0.9;
}

.chart-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.data-controls {
    margin-bottom: 2rem;
    display: grid;
    gap: 1.5rem;
}

.search-input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 300px;
}

.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stat-box h3 {
    color: #6c757d;
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2271b1;
}

.analytics-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #f8f9fa;
    font-weight: 600;
}

.progress-bar {
    background: #e9ecef;
    height: 8px;
    border-radius: 4px;
    display: inline-block;
    width: 100px;
    vertical-align: middle;
    margin-right: 1rem;
}

.progress-bar div {
    height: 100%;
    background: #2271b1;
    border-radius: 4px;
}

@media (max-width: 782px) {
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-input {
        width: 100%;
    }
    
    .analytics-table {
        overflow-x: auto;
    }
}