.embed-calendar {
  box-sizing: border-box;
  min-height: 320px;
  padding: 16px;
  background: var(--embed-calendar-background, #ffffff);
  color: var(--embed-calendar-header-text, #1f2937);
  font-family: Arial, Helvetica, sans-serif; }

.embed-calendar *,
.embed-calendar *::before,
.embed-calendar *::after {
  box-sizing: inherit; }

.embed-calendar__toolbar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px; }

.embed-calendar--table-view .embed-calendar__toolbar {
  grid-template-columns: 1fr; }
.embed-calendar--table-view .embed-calendar__nav {
  display: none; }

.embed-calendar__title {
  overflow: hidden;
  color: var(--embed-calendar-header-text, #1f2937);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap; }

.embed-calendar__nav {
  width: 44px;
  height: 40px;
  border: 1px solid var(--embed-calendar-border, #d8dee9);
  border-radius: 8px;
  background: var(--embed-calendar-header-background, #f4f7fb);
  color: var(--embed-calendar-header-text, #1f2937);
  cursor: pointer;
  font-size: 28px;
  line-height: 1; }

.embed-calendar__nav:disabled {
  cursor: not-allowed;
  opacity: .35; }

.embed-calendar__status {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid var(--embed-calendar-border, #d8dee9);
  border-radius: 8px;
  color: var(--embed-calendar-muted-text, #667085);
  font-size: 14px;
  text-align: center; }

.embed-calendar__status[hidden] {
  display: none; }

.embed-calendar__status--error {
  border-color: #f1b6b6;
  background: #fff5f5;
  color: #b42318; }

.embed-calendar__filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px; }

.embed-calendar__filters[hidden] {
  display: none; }

.embed-calendar__filter-label {
  display: block;
  margin-bottom: 4px;
  color: var(--embed-calendar-muted-text, #667085);
  font-size: 12px;
  font-weight: 700; }

.embed-calendar__filter-select {
  width: 100%;
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid var(--embed-calendar-border, #d8dee9);
  border-radius: 8px;
  background: #ffffff;
  color: var(--embed-calendar-header-text, #1f2937);
  font-size: 13px; }

.embed-calendar__grid {
  overflow-x: auto; }

.embed-calendar__weekday-filter {
  position: relative; }

.embed-calendar__weekday-toggle {
  width: 100%;
  min-height: 36px;
  overflow: hidden;
  padding: 6px 30px 6px 8px;
  border: 1px solid var(--embed-calendar-border, #d8dee9);
  border-radius: 8px;
  background: #ffffff;
  color: var(--embed-calendar-header-text, #1f2937);
  cursor: pointer;
  font-size: 13px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap; }

.embed-calendar__weekday-toggle::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: '';
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg); }

.embed-calendar__weekday-panel {
  position: absolute;
  z-index: 10;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  max-height: 220px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--embed-calendar-border, #d8dee9);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12); }

.embed-calendar__weekday-panel[hidden] {
  display: none; }

.embed-calendar__weekday-option {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--embed-calendar-header-text, #1f2937);
  cursor: pointer;
  font-size: 13px; }

.embed-calendar__weekday-option:hover {
  background: var(--embed-calendar-header-background, #f4f7fb); }

.embed-calendar__weekday-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--embed-calendar-header-text, #1f2937); }

.embed-calendar__table {
  width: 100%;
  min-width: 860px;
  border-spacing: 0;
  table-layout: fixed; }

.embed-calendar__table th {
  padding: 12px 8px;
  border: 1px solid var(--embed-calendar-border, #d8dee9);
  border-left: 0;
  background: var(--embed-calendar-header-background, #f4f7fb);
  color: var(--embed-calendar-header-text, #1f2937);
  text-align: center;
  vertical-align: top; }

.embed-calendar__table th:first-child,
.embed-calendar__table td:first-child {
  border-left: 1px solid var(--embed-calendar-border, #d8dee9); }

.embed-calendar__weekday {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: capitalize; }

.embed-calendar__date {
  display: block;
  margin-top: 4px;
  color: var(--embed-calendar-muted-text, #667085);
  font-size: 12px;
  font-weight: 600; }

.embed-calendar__day {
  height: 100%;
  min-height: 220px;
  padding: 8px;
  border-right: 1px solid var(--embed-calendar-border, #d8dee9);
  border-bottom: 1px solid var(--embed-calendar-border, #d8dee9);
  vertical-align: top; }

.embed-calendar__day--disabled {
  background: rgba(0, 0, 0, 0.03); }

.embed-calendar__event {
  display: block;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--embed-calendar-event-background, #355cc9);
  color: var(--embed-calendar-event-text, #ffffff);
  text-decoration: none; }

.embed-calendar__event:focus,
.embed-calendar__event:hover {
  color: var(--embed-calendar-event-text, #ffffff);
  filter: brightness(0.96);
  outline: 2px solid var(--embed-calendar-border, #d8dee9);
  outline-offset: 2px;
  text-decoration: none; }

.embed-calendar__event--past,
.embed-calendar__event--past:focus,
.embed-calendar__event--past:hover {
  background: var(--embed-calendar-past-event-background, #e5e7eb);
  color: var(--embed-calendar-past-event-text, #6b7280);
  cursor: default;
  filter: none;
  outline: 0; }

.embed-calendar__event-time,
.embed-calendar__event-title,
.embed-calendar__event-course,
.embed-calendar__event-location,
.embed-calendar__event-trainer,
.embed-calendar__event-spots {
  display: block; }

.embed-calendar__event-time {
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700; }

.embed-calendar__event-course,
.embed-calendar__event-location,
.embed-calendar__event-trainer,
.embed-calendar__event-spots {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.3;
  opacity: .88; }

.embed-calendar__event-primary {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25; }

.embed-calendar__event-trainer {
  display: flex;
  gap: 6px;
  align-items: center; }

.embed-calendar__event-trainer-image {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  object-fit: cover; }

.embed-calendar__empty {
  padding: 14px 8px;
  color: var(--embed-calendar-muted-text, #667085);
  font-size: 13px;
  text-align: center; }

.embed-calendar__list-table {
  width: 100%;
  min-width: 860px;
  border-spacing: 0;
  border-collapse: collapse;
  color: var(--embed-calendar-header-text, #1f2937);
  table-layout: fixed; }

.embed-calendar__list-table th,
.embed-calendar__list-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--embed-calendar-border, #d8dee9);
  font-size: 14px;
  line-height: 1.35;
  vertical-align: middle; }

.embed-calendar__list-table thead th {
  border-bottom: 2px solid var(--embed-calendar-background, #ffffff);
  background: var(--embed-calendar-header-background, #f4f7fb);
  color: var(--embed-calendar-header-text, #1f2937);
  font-size: 15px;
  font-weight: 700;
  text-align: center; }

.embed-calendar__list-day th {
  padding: 12px;
  background: var(--embed-calendar-header-background, #f4f7fb);
  color: var(--embed-calendar-header-text, #1f2937);
  font-weight: 700;
  text-align: left; }

.embed-calendar__list-row--past {
  color: var(--embed-calendar-past-event-text, #6b7280); }

.embed-calendar__list-trainer {
  display: inline-flex;
  gap: 10px;
  align-items: center; }

.embed-calendar__list-trainer-image {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid var(--embed-calendar-border, #d8dee9);
  border-radius: 50%;
  object-fit: cover; }

.embed-calendar__list-event-title,
.embed-calendar__list-event-course {
  display: block; }

.embed-calendar__list-event-course:not(.embed-calendar__event-primary) {
  margin-top: 3px;
  color: var(--embed-calendar-muted-text, #667085); }

.embed-calendar__list-action-cell {
  text-align: right; }

.embed-calendar__list-spots-cell {
  text-align: center; }

.embed-calendar__list-action {
  display: inline-flex;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: var(--embed-calendar-header-background, #f4f7fb);
  color: var(--embed-calendar-header-text, #1f2937);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap; }

.embed-calendar__list-badge {
  display: inline-flex;
  margin-top: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--embed-calendar-header-background, #f4f7fb);
  color: var(--embed-calendar-header-text, #1f2937);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap; }

.embed-calendar__list-action:focus,
.embed-calendar__list-action:hover {
  color: var(--embed-calendar-header-text, #1f2937);
  filter: brightness(0.96);
  outline: 2px solid var(--embed-calendar-border, #d8dee9);
  outline-offset: 2px;
  text-decoration: none; }

@media (max-width: 720px) {
  .embed-calendar {
    padding: 10px; }

  .embed-calendar__grid {
    overflow-x: visible; }

  .embed-calendar__filters {
    grid-template-columns: 1fr; }

  .embed-calendar__table,
  .embed-calendar__table thead,
  .embed-calendar__table tbody,
  .embed-calendar__table tr,
  .embed-calendar__table th,
  .embed-calendar__table td {
    display: block;
    width: 100%;
    min-width: 0; }

  .embed-calendar__table thead {
    display: none; }

  .embed-calendar__day {
    min-height: 0;
    margin-bottom: 12px;
    border: 1px solid var(--embed-calendar-border, #d8dee9);
    border-radius: 8px; }

  .embed-calendar__day::before {
    display: block;
    margin-bottom: 8px;
    color: var(--embed-calendar-header-text, #1f2937);
    content: attr(data-label);
    font-size: 14px;
    font-weight: 700; }

  .embed-calendar__list-table,
  .embed-calendar__list-table thead,
  .embed-calendar__list-table tbody,
  .embed-calendar__list-table tr,
  .embed-calendar__list-table th,
  .embed-calendar__list-table td {
    display: block;
    width: 100%;
    min-width: 0; }

  .embed-calendar__list-table {
    border-collapse: separate; }

  .embed-calendar__list-table thead {
    display: none; }

  .embed-calendar__list-day th {
    margin-top: 12px;
    border-radius: 8px; }

  .embed-calendar__list-row {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid var(--embed-calendar-border, #d8dee9);
    border-radius: 8px; }

  .embed-calendar__list-table td {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border-bottom: 0; }

  .embed-calendar__list-table td::before {
    color: var(--embed-calendar-muted-text, #667085);
    content: attr(data-label);
    font-size: 12px;
    font-weight: 700; }

  .embed-calendar__list-action-cell {
    display: block;
    padding-top: 10px;
    text-align: left; }

  .embed-calendar__list-spots-cell {
    text-align: left; }

  .embed-calendar__list-action-cell::before {
    content: none; } }

/*# sourceMappingURL=embed-calendar.css.map */
