.dashboard-welcome {
  max-width: 850px;
  margin: 2rem auto 1rem auto;
  padding: 2rem;
  border-radius: 1rem;
  background-color: #fdfdfd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}

.dashboard-welcome .welcome-title {
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}

.booking-option-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
}

.mud-tabs {
  display: flex;
  justify-content: center;
  width: 100%;
}

.mud-tabs-tabbar {
  display: flex;
  justify-content: center;
  width: auto !important;
  margin-bottom: 1.4rem !important;
}

.mud-tabs-tabbar-inner {
  display: flex;
  justify-content: center;
  flex-grow: 0;
}

.mud-tabs-tabbar-content {
  display: flex;
  justify-content: center;
  flex-grow: 0;
}

.mud-tabs-tabbar-wrapper {
  display: inline-flex;
  width: auto !important;
}

.mud-table-cell {
  text-align: center !important;
}

.mud-table-row .column-header {
  text-align: center !important;
}

.upcoming-calendar-wrapper {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.03);
}

.calendar-controls {
  max-width: 300px;
  margin: 0 auto 1rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mud-calendar {
  min-height: 450px !important;
  border-radius: 8px;
  overflow-x: auto;
}

.mud-calendar .mud-day {
  padding: 2px;
  min-width: 100px;
}

.mud-calendar .mud-day-header {
  font-size: 0.85rem;
  padding: 4px;
}

.mud-calendar .mud-event {
  background-color: var(--accent-orange);
  color: #fff;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.responsive-calendar,
.mud-calendar {
  min-height: 450px !important;
  max-height: 75vh;
  border-radius: 8px;
  overflow-x: auto;
}

/* @media screen and (max-width: 1920px) {
  .responsive-calendar,
  .mud-calendar {
    min-height: 500px !important;
    max-height: 68vh;
  }
} */

@media screen and (max-width: 1366px) {
  .responsive-calendar,
  .mud-calendar {
    min-height: 380px !important;
    max-height: 68vh;
  }
}

@media screen and (max-width: 1280px) {
  .responsive-calendar,
  .mud-calendar {
    min-height: 340px !important;
    max-height: 65vh;
  }
}

@media screen and (max-width: 1024px) {
  .responsive-calendar,
  .mud-calendar {
    min-height: 300px !important;
    max-height: 60vh;
  }
}

@media screen and (max-width: 600px) {
  .responsive-calendar,
  .mud-calendar {
    min-height: 250px !important;
    max-height: 55vh;
  }
}

/* Booking Options and Request Form */
.booking-options-grid,
.user-dashboard-request {
  background-color: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.06);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0 auto;
}

.booking-options-grid {
  max-width: 100%;
  margin: 0;
}

.single-session {
  border-left: 5px solid #9e9e9e;
}

.session-pack {
  border-left: 5px solid #2196f3;
}

.subscription {
  border-left: 5px solid #4caf50;
}

.option-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.option-card:hover {
  transform: scale(1.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.option-card.selected.single-session {
  border: 2px solid #9e9e9e;
}

.option-card.selected.session-pack {
  border: 2px solid #1976d2;
}

.option-card.selected.subscription {
  border: 2px solid #388e3c;
}

.user-dashboard-request {
  max-width: 100%;
  margin: 0;
}

.user-dashboard-request .mud-button {
  background-color: #ff6200;
  color: #fff;
  font-weight: bold;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease-in-out;
  margin-top: 1rem;
}

.user-dashboard-request .mud-button:hover {
  background-color: #e55a00;
}

/* Sessions and Chat */
.session-filters-wrapper {
  max-width: 900px;
  margin: 2rem auto 1rem auto;
  padding: 0 1rem;
}

.sessions-wrapper .mud-table {
  margin: 1rem auto 3rem auto;
  max-width: 900px;
  border-radius: 1rem;
  background-color: #fff;
}

.chat-wrapper {
  max-width: 900px;
  margin: 2rem auto 1rem auto;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: #fafafa;
}

.ai-chat-messages {
  height: 600px;
  width: 100%;
  overflow-y: auto;
  box-sizing: border-box;
  border: 2px dotted #e6e6fa;
  border-radius: 12px;
  background-color: #ffffff;
  padding: 1rem;
}

.ai-chat-messages .user-message {
  margin-left: auto;
  margin-right: 5%;
  background-color: #e3f2fd;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  width: fit-content;
  font-size: small;
}

.ai-chat-messages .bot-message {
  margin-right: auto;
  margin-left: 5%;
  background-color: #f5f5f5;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  width: fit-content;
}

.ai-chat-messages .mud-card {
  max-width: 70%;
  word-break: break-word;
  white-space: normal;
}

.chat-input-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.chat-input {
  flex-grow: 1;
  min-width: 100%;
  max-width: 100%;
}

.clear-chat-button {
  background-color: #ff6200 !important;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.8rem;
  transition: background-color 0.2s ease-in-out;
}

.clear-chat-button:hover {
  background-color: #e55a00;
}

@media (max-width: 960px) {
  .upcoming-calendar-wrapper {
      max-width: 100%;
      padding: 0.5rem;
  }

  .mud-calendar .mud-day {
      min-width: 80px;
  }

  .mud-calendar .mud-day-header {
      font-size: 0.75rem;
  }

  .mud-calendar .mud-event {
      font-size: 0.7rem;
      padding: 1px 2px;
  }

  .chat-wrapper {
      padding: 1rem;
  }

  .ai-chat-messages .mud-card {
      max-width: 90%;
  }

  .ai-chat-messages .user-message {
      margin-left: 10%;
  }

  .ai-chat-messages .bot-message {
      margin-right: 10%;
  }

  .chat-input {
      min-width: 100%;
  }
}

@media (max-width: 600px) {
  .dashboard-welcome {
      padding: 1rem;
  }

  .booking-options-grid,
  .user-dashboard-request {
      padding: 1rem;
  }

  .mud-calendar .mud-day {
      min-width: 60px;
  }

  .mud-calendar .mud-day-header {
      font-size: 0.65rem;
  }

  .mud-calendar .mud-event {
      font-size: 0.6rem;
  }
}

/* User Session Dialog*/

.contact-support-btn {
  font-size: 0.8rem !important;
}
/* Payment Cancelled */
#payment-cancelled {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
}

.cancelled-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.cancelled-title {
  margin-bottom: 1rem;
  color: #d32f2f;
  font-weight: 600;
}

.cancelled-message {
  margin-bottom: 2rem;
  color: #555;
}

.return-button {
  width: 100%;
}

/* Payment Cancelled */
#payment-status {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 75vh;
  padding: 2rem;
  background-color: #f9f9f9;
}

.payment-box {
  max-width: 480px;
  width: 100%;
}

.payment-box .mud-paper {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.payment-box .mud-text {
  margin-bottom: 1rem;
}

.payment-box .mud-alert {
  width: 100%;
}

.payment-box .mud-button {
  margin-top: 1rem;
  width: 100%;
  max-width: 240px;
}
