/* GLOBAL */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

/* LAYOUT */
.layout {
  display: flex;
}

/* SIDEBAR */
.sidebar {
  width: 220px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  padding: 20px;
  height: 100vh;
}

.sidebar h2 {
  margin-bottom: 20px;
}

.sidebar p {
  margin: 15px 0;
  cursor: pointer;
  opacity: 0.8;
}

.sidebar p:hover {
  opacity: 1;
}

/* MAIN */
.main {
  flex: 1;
  padding: 20px;
}

/* HEADINGS */
h1, h2 {
  margin-bottom: 20px;
}

/* GLASS EFFECT */
.glass {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 15px;
}

/* KPI CARDS */
.cards {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.card {
  flex: 1;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* FILTER DROPDOWN FIXED */
select {
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.95);
  color: black;
  font-weight: 500;
}

select option {
  color: black;
}

/* CHART SECTION */
.charts {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.chart-box {
  width: 50%;
  height: 300px;
}

/* CANVAS FIX */
canvas {
  width: 100% !important;
  height: 100% !important;
}

/* TABLE */
.table {
  padding: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  padding: 10px;
  text-align: left;
  background: rgba(0,0,0,0.3);
}

td {
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

/* SCROLLBAR (OPTIONAL PREMIUM LOOK) */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 10px;
}

/* BUTTON STYLE (IF NEEDED) */
button {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  background: #3b82f6;
  color: white;
  cursor: pointer;
}

button:hover {
  background: #2563eb;
}
