.studio-dashboard-container h3,
.studio-dashboard-container h4,
.studio-dashboard-container .class-form h4,
.studio-dashboard-container .class-form label,
.studio-dashboard-container .class-form input,
.studio-dashboard-container .class-form select,
.studio-dashboard-container .class-form textarea,
.studio-dashboard-container .class-form button,
.studio-dashboard-container .class-form option,
.studio-dashboard-container .class-form ::placeholder,
.studio-dashboard-container .classes-section,
.studio-dashboard-container .classes-section h3,
.studio-dashboard-container table th,
.studio-dashboard-container table td {
  color: #fff !important;
}
.studio-dashboard-container table th {
  font-weight: 600;
}
.studio-dashboard-container .class-form input::placeholder {
  color: #fff !important;
  opacity: 0.8;
}
:root{
  --brand: #c3202080; /* stillthe primary */
  --accent: #b82929;
  --accent-dark: #c34444;
  --bg: #f7f9fc;
  --muted: #6b7280;
  --text: #0f172a;
  --card: #ffffff;
  --accent-light: rgba(21,42,122,0.06);
}

/* Modern Dashboard Styles */
.modern-dashboard {
  display: flex;
  min-height: 100vh;
  background-color: var(--bg);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: var(--text);
 
}

/* Dashboard Sidebar */
.dashboard-sidebar {
  width: 260px;
  background-color: var(--brand);
  color: white;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 100;
}

.user-profile {
  padding: 20px;
  text-align: center;
  margin-bottom: 10px;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid rgba(255,255,255,0.12);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-nav {
  padding: 0;
  margin-top: 20px;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin-bottom: 5px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 12px 25px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

.sidebar-nav a:hover, .sidebar-nav li.active a {
  background-color: rgba(255,255,255,0.06);
  color: white;
  border-left: 4px solid rgba(255,255,255,0.16);
}

.nav-icon {
  margin-right: 15px;
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.sign-out {
  padding: 0;
  margin-top: auto;
  margin-bottom: 20px;
}

.sign-out a {
  display: flex;
  align-items: center;
  padding: 12px 25px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Main Content Styles */
.dashboard-content {
  flex: 1;
  margin-left: 250px;
  padding: 20px;
}

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

.search-container {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-input {
  width: 100%;
  padding: 10px 15px;
  border-radius: 12px;
  border: 1px solid #e6e9ef;
  background: white;
  color: var(--text);
  font-size: 14px;
}

.header-actions {
  display: flex;
  gap: 15px;
}

.header-icon {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
}

/* KPI Cards */
.kpi-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.kpi-card {
  background-color: var(--card);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(16,24,40,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kpi-header {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.kpi-value {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text);
  text-align: left;
}

.kpi-subtitle {
  font-size: 12px;
  color: #999;
}

.mini-bar-chart {
  display: flex;
  align-items: flex-end;
  height: 30px;
  gap: 5px;
  margin-top: 10px;
}

.mini-bar {
  flex: 1;
  background: linear-gradient(to top, #000000, #8b0000);
  height: 60%;
  border-radius: 2px;
}

.mini-bar:nth-child(2) {
  height: 80%;
}

.mini-bar:nth-child(3) {
  height: 40%;
}
.mini-line-chart {
  height: 40px;
  background: linear-gradient(180deg, rgba(139,0,0,0) 0%, rgba(139,0,0,0.1) 100%);
  position: relative;
  margin-top: 10px;
}

/* New Chart Styles */
.chart-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  margin-bottom: 20px;
}

.chart-card {
  background-color: var(--card);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(16,24,40,0.06);
}

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

.chart-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.chart-legend {
  display: flex;
  gap: 15px;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #666;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}

.legend-pink {
  background-color: var(--brand);
}

.legend-purple {
  background-color: var(--accent);
}

.bar-chart-container {
  height: 200px;
  position: relative;
  margin-top: 20px;
}

.bar-chart-grid {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.bar-chart {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 100%;
  position: relative;
  z-index: 2;
  padding-bottom: 30px;
}

.bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12%;
  height: 100%;
  position: relative;
}

.bar {
  width: 100%;
  background-color: var(--brand);
  border-radius: 6px 6px 0 0;
  position: relative;
  transition: height 800ms cubic-bezier(.2,.8,.2,1);
  height: 0; /* animate from 0 to data-value via JS */
}

.bar-2 {
  background-color: #000000;
  margin-top: 2px;
}

.bar-label {
  position: absolute;
  bottom: -25px;
  font-size: 12px;
  color: #666;
  text-align: center;
  width: 100%;
}

.grid-line {
  height: 1px;
  background-color: rgba(0,0,0,0.05);
  width: 100%;
}

.progress-bars {
  margin-top: 20px;
}

.progress-item {
  margin-bottom: 15px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 12px;
  color: #666;
}

.progress-bar {
  height: 6px;
  background-color: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  width: 0; /* JS will set width to desired percent for animation */
  transition: width 1000ms cubic-bezier(.2,.8,.2,1);
}

.fill-pink { background: linear-gradient(90deg, var(--brand), rgba(21,42,122,0.6)); }
.fill-yellow { background: linear-gradient(90deg, var(--brand), rgba(0,0,0,0.12)); }
.fill-orange { background: linear-gradient(90deg, var(--brand), rgba(0,0,0,0.24)); }

/* Calendar Widget */
.calendar-widget {
  background-color: var(--card);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(16,24,40,0.06);
}

.calendar-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.calendar-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}

.calendar-view-selector {
  display: flex;
  gap: 5px;
}

.view-btn {
  background-color: transparent;
  border: 1px solid #e6e9ef;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
}

.view-btn.active {
  background-color: var(--brand);
  color: white;
  border-color: rgba(0,0,0,0.04);
}

.calendar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.control-btn {
  background: none;
  border: 1px solid #ddd;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
}

.current-date {
  font-size: 14px;
  font-weight: 500;
}

.calendar-view {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  grid-auto-rows: minmax(84px, auto);
}

.calendar-day {
  text-align: left;
  font-size: 13px;
  padding: 10px;
  border-radius: 8px;
  position: relative;
  background: linear-gradient(180deg, rgba(0,0,0,0.01), rgba(0,0,0,0.02));
}

.day-header {
  font-weight: 600;
  color: var(--muted);
}

.day-number {
  color: var(--text);
  position: relative;
  font-weight: 600;
}

.day-current {
  background-color: var(--brand);
  color: white;
}

.day-event {
  background-color: rgba(139, 0, 0, 0.1);
}

.event-indicator {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  position: absolute;
  bottom: 8px;
  left: 12px;
}

/* Week View */
.week-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.week-day {
  text-align: center;
  padding: 5px;
}

.week-day.today {
  background-color: rgba(21,42,122,0.06);
  font-weight: 700;
  color: var(--brand);
}

.day-name {
  font-weight: 500;
  font-size: 12px;
}

.day-date {
  font-size: 11px;
  color: #666;
}

.week-events {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(4, 60px);
  gap: 5px;
  height: 250px;
}

.week-event {
  background-color: rgba(139, 0, 0, 0.1);
  border-left: 3px solid #8b0000;
  padding: 5px;
  border-radius: 4px;
  font-size: 11px;
}

.event-time {
  font-weight: 500;
  margin-bottom: 3px;
}

.event-title {
  color: #333;
}

/* Day View */
.day-header {
  margin-bottom: 10px;
}

.day-title {
  font-weight: 500;
  font-size: 14px;
  text-align: center;
}

.day-schedule {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.time-slot {
  display: flex;
  gap: 10px;
}

.time-label {
  width: 70px;
  font-size: 12px;
  color: #666;
  text-align: right;
}

.time-event {
  flex: 1;
  background-color: rgba(139, 0, 0, 0.1);
  border-left: 3px solid #8b0000;
  padding: 5px 10px;
  border-radius: 4px;
}

.event-location {
  font-size: 11px;
  color: #666;
  margin-top: 3px;
}

/* Donut Charts */
.donut-container {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.donut-chart-wrapper {
  text-align: center;
}

.donut-chart {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) 0% var(--donut-percent,45%), #f0f0f0 var(--donut-percent,45%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 800ms ease;
}

.donut-chart::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50%;
}

.donut-label {
  position: relative;
  z-index: 2;
  font-weight: bold;
  font-size: 16px;
  color: #333;
}

.donut-title {
  margin-top: 10px;
  font-size: 12px;
  color: #666;
}

.donut-second {
  background: conic-gradient(#8b0000 0% 35%, #f0f0f0 35% 100%);
}

.mini-line-chart {
  border-radius: 4px;
}

.mini-line-chart:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #ff0000;
  border-radius: 2px;
}

/* Charts Section */
.charts-section {
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 20px;
}

.chart-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.chart-legend {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.legend-item {
  font-size: 12px;
  color: #666;
}

.bar-chart-placeholder {
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 15px;
}

.bar-chart-placeholder .bar {
  flex: 1;
  background-color: var(--brand);
  height: 70%;
  border-radius: 6px 6px 0 0;
  transition: transform 300ms ease, opacity 300ms ease;
  transform: translateY(10px);
  opacity: 0;
}
.bar-chart-placeholder .bar.show {
  transform: translateY(0);
  opacity: 1;
}

.bar-chart-placeholder .bar:nth-child(2) {
  height: 90%;
}

.bar-chart-placeholder .bar:nth-child(3) {
  height: 60%;
}

.bar-chart-placeholder .bar:nth-child(4) {
  height: 80%;
}

.bar-chart-placeholder .bar:nth-child(5) {
  height: 50%;
}

.line-chart-placeholder {
  height: 200px;
  background: linear-gradient(180deg, rgba(255,0,0,0) 0%, rgba(255,0,0,0.1) 100%);
  position: relative;
  border-radius: 4px;
}

.line-chart-placeholder:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: #ff0000;
  border-radius: 3px;
}

.side-widgets {
  display: flex;
  flex-direction: column;
}

.donut-chart {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: conic-gradient(#8b0000 0% 45%, #f0f0f0 45% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.donut-inner {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-percent {
  font-size: 24px;
  font-weight: bold;
  color: #000000;
}

.donut-label {
  font-size: 12px;
  color: #666;
}

.chart-info p {
  margin: 5px 0;
  font-size: 14px;
  color: #666;
}

.chart-actions {
  margin-top: 15px;
  text-align: center;
}

.view-more {
  display: inline-block;
  padding: 8px 15px;
  background-color: #ff0000;
  color: white;
  border-radius: 20px;
  text-decoration: none;
  font-size: 12px;
}

.calendar {
  width: 100%;
}

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

.month-nav {
  cursor: pointer;
  color: #666;
}

.current-month {
  font-weight: bold;
}

.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  margin-bottom: 5px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.day {
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 50%;
}

.prev-month, .next-month {
  color: #ccc;
}

.current-day {
  background-color: #ff0000;
  color: white;
}
.dashboard-content {
  flex: 1;
  padding: 20px;
  margin-left: 50px;
  margin-top: -100px;
}

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

.content-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* KPI Cards Row */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.kpi-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

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

.kpi-value {
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

.kpi-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
}

.kpi-card.earnings {
  border-top: 3px solid #000000;
}

.kpi-card.shares {
  border-top: 3px solid #8b0000;
}

.kpi-card.likes {
  border-top: 3px solid #000000;
}

.kpi-card.rating {
  border-top: 3px solid #8b0000;
}

/* Charts Section */
.charts-section {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  gap: 20px;
}

.chart-container {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.chart-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.chart-badge {
  background-color: #8b0000;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.chart-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.chart-link {
  display: inline-block;
  padding: 8px 12px;
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

/* Bar Chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.bar {
  width: 8%;
  background-color: #000000;
  border-radius: 4px 4px 0 0;
}

.bar:nth-child(odd) {
  background-color: #8b0000;
}

/* Line Chart */
.line-chart {
  width: 100%;
  height: 100%;
}

/* Donut Chart */
.donut-chart {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(#8b0000 0% 45%, #f0f0f0 45% 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-inner {
  width: 80px;
  height: 80px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-label {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.donut-inner {
  width: 72px;
  height: 72px;
  background-color: var(--card);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(16,24,40,0.06);
}
.dashboard-header h2 {
  color: #333;
  margin: 0;
  font-size: 1.8rem;
}

.profile-icon img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #e74c3c;
}

/* User Dashboard Styles */
.dashboard-stats {
  margin-bottom: 30px;
}

/* KPI Cards Styling */
.kpi-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.kpi-card {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.kpi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--accent);
  border-radius: 3px 0 0 3px;
}

.kpi-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.kpi-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.kpi-content {
  flex: 1;
}

.kpi-content.wide {
  width: 100%;
}

.kpi-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 5px 0;
}

.kpi-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 5px 0;
}

.kpi-trend {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
}

.kpi-trend.positive {
  color: #00c853;
}

.kpi-trend.negative {
  color: #ff1744;
}

.kpi-trend.neutral {
  color: #757575;
}

.trend-arrow {
  margin-right: 5px;
  font-size: 1rem;
}

.purchase-card {
  background-color: #f8f4ff;
  grid-column: span 1;
}

.purchase-card form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.purchase-card select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background-color: white;
}

.purchase-btn {
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.purchase-btn:hover {
  background-color: #a51b1b;
}

.purchase-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: bold;
  width: 100%;
  transition: background 0.2s ease;
}

.purchase-btn:hover {
  background: #c0392b;
}

/* Bookings Table Styles */
.bookings-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-top: 20px;
}

.bookings-table th {
  background-color: #8b0000;
  color: white;
  text-align: left;
  padding: 12px 15px;
  font-weight: bold;
}

.bookings-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #f0f0f0;
}

.bookings-table tr:last-child td {
  border-bottom: none;
}

.bookings-table tr:hover {
  background-color: #f9f9f9;
}

.cancel-btn {
  background: #8b0000;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cancel-btn:hover {
  background: #c0392b;
}

.no-bookings {
  text-align: center;
  padding: 20px;
  color: #666;
  font-style: italic;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.purchase-btn:hover {
  background: #c0392b;
}

.booking-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  color: #666;
  transition: all 0.2s ease;
  position: relative;
}

.tab-btn:hover {
  color: #e74c3c;
}

.tab-btn.active {
  color: #e74c3c;
  border-bottom: 2px solid #e74c3c;
}

.bookings-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-left: 70px;
  margin-right: 20px;
}

.bookings-section h3 {
  margin-top: 0;
  color: #333;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.bookings-list {
  display: grid;
  gap: 15px;
}

.hidden {
  display: none;
}

.booking-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
  border-left: 4px solid #3498db;
}

.booking-card:hover {
  transform: translateY(-3px);
}

.booking-info h4 {
  margin: 0 0 5px 0;
  color: #333;
}

.booking-date {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

.cancel-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cancel-btn:hover {
  background: #c0392b;
}

.no-bookings {
  text-align: center;
  color: #666;
  padding: 20px;
  font-style: italic;
  background: #f9f9f9;
  border-radius: 8px;
}

.cancel-btn {
  background: #f44336;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.no-bookings {
  text-align: center;
  color: #666;
  padding: 20px;
}

/* Studio Dashboard Styles */
.dashboard-actions {
  margin-bottom: 30px;
}

.action-btn {
  display: inline-block;
  background: #4CAF50;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.dashboard-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

/* Studio dashboard dark mode fixes */
.studio-dashboard-container {
  background: #111;
  color: #fff;
}
.studio-dashboard-container h2,
.studio-dashboard-container h3,
.studio-dashboard-container h4,
.studio-dashboard-container label,
.studio-dashboard-container .stat-label,
.studio-dashboard-container .stat-value,
.studio-dashboard-container .summary-card,
.studio-dashboard-container .dashboard-header,
.studio-dashboard-container .dashboard-actions,
.studio-dashboard-container .class-form,
.studio-dashboard-container .calendar-section {
  color: #fff !important;
}
.studio-dashboard-container input,
.studio-dashboard-container select,
.studio-dashboard-container textarea {
  background: #222 !important;
  color: #fff !important;
  border: 1px solid #444 !important;
}
.studio-dashboard-container table {
  color: #fff !important;
  background: #222 !important;
}
.studio-dashboard-container th,
.studio-dashboard-container td {
  color: #fff !important;
  background: #222 !important;
  border-color: #333 !important;
}
.studio-dashboard-container .submit-btn,
.studio-dashboard-container .add-class-btn,
.studio-dashboard-container .view-details {
  background: #b82929 !important;
  color: #fff !important;
  border: none;
}
.studio-dashboard-container .submit-btn:hover,
.studio-dashboard-container .add-class-btn:hover {
  background: #c34444 !important;
}
/* Ensure table and form content is visible and not clipped */
.studio-dashboard-container .class-form,
.studio-dashboard-container table {
  overflow-x: auto;
}

@media (max-width: 900px) {
  .dashboard-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .calendar-section, .class-management {
    min-width: 0;
    width: 100%;
    overflow: visible;
  }
}

@media (max-width: 600px) {
  .dashboard-main {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .calendar-section, .class-management {
    padding: 0;
    font-size: 1rem;
  }
  .class-form {
    padding: 10px;
  }
}

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

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day {
  border: 1px solid #ddd;
  padding: 10px;
  min-height: 100px;
}

.day-number {
  display: block;
  text-align: right;
  font-weight: bold;
  margin-bottom: 5px;
}

.day-class {
  background: #e3f2fd;
  padding: 5px;
  border-radius: 3px;
  margin-bottom: 5px;
  font-size: 0.8rem;
}

.class-form {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.submit-btn {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

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

.summary-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.summary-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
}

.view-details {
  display: block;
  text-align: center;
  margin-top: 15px;
  color: #4CAF50;
  text-decoration: none;
  font-weight: 500;
}
