.dashboard {
  min-height: 100vh;
  background: #ffffff;
  padding: 0;
  box-sizing: border-box;
}

.dashboard-header {
  background: white;
  padding: 20px 40px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: none;
}

.dashboard-header h1 {
  margin: 0;
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.logout-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.logout-btn:hover {
  background: #c82333;
}

.date-section {
    padding: 24px 40px 24px 40px;
    background: transparent;
    margin: 0;
    display: flex;
    justify-content: center;
}

.date-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.date-display h2 {
  margin: 0;
  color: #000000;
  font-size: 40px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  line-height: 40px;
}

.date-btn {
  background: #000000;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  min-height: 80px;
}

.date-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.date-btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.date-btn-main {
  font-size: 20px;
  font-weight: 400;
  line-height: 14px;
}

.date-btn-sub {
  font-size: 18px;
  font-weight: 400;
  color: #eeeeee;
  line-height: 40px;
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 14px;
}

.calendar-icon {
  font-size: 24px;
  color: white;
}

.loading {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
}

.dashboard-content {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.main-content {
  /* stack sections vertically */
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 20px 40px 20px;
}

.tables-section {
  background: transparent;
  padding: 0;
}

.guest-form-section {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

small.date-display-subtitle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    gap: 8px;
}

@media (min-width: 1200px) {
  .main-content { flex-direction: column; }
}

@media (max-width: 768px) {
  .dashboard-header {
    padding: 15px 20px;
  }
  
  .dashboard-content {
    padding: 0 10px;
  }
  
  .date-section {
    padding: 24px 16px 16px 16px;
  }
  
  .main-content {
    gap: 20px;
    padding: 0 10px 24px 10px;
  }
  
  .guest-form-section {
    padding: 20px;
  }
  
  .date-display {
    align-items: flex-start;
    gap: 12px;
  }
  
  .date-display h2 {
    font-size: 28px;
  }
}

/* Main Navigation Tabs */
.main-nav-tabs {
  display: flex;
  justify-content: center;
  padding: 0 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e1e5e9;
}

.main-nav-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
  font-family: 'Poppins', sans-serif;
}

.main-nav-tab:hover {
  color: #007bff;
  background: rgba(0, 123, 255, 0.05);
}

.main-nav-tab.active {
  color: #007bff;
  border-bottom-color: #007bff;
}

.main-nav-tab svg {
  transition: all 0.2s ease;
}

.main-nav-tab:hover svg,
.main-nav-tab.active svg {
  color: #007bff;
}

/* Main Sections */
.main-section {
  display: none;
}

.main-section.active {
  display: block;
}

/* Responsive for main nav */
@media (max-width: 768px) {
  .main-nav-tabs {
    padding: 0 20px;
  }
  
  .main-nav-tab {
    padding: 14px 20px;
    font-size: 14px;
  }
}