/* Queonda Schedule Widget Styles */

.qs-wrapper {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #242424;
  background-color: #fff;
}

/* --- Desktop Grid --- */
.qs-desktop-view {
  display: none;
  /* Hidden by default (mobile first) */
  overflow-x: auto;
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .qs-desktop-view {
    display: block;
  }
}

.qs-container {
  min-width: 800px;
  background-color: #fff;
  border-radius: 1rem;
  /* rounded-2xl */
  border: 1px solid #d1d5db;
  /* border-gray-300 */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-sm */
  overflow: hidden;
}

/* Grid Layout */
.qs-grid-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  text-align: center;
  border-bottom: 1px solid #d1d5db;
  /* border-gray-300 */
}

.qs-grid-header {
  background-color: #f9fafb;
  /* bg-gray-50 */
}

.qs-header-cell,
.qs-time-cell,
.qs-day-cell {
  padding: 1rem;
}

.qs-header-time {
  font-weight: 700;
  color: #9ca3af;
  /* text-gray-400 */
  font-size: 0.875rem;
  /* text-sm */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  /* tracking-wider */
}

.qs-header-day {
  font-weight: 700;
  color: #242424;
  /* text-dark */
}

.qs-content-row {
  min-height: 100px;
}

.qs-time-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background-color: rgba(249, 250, 251, 0.5);
  /* bg-gray-50/50 */
  /* Color handled by inline style/custom class */
}

.qs-day-column {
  padding: 0.5rem;
  border-right: 1px solid #d1d5db;
  /* border-gray-300 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.qs-day-column:last-child {
  border-right: none;
}

.qs-day-column.qs-empty {
  background-color: #f9fafb;
  /* bg-gray-50 */
}

/* Schedule Card (Desktop) */
.qs-card-desktop {
  width: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0.25rem;
  border-radius: 0.5rem;
  /* rounded-lg */
  padding: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-sm */
  /* Background handled by inline style */
}

.qs-card-desktop:hover {
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.qs-card-title {
  font-weight: 700;
  font-size: 1rem;
  /* text-md (approx) */
  line-height: 1.25;
}

.qs-card-time {
  font-size: 0.75rem;
  /* text-xs */
  opacity: 0.9;
  margin-top: 0.25rem;
}

.qs-card-desc {
  font-size: 0.625rem;
  /* ~10px */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  opacity: 0.75;
}

/* --- Mobile List --- */
.qs-mobile-view {
  display: block;
}

@media (min-width: 768px) {
  .qs-mobile-view {
    display: none;
  }
}

.qs-mobile-group {
  margin-bottom: 2rem;
  /* space-y-8 approx */
  animation: qsFadeInUp 0.5s ease-out;
}

@keyframes qsFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qs-mobile-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  /* gap-3 */
  margin-bottom: 1rem;
}

.qs-mobile-accent {
  width: 0.5rem;
  height: 2rem;
  border-radius: 9999px;
  /* Background handled by inline style */
}

.qs-mobile-title {
  font-weight: 700;
  font-size: 1.5rem;
  /* text-2xl */
  color: #242424;
  /* text-dark */
  margin: 0;
}

.qs-mobile-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  /* space-y-3 */
}

.qs-card-mobile {
  background-color: #fff;
  padding: 1.25rem;
  /* p-5 */
  border-radius: 1rem;
  /* rounded-2xl */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  /* shadow-sm */
  border: 1px solid #d1d5db;
  /* border-gray-300 */
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow 0.2s ease;
}

.qs-card-mobile:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.qs-mobile-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* gap-2 */
  margin-bottom: 0.25rem;
  /* mb-1 */
}

.qs-mobile-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  /* Background handled by inline style */
}

.qs-mobile-card-title {
  font-weight: 700;
  font-size: 1.125rem;
  /* text-lg */
  color: #242424;
  /* text-dark */
  margin: 0;
}

.qs-mobile-card-desc {
  font-size: 0.875rem;
  /* text-sm */
  color: #6b7280;
  /* text-gray-500 */
  display: flex;
  align-items: center;
  gap: 0.25rem;
  /* gap-1 */
  margin: 0;
}

.qs-mobile-time-badge {
  font-size: 0.875rem;
  /* text-sm */
  font-weight: 700;
  background-color: #f7fee7;
  /* bg-lime-50 */
  padding: 0.25rem 0.75rem;
  /* px-3 py-1 */
  border-radius: 9999px;
  /* Color handled by inline style */
}