.fiber-routers-sales-dashboard {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.dashboard-title {
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.dashboard-title i {
    color: #3498db;
    margin-right: 10px;
}

.period-filter .form-group {
    display: flex;
    align-items: center;
}

.period-filter label {
    margin-right: 10px;
    font-weight: 500;
    color: #7f8c8d;
}

.period-filter label i {
    margin-right: 5px;
}

.metrics-section {
    margin-bottom: 30px;
}

.metrics-section h4 {
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.metrics-section h4 i {
    margin-right: 10px;
    color: #3498db;
}

.table th {
    font-weight: 600;
    color: #2c3e50;
    border-top: none;
    background-color: #f8f9fa;
}

.table th i {
    margin-right: 5px;
}

.area-header {
    background-color: #e9ecef !important;
    font-weight: 600;
}

.sub-header th {
    background-color: #f8f9fa;
    font-size: 0.9rem;
    font-weight: 500;
}

.router-sub {
    background-color: #e3f2fd !important;
    color: #1976d2;
}

.fiber-sub {
    background-color: #e8f5e8 !important;
    color: #2e7d32;
}

.sales-person {
    font-weight: 600;
}

.routers-total {
    font-weight: bold;
    color: #1976d2;
    background-color: #e3f2fd;
}

.fiber-total {
    font-weight: bold;
    color: #2e7d32;
    background-color: #e8f5e8;
}

.total-sales-cell {
    font-weight: bold;
    color: #ff6f00;
    background-color: #fff3e0;
}

.router-area {
    background-color: #f5fbff;
    color: #1976d2;
}

.fiber-area {
    background-color: #f6fff6;
    color: #2e7d32;
}

.area-card {
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.router-card {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.fiber-card {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.area-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.area-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.area-type {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.area-total {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.alert {
    border-radius: 6px;
    padding: 15px;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .period-filter {
        margin-top: 15px;
        width: 100%;
    }
    
    .period-filter .form-group {
        width: 100%;
    }
    
    .period-filter select {
        width: 100%;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .area-card {
        min-height: 120px;
        padding: 15px;
    }
    
    .area-total {
        font-size: 1.5rem;
    }
}