* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: radial-gradient(circle at top, #10162a, #070b14);
  color: #e5e7eb;
}

/* Layout */
.app {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  background: linear-gradient(180deg, #0f1424, #0b0f17);
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 30px 20px;
}

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar a {
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 14px;
  color: #b8bcc8;
  font-weight: 600;
  transition: 0.2s;
}

.sidebar a:hover,
.sidebar a.active {
  background: linear-gradient(135deg, #6366f1, #22d3ee);
  color: white;
}

/* Main */
.main {
  padding: 30px 40px;
}

/* Topbar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.topbar h1 {
  font-size: 2.2rem;
}

.user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #22d3ee);
}

/* Cards / Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 35px;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
}

.stat-card strong {
  font-size: 2rem;
}

.stat-card span {
  display: block;
  color: #aeb3c6;
  margin-top: 6px;
}

.stat-card.highlight {
  background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(34,211,238,0.25));
  border-color: rgba(99,102,241,0.4);
}

/* Panels */
.panel {
  background: rgba(255,255,255,0.03);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Dashboard grid */
.dashboard {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

/* Fake calendar */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.day {
  height: 120px;
  border-radius: 18px;
  padding: 14px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.day span {
  font-size: 0.8rem;
  font-weight: 500;
}

.day.full { background: linear-gradient(135deg, #3b0f1a, #6b1223); }
.day.mid { background: linear-gradient(135deg, #3a2f0f, #6b5612); }
.day.free { background: linear-gradient(135deg, #0f3b2a, #126b4f); }

/* List */
.list-item {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 12px;
}

/* Tables */
.table-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.table {
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
}

.table.free { outline: 2px solid #22d3ee; }
.table.busy { outline: 2px solid #ef4444; }

/* Buttons */
.btn {
  background: linear-gradient(135deg, #6366f1, #22d3ee);
  border: none;
  color: white;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1100px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .dashboard { grid-template-columns: 1fr; }
}
