.mm-control-hidden {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.mm-select,
.mm-date {
  position: relative;
  width: 100%;
}

.mm-select-trigger,
.mm-date-trigger {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e3f0;
  border-radius: 14px;
  color: #071431;
  display: flex;
  font: inherit;
  font-weight: 600;
  gap: 10px;
  min-height: 44px;
  justify-content: space-between;
  padding: 10px 14px;
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  width: 100%;
}

.mm-select-trigger:hover,
.mm-date-trigger:hover {
  border-color: #b8c7dd;
}

.mm-select.open .mm-select-trigger,
.mm-date.open .mm-date-trigger,
.mm-select-trigger:focus,
.mm-date-trigger:focus {
  border-color: #7b61ff;
  box-shadow: 0 0 0 4px rgba(123, 97, 255, .16);
  outline: none;
}

.mm-control-icon {
  color: #53617d;
  flex: 0 0 auto;
  height: 18px;
  transition: transform .18s ease;
  width: 18px;
}

.mm-select.open .mm-control-icon {
  transform: rotate(180deg);
}

.mm-select-menu,
.mm-date-panel {
  background: #fff;
  border: 1px solid #dce6f4;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
  left: 0;
  margin-top: 8px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 100%;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 50;
}

.mm-select.open .mm-select-menu,
.mm-date.open .mm-date-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mm-select-options {
  max-height: 260px;
  overflow: auto;
  padding: 6px;
}

.mm-select-option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 11px;
  color: #071431;
  display: flex;
  font: inherit;
  font-weight: 600;
  justify-content: space-between;
  min-height: 42px;
  padding: 9px 11px;
  text-align: left;
  width: 100%;
}

.mm-select-option:hover,
.mm-select-option.active {
  background: #f0edff;
  color: #5b45f6;
}

.mm-select-option.active::after {
  color: #5b45f6;
  content: "✓";
  font-weight: 900;
}

.mm-date-panel {
  padding: 12px;
  width: min(292px, calc(100vw - 32px));
}

.mm-date-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mm-date-title {
  color: #071431;
  font-size: 15px;
  font-weight: 700;
}

.mm-date-nav {
  align-items: center;
  background: #f7f9fd;
  border: 1px solid #dde7f4;
  border-radius: 10px;
  color: #071431;
  display: inline-flex;
  font-size: 14px;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.mm-date-weekdays,
.mm-date-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.mm-date-weekdays span {
  color: #66728a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 0 5px;
  text-align: center;
}

.mm-date-day {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #071431;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  height: 30px;
  justify-content: center;
}

.mm-date-day:hover {
  background: #f4f6fb;
  border-color: #e1e8f3;
}

.mm-date-day.muted {
  color: #b9c1cf;
  font-weight: 500;
}

.mm-date-day.today {
  border-color: #8b73ff;
  color: #5b45f6;
}

.mm-date-day.selected {
  background: #7557ff;
  border-color: #7557ff;
  color: #fff;
}

.appointment-bar .mm-select-trigger,
.appointment-bar .mm-date-trigger {
  border-radius: 12px !important;
  font-size: 14px !important;
  min-height: 38px !important;
  padding-block: 7px !important;
}

.website-admin-shell .mm-select-trigger,
.website-admin-shell .mm-date-trigger {
  background: #f8fbff;
}

.app-toast-stack {
  display: grid;
  gap: 12px;
  position: fixed;
  right: 22px;
  top: 86px;
  width: min(420px, calc(100vw - 32px));
  z-index: 2000;
}

.app-toast {
  align-items: start;
  animation: appToastIn .22s ease-out;
  background: #fff;
  border: 1px solid #dce6f4;
  border-left: 5px solid #7557ff;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
  color: #071431;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 15px 15px 15px 14px;
}

.app-toast.success {
  border-left-color: #14b8a6;
}

.app-toast.error {
  border-left-color: #ef4444;
}

.app-toast-icon {
  align-items: center;
  background: #eee9ff;
  border-radius: 999px;
  color: #5b45f6;
  display: inline-flex;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.app-toast.success .app-toast-icon {
  background: #dcfbf4;
  color: #0f917f;
}

.app-toast.error .app-toast-icon {
  background: #fee2e2;
  color: #dc2626;
}

.app-toast strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.app-toast p {
  color: #53617d;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.app-toast-close {
  align-items: center;
  background: #f7f9fd;
  border: 1px solid #e1e8f3;
  border-radius: 999px;
  color: #66728a;
  display: inline-flex;
  font-size: 18px;
  height: 30px;
  justify-content: center;
  line-height: 1;
  width: 30px;
}

.app-toast.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
}

@keyframes appToastIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .app-toast-stack {
    left: 16px;
    right: 16px;
    top: 74px;
    width: auto;
  }
}
