body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.sidebar {
  width: 250px;
  background-color: #1e293b;
  padding-top: 20px;
  border-right: 1px solid #334155;
  display: flex;
  flex-direction: column;
}

.sidebar h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.2rem;
  color: #fff;
}

.tab-btn {
  background: none;
  border: none;
  color: #94a3b8;
  padding: 15px 20px;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  border-left: 4px solid transparent;
}

.tab-btn:hover { 
  background-color: #334155; 
  color: #fff; 
}

.tab-btn.active {
  background-color: #334155;
  color: #38bdf8;
  border-left: 4px solid #38bdf8;
}

.content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}

.tab-content { 
  display: none; 
  max-width: 1100px; 
  margin: 0 auto; 
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.summary-cards {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.card {
  flex: 1;
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.card-icon {
  background: #334155;
  padding: 8px;
  border-radius: 50%;
  font-size: 1.2rem;
}

.card-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 5px;
}

.card-subtitle {
  font-size: 0.9rem;
  color: #94a3b8;
}

.text-green { color: #4ade80 !important; }
.text-red { color: #f87171 !important; }

.form-group { 
  display: flex; 
  gap: 10px; 
  margin-bottom: 20px; 
  flex-wrap: wrap; 
}

input { 
  padding: 10px; 
  border-radius: 6px; 
  border: 1px solid #334155; 
  background: #1e293b; 
  color: white; 
  flex: 1; 
  min-width: 120px;
}

button.action-btn { 
  padding: 10px 20px; 
  background: #0ea5e9; 
  color: white; 
  border: none; 
  border-radius: 6px; 
  cursor: pointer; 
  font-weight: bold;
}

button.action-btn:hover { 
  background: #0284c7; 
}

table { 
  width: 100%; 
  border-collapse: collapse; 
  background: #1e293b; 
  border-radius: 8px; 
  overflow: hidden; 
  font-size: 0.95rem; 
}

th, td { 
  text-align: left; 
  padding: 12px 15px; 
  border-bottom: 1px solid #334155; 
}

th { 
  background-color: #0f172a; 
  color: #94a3b8; 
  font-weight: normal; 
}

button.delete-btn { 
  background: #ef4444; 
  color: white; 
  border: none; 
  padding: 6px 12px; 
  border-radius: 4px; 
  cursor: pointer; 
}