.shield-dashboard {
  padding: 20px;
  background-color: #f5f5f5;
  min-height: 100vh;
}

.dashboard-container {
  display: flex;
  gap: 20px;
}

.sidebar {
  flex: 0 0 250px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 15px;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kpi-section {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.kpi-card {
  flex: 1;
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
}

.kpi-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.kpi-value {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.total-leads {
  border-top: 4px solid #4285f4;
}

.total-deals {
  border-top: 4px solid #0f9d58;
}

.deleted-items-section {
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 20px;
  
  h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }
  
  .deleted-items-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    
    .deleted-item {
      display: flex;
      align-items: center;
      gap: 10px;
      background: #f8f9fa;
      border: 1px solid #e9ecef;
      border-radius: 4px;
      padding: 8px 12px;
      
      span {
        font-size: 14px;
        color: #495057;
      }
    }
  }
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
}

.grid-item {
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 15px;
  position: relative;
}

.grid-item-content {
  margin-top: 30px;
}

.drag-handler {
  cursor: move;
}

.drop-zone-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  background-color: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 4px;
  color: #6c757d;
  font-size: 18px;
  text-align: center;
  
  p {
    margin: 0;
  }
}

/* Gridster specific styles */
gridster {
  background: transparent !important;
}

gridster-item {
  background: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Configuration Modal Styles */
.section-divider {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.section-divider:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.filter-item {
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  background-color: #f8f9fa;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.filter-content {
  margin-top: 10px;
}

.drilldown-layer {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background-color: #ffffff;
}

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

.layer-header h5 {
  margin: 0;
  color: #495057;
}

/* Responsive design */
@media (max-width: 768px) {
  .dashboard-container {
    flex-direction: column;
  }
  
  .sidebar {
    flex: 0 0 auto;
  }
  
  .kpi-section {
    flex-direction: column;
  }
  
  .filter-item .clr-row > div {
    margin-bottom: 10px;
  }
}