.oyh-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.total-leads .count {
    font-size: 2.5em;
    font-weight: bold;
    color: #2c5aa0;
    display: block;
}

.total-leads .label {
    font-size: 1em;
    color: #666;
}

.map-container {
    position: relative;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

#us-map, #state-map {
    width: 100%;
    min-height: 600px;
}

.state {
    fill: #e0e0e0;
    stroke: #fff;
    stroke-width: 1px;
    transition: fill 0.3s ease;
    cursor: pointer;
}

.state:hover {
    fill: #b8d4ff;
}

.county {
    fill: #d0e0f0;
    stroke: #fff;
    stroke-width: 0.5px;
    cursor: pointer;
}

.county:hover {
    fill: #a0c0ff;
}

.lead-count {
    font-size: 10px;
    font-weight: bold;
    fill: #333;
    pointer-events: none;
}

.btn-back {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin: 10px;
    font-size: 14px;
}

.btn-back:hover {
    background: #1e3d6f;
}

.map-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.btn-refresh {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-refresh:hover {
    background: #218838;
}

.last-updated {
    color: #666;
    font-size: 14px;
}

/* Admin Styles */
.oyh-admin-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.oyh-admin-stats {
    grid-column: 1 / -1;
    display: flex;
    gap: 20px;
}

.stat-card {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
    text-transform: uppercase;
}

.stat-card span {
    font-size: 2em;
    font-weight: bold;
    color: #2c5aa0;
}

.oyh-admin-upload, .oyh-admin-quick-actions {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.oyh-admin-quick-actions button {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }
    
    .oyh-admin-container {
        grid-template-columns: 1fr;
    }
    
    .oyh-admin-stats {
        flex-direction: column;
    }
}