* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
}

.container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 290px;
  background: linear-gradient(180deg, #1976d2 0%, #0d47a1 100%);
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-radius: 0 30px 0 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: bold;
}

.logo img {
  width: 40px;
  height: 40px;
}

.user-profile {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  margin-bottom: 30px;
}

.avatar {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
}

.avatar svg {
  width: 45px;
  height: 45px;
}

.user-profile h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.user-profile p {
  font-size: 14px;
  opacity: 0.9;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.3s;
  font-size: 16px;
}

.menu-item svg {
  width: 24px;
  height: 24px;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-item.active {
  background: rgba(255, 255, 255, 0.2);
}

/* Main Content */
.main-content {
  flex: 1;
  background-color: #f5f5f5;
}

.header {
  background: white;
  padding: 15px 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.breadcrumb {
  color: #666;
  font-size: 14px;
}

.content-wrapper {
  padding: 30px;
}

/* System Info Card */
.system-info {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 2px solid #2196f3;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.system-info h2 {
  font-size: 24px;
  color: #1976d2;
  margin-bottom: 12px;
}

.system-info p {
  color: #333;
  line-height: 1.6;
  font-size: 15px;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.stats-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Cards */
.card {
  border-radius: 15px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-3px);
}

.card svg {
  width: 35px;
  height: 35px;
}

.card h3 {
  font-size: 18px;
  font-weight: 500;
}

.card-number {
  margin-left: auto;
  font-size: 32px;
  font-weight: bold;
}

.card-blue {
  background: linear-gradient(135deg, #64b5f6 0%, #2196f3 100%);
}

.card-green {
  background: linear-gradient(135deg, #81c784 0%, #4caf50 100%);
}

.card-yellow {
  background: linear-gradient(135deg, #ffd54f 0%, #ffc107 100%);
}

.card-red {
  background: linear-gradient(135deg, #e57373 0%, #f44336 100%);
}

/* Chart Card */
.chart-column {
  display: flex;
}

.chart-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.chart-card h3 {
  text-align: center;
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}

.pie-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pie-chart svg {
  width: 220px;
  height: 220px;
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.legend-value {
  margin-left: auto;
  font-weight: bold;
}

/* Info Banner */
.info-banner {
  background: #fff9c4;
  border: 2px solid #fbc02d;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.info-banner svg {
  width: 30px;
  height: 30px;
  color: #f57c00;
  flex-shrink: 0;
}

.info-banner p {
  color: #333;
  line-height: 1.6;
  font-size: 14px;
}

.info-banner strong {
  color: #e65100;
}

/* Responsive */
@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 250px;
  }

  .content-wrapper {
    padding: 20px;
  }
}
