/* ============================================================
   Everything Dancing Ã¢â‚¬â€ Providers Dashboard
   File: public/assets/css/providers-dashboard.css
   Purpose: Provider-first business control centre UI
   ============================================================ */

.w2d-providers-dashboard {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 18px 56px;
  color: #191D2B;
  font-family: inherit;
}

body:has(.w2d-providers-dashboard--branch) .entry-title,
body:has(.w2d-providers-dashboard--branch) .page-title,
body:has(.w2d-providers-dashboard--branch) .wp-block-post-title {
  display: none !important;
}

@media (min-width: 861px) {
  .w2d-providers-dashboard--branch {
    width: min(1180px, calc(100vw - 160px)) !important;
    max-width: min(1180px, calc(100vw - 160px)) !important;
    padding-top: 0 !important;
    position: relative;
    left: 0 !important;
    transform: none !important;
  }
}

.w2d-providers-dashboard--branch {
  padding-top: 0 !important;
}

/* Dashboard header */

.w2d-dashboard-hero {
  margin-bottom: 24px;
}

.w2d-dashboard-eyebrow,
.w2d-section-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7f1740;
}

.w2d-dashboard-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: #191D2B;
}

.w2d-dashboard-subtitle {
  max-width: 640px;
  margin: 10px 0 0;
  color: rgba(17, 24, 39, .58);
  font-size: 16px;
  line-height: 1.55;
}

/* Notices / empty states */

.w2d-dashboard-notice,
.w2d-dashboard-empty,
.w2d-dashboard-help {
  border: 1px solid rgba(17, 24, 39, .08);
  background: rgba(255, 255, 255, .88);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.w2d-dashboard-notice {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.w2d-dashboard-notice strong {
  font-size: 15px;
}

.w2d-dashboard-notice span {
  font-size: 14px;
  color: rgba(17, 24, 39, .62);
}

.w2d-dashboard-notice.is-success {
  border-color: rgba(16, 185, 129, .18);
  background: rgba(236, 253, 245, .82);
}

.w2d-dashboard-notice.is-error {
  border-color: rgba(239, 68, 68, .20);
  background: rgba(254, 242, 242, .86);
}

.w2d-dashboard-notice.is-warning {
  border-color: rgba(245, 158, 11, .22);
  background: rgba(255, 251, 235, .88);
}

.w2d-dashboard-empty {
  padding: 28px;
}

.w2d-dashboard-empty h2,
.w2d-dashboard-empty h3 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.w2d-dashboard-empty p {
  margin: 0 0 18px;
  color: rgba(17, 24, 39, .62);
}

.w2d-dashboard-empty__actions,
.w2d-dashboard-empty__subscription {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.w2d-dashboard-empty__subscription {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 24, 39, .08);
}

.w2d-dashboard-muted-note {
  font-size: 14px;
  font-weight: 700;
  color: rgba(17, 24, 39, .52);
}

.w2d-dashboard-help {
  margin-top: 22px;
  padding: 16px 18px;
}

.w2d-dashboard-help p {
  margin: 0;
  font-size: 14px;
  color: rgba(17, 24, 39, .60);
}

/* Provider stack */

.w2d-provider-stack {
  display: grid;
  gap: 26px;
}

.w2d-provider-panel {
  display: grid;
  gap: 16px;
}

/* Provider card */

.w2d-provider-card {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(219, 148, 40, .08), transparent 38%),
    rgba(255, 255, 255, .92);
  box-shadow:
    0 18px 46px rgba(15, 23, 42, .075),
    0 1px 2px rgba(15, 23, 42, .04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: visible;
}

.w2d-provider-card__avatar {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: linear-gradient(135deg, #7f1740, #db9428);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(17, 24, 39, .14);
}

.w2d-provider-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.w2d-provider-card__main {
  min-width: 0;
  display: grid;
  gap: 13px;
}

.w2d-provider-card__eyebrow {
  margin: 0 0 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7f1740;
}

.w2d-provider-card__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #191D2B;
}

.w2d-provider-card__tagline {
  margin: 8px 0 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(17, 24, 39, .66);
}

.w2d-provider-card__location {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(17, 24, 39, .50);
}

/* Social links */

.w2d-provider-social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.w2d-provider-social__link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .045);
  border: 1px solid rgba(17, 24, 39, .06);
  color: rgba(17, 24, 39, .72);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.w2d-provider-social__link:hover {
  background: rgba(17, 24, 39, .06);
  color: #191D2B;
}

/* Provider actions */

.w2d-provider-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.w2d-business-settings {
  position: relative;
  display: inline-flex;
}

.w2d-business-settings > summary {
  list-style: none;
}

.w2d-business-settings > summary::-webkit-details-marker {
  display: none;
}

.w2d-business-settings[open] > summary {
  border-color: rgba(124, 58, 237, .22);
  background: rgba(124, 58, 237, .08);
  color: #5b21b6;
}

.w2d-business-settings__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 12px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(124, 58, 237, .08), transparent 34%),
    rgba(255, 255, 255, .96);
  box-shadow: 0 22px 54px rgba(49, 28, 92, .18);
  color: #191D2B;
}

.w2d-business-settings__panel::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 28px;
  width: 14px;
  height: 14px;
  border-left: 1px solid rgba(17, 24, 39, .10);
  border-top: 1px solid rgba(17, 24, 39, .10);
  background: rgba(255, 255, 255, .96);
  transform: rotate(45deg);
}

.w2d-business-settings__panel strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
  color: #191D2B;
}

.w2d-business-settings__panel p {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: rgba(17, 24, 39, .64);
  font-size: 13px;
  line-height: 1.5;
}

.w2d-business-settings__form.w2d-dashboard-form,
.w2d-organisation-dashboard .w2d-business-settings__form.w2d-dashboard-form {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.w2d-business-settings__panel .w2d-btn-danger {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(244, 63, 94, .28);
  border-radius: 999px;
  background: rgba(255, 241, 242, .92);
  color: #be123c;
  font-weight: 850;
}

.w2d-business-settings__panel .w2d-btn-danger:hover,
.w2d-business-settings__panel .w2d-btn-danger:active {
  border-color: rgba(244, 63, 94, .36);
  background: rgba(255, 228, 230, .96);
  color: #9f1239;
}

html[data-ed-theme="dark"] .w2d-business-settings[open] > summary {
  border-color: rgba(196, 181, 253, .30);
  background: rgba(167, 139, 250, .16);
  color: #f6f7fb;
}

html[data-ed-theme="dark"] .w2d-business-settings__panel {
  border-color: rgba(255, 255, 255, .13);
  background:
    radial-gradient(circle at 0% 0%, rgba(167, 139, 250, .16), transparent 34%),
    rgba(27, 30, 45, .98);
  color: #f6f7fb;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .38);
}

html[data-ed-theme="dark"] .w2d-business-settings__panel::before {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(27, 30, 45, .98);
}

html[data-ed-theme="dark"] .w2d-business-settings__panel strong {
  color: #f6f7fb;
}

html[data-ed-theme="dark"] .w2d-business-settings__panel p {
  color: rgba(246, 247, 251, .68);
}

html[data-ed-theme="dark"] .w2d-business-settings__panel .w2d-btn-danger {
  border-color: rgba(251, 113, 133, .30);
  background: rgba(251, 113, 133, .12);
  color: #fecdd3;
}

html[data-ed-theme="dark"] .w2d-business-settings__panel .w2d-btn-danger:hover,
html[data-ed-theme="dark"] .w2d-business-settings__panel .w2d-btn-danger:active {
  border-color: rgba(251, 113, 133, .42);
  background: rgba(251, 113, 133, .18);
  color: #fff1f2;
}

@media (max-width: 720px) {
  .w2d-business-settings,
  .w2d-business-settings > summary {
    width: 100%;
  }

  .w2d-provider-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
  }

  .w2d-provider-card__actions .w2d-btn,
  .w2d-provider-card__actions .w2d-business-settings,
  .w2d-provider-card__actions .w2d-business-settings > summary {
    width: 100%;
  }

  .w2d-provider-card__actions .w2d-btn,
  .w2d-provider-card__actions .w2d-business-settings > summary {
    min-height: 52px;
    border-radius: 999px !important;
  }

  .w2d-business-settings {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .w2d-business-settings__panel {
    position: static;
    width: 100%;
    margin-top: 0;
  }

  .w2d-business-settings__panel::before {
    display: none;
  }
}

.w2d-provider-card__subscription {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 24, 39, .075);
}

/* Subscription */

.w2d-subscription-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, .08);
  background: rgba(255, 255, 255, .76);
}

.w2d-subscription-card__label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(17, 24, 39, .48);
}

.w2d-subscription-card__status {
  font-size: 13px;
  font-weight: 800;
}

.w2d-subscription-card.is-active .w2d-subscription-card__status {
  color: #047857;
}

.w2d-subscription-card.is-active {
  border-color: rgba(4, 120, 87, .16);
  border-radius: 999px !important;
  background: rgba(236, 253, 245, .88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88);
}

.w2d-provider-card__subscription .w2d-subscription-card,
.w2d-dashboard-empty__subscription .w2d-subscription-card {
  overflow: hidden;
  border-radius: 999px !important;
}

.w2d-events-manager__billing-lock {
  margin-bottom: 16px;
}

.w2d-grace-warning {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.w2d-grace-warning__copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.w2d-grace-warning__timer {
  min-width: 154px;
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(180, 83, 9, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.w2d-grace-warning__timer span {
  color: rgba(120, 53, 15, .68);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.w2d-grace-warning__timer strong {
  color: #92400e;
  font-size: 20px;
  line-height: 1.1;
}

.w2d-grace-warning.is-expired .w2d-grace-warning__timer strong {
  color: #b91c1c;
  font-size: 15px;
}

.w2d-subscription-card.is-canceling .w2d-subscription-card__status {
  color: #b45309;
}

.w2d-subscription-card.is-past-due .w2d-subscription-card__status {
  color: #b91c1c;
}

.w2d-subscription-card.is-inactive .w2d-subscription-card__status {
  color: #b91c1c;
}

.w2d-dashboard-form,
.w2d-inline-form {
  margin: 0;
}

.w2d-provider-card__subscription .w2d-dashboard-form,
.w2d-dashboard-empty__subscription .w2d-dashboard-form {
  display: inline-flex;
  align-items: stretch;
  min-width: 0;
}

.w2d-subscription-plan-actions {
  display: inline-flex;
  align-items: stretch;
  gap: 6px;
  width: min(100%, 390px);
  padding: 5px;
  border: 1px solid rgba(127, 23, 64, .14);
  border-radius: 18px;
  background: rgba(255, 248, 238, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
}

.w2d-subscription-plan-actions .w2d-dashboard-form {
  display: flex;
  flex: 1 1 0;
}

.w2d-plan-choice {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 56px !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title note"
    "price note";
  align-items: center;
  gap: 2px 10px;
  margin: 0 !important;
  padding: 10px 13px !important;
  border: 1px solid rgba(127, 23, 64, .14) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .92) !important;
  color: #191D2B !important;
  text-align: left !important;
  line-height: 1.1 !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .055) !important;
  overflow: visible !important;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .16s ease;
}

.w2d-plan-choice:hover,
.w2d-plan-choice:focus-visible {
  border-color: rgba(127, 23, 64, .30) !important;
  background: #fff !important;
  box-shadow: 0 12px 26px rgba(127, 23, 64, .10) !important;
  transform: translateY(-1px);
  outline: none;
}

.w2d-plan-choice__title {
  grid-area: title;
  color: rgba(17, 24, 39, .58);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.w2d-plan-choice__price {
  grid-area: price;
  color: #7f1740;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.w2d-plan-choice__note {
  grid-area: note;
  align-self: center;
  color: rgba(17, 24, 39, .52);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}

.w2d-providers-dashboard .w2d-provider-card__subscription .w2d-dashboard-form button.w2d-btn,
.w2d-providers-dashboard .w2d-dashboard-empty__subscription .w2d-dashboard-form button.w2d-btn {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: auto;
  min-width: 0;
  min-height: 42px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  line-height: 1.15 !important;
  white-space: normal;
  text-align: center;
  text-decoration: none !important;
  overflow: visible;
}

.w2d-providers-dashboard .w2d-provider-card__subscription .w2d-dashboard-form button.w2d-btn-primary,
.w2d-providers-dashboard .w2d-dashboard-empty__subscription .w2d-dashboard-form button.w2d-btn-primary {
  border: 1px solid rgba(127, 23, 64, .22) !important;
  background: #7f1740 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 10px 20px rgba(127, 23, 64, .18) !important;
}

.w2d-providers-dashboard .w2d-provider-card__subscription .w2d-dashboard-form button.w2d-btn-primary:hover,
.w2d-providers-dashboard .w2d-provider-card__subscription .w2d-dashboard-form button.w2d-btn-primary:active,
.w2d-providers-dashboard .w2d-dashboard-empty__subscription .w2d-dashboard-form button.w2d-btn-primary:hover,
.w2d-providers-dashboard .w2d-dashboard-empty__subscription .w2d-dashboard-form button.w2d-btn-primary:active {
  border-color: rgba(127, 23, 64, .22) !important;
  background: #7f1740 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.w2d-credit-review-form {
  margin-left: 2px;
  align-items: center;
  gap: 8px;
}

.w2d-providers-dashboard .w2d-credit-review-form button.w2d-btn {
  border-color: rgba(180, 83, 9, .18) !important;
  background: rgba(255, 251, 235, .88) !important;
  color: #92400e !important;
  -webkit-text-fill-color: #92400e;
  box-shadow: none !important;
}

.w2d-providers-dashboard .w2d-credit-review-form button.w2d-btn:hover,
.w2d-providers-dashboard .w2d-credit-review-form button.w2d-btn:active {
  border-color: rgba(180, 83, 9, .28) !important;
  background: rgba(254, 243, 199, .92) !important;
  color: #78350f !important;
  -webkit-text-fill-color: #78350f;
}

.w2d-providers-dashboard .w2d-credit-review-form button.w2d-btn:disabled,
.w2d-providers-dashboard .w2d-credit-review-form button.w2d-btn.is-disabled,
.w2d-providers-dashboard .w2d-credit-review-form button.w2d-btn.is-disabled:hover,
.w2d-providers-dashboard .w2d-credit-review-form button.w2d-btn.is-disabled:active {
  border-color: rgba(107, 114, 128, .18) !important;
  background: rgba(243, 244, 246, .92) !important;
  color: rgba(75, 85, 99, .68) !important;
  -webkit-text-fill-color: rgba(75, 85, 99, .68);
  box-shadow: none !important;
  cursor: not-allowed;
  opacity: 1;
}

.w2d-credit-review-form__note {
  color: rgba(75, 85, 99, .78);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

/* Stats row */

.w2d-provider-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.w2d-stat {
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
}

.w2d-stat strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #191D2B;
}

.w2d-stat span {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(17, 24, 39, .52);
}

/* Events manager */

.w2d-events-manager {
  padding: 20px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 30px;
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.w2d-events-manager__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.w2d-events-manager__header h4 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.035em;
  color: #191D2B;
}

.w2d-events-manager__header p {
  margin: 6px 0 0;
  color: rgba(17, 24, 39, .56);
  font-size: 14px;
}

.w2d-events-summary {
  display: none;
}

/* Buttons */

.w2d-btn {
  appearance: none;
  border: 1px solid rgba(17, 24, 39, .10);
  background: rgba(255, 255, 255, .82);
  color: rgba(17, 24, 39, .82);
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  transition:
    background .16s ease,
    border-color .16s ease,
    color .16s ease,
    box-shadow .16s ease;
}

.w2d-btn:hover,
.w2d-btn:active {
  transform: none;
  background: rgba(255, 255, 255, .88);
  border-color: rgba(17, 24, 39, .12);
  color: #191D2B;
  box-shadow: none;
}

.w2d-btn:focus-visible,
.w2d-view-toggle__button:focus-visible,
.w2d-event-card__settings:focus-visible {
  outline: 3px solid rgba(219, 148, 40, .24);
  outline-offset: 3px;
}

.w2d-btn-primary {
  border-color: rgba(127, 23, 64, .22);
  background: #7f1740;
  color: #fff;
  box-shadow: 0 10px 20px rgba(127, 23, 64, .18);
}

.w2d-btn-primary:hover,
.w2d-btn-primary:active {
  background: #7f1740;
  border-color: rgba(127, 23, 64, .22);
  color: #fff;
  box-shadow: 0 10px 20px rgba(127, 23, 64, .18);
}

.w2d-btn-soft {
  background: rgba(17, 24, 39, .035);
  border-color: rgba(17, 24, 39, .08);
  color: rgba(17, 24, 39, .78);
}

.w2d-btn-soft:hover,
.w2d-btn-soft:active {
  background: rgba(17, 24, 39, .04);
  border-color: rgba(17, 24, 39, .08);
  color: rgba(17, 24, 39, .84);
  box-shadow: none;
}

.w2d-btn-danger {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #b91c1c;
  padding-left: 4px;
  padding-right: 4px;
  min-height: 34px;
}

.w2d-btn-danger:hover,
.w2d-btn-danger:active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #991b1b;
}

.w2d-btn-unschedule {
  background: rgba(245, 158, 11, .10);
  border-color: rgba(245, 158, 11, .18);
  color: #92400e;
}

.w2d-btn-unschedule:hover,
.w2d-btn-unschedule:active {
  background: rgba(245, 158, 11, .14);
  border-color: rgba(245, 158, 11, .24);
  color: #78350f;
}

/* Make subscription management quieter */

.w2d-provider-card__subscription .w2d-btn-soft,
.w2d-dashboard-empty__subscription .w2d-btn-soft {
  background: transparent;
  border-color: transparent;
  color: #7f1740;
  padding-left: 4px;
  padding-right: 4px;
  box-shadow: none;
}

.w2d-provider-card__subscription .w2d-btn-soft:hover,
.w2d-provider-card__subscription .w2d-btn-soft:active,
.w2d-dashboard-empty__subscription .w2d-btn-soft:hover,
.w2d-dashboard-empty__subscription .w2d-btn-soft:active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #7f1740;
}

/* View toggle */

.w2d-view-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .72);
  background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .46));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .94),
    0 18px 34px rgba(15, 23, 42, .10);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.w2d-view-toggle__button {
  appearance: none;
  border: 0;
  min-height: 38px;
  padding: 9px 17px;
  border-radius: 999px;
  background: transparent;
  color: rgba(17, 24, 39, .54);
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
  transition:
    background .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    transform .18s ease;
}

.w2d-view-toggle__button:hover,
.w2d-view-toggle__button:active {
  background: transparent;
  color: rgba(17, 24, 39, .70);
  box-shadow: none;
}

.w2d-view-toggle__button[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .82));
  color: #191D2B;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 22px rgba(15, 23, 42, .14);
  transform: translateY(-1px);
}

/* Filters */

.w2d-filterbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.w2d-filterbar__field {
  display: grid;
  gap: 6px;
}

.w2d-filterbar__field label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(17, 24, 39, .52);
}

.w2d-filterbar input,
.w2d-filterbar select {
  width: 100%;
  min-height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, .10);
  background: rgba(255, 255, 255, .92);
  padding: 9px 12px;
  font: inherit;
  color: #191D2B;
  outline: none;
}

.w2d-filterbar input:focus,
.w2d-filterbar select:focus {
  border-color: rgba(127, 23, 64, .30);
  box-shadow: 0 0 0 4px rgba(219, 148, 40, .12);
}

/* Event cards */

.w2d-event-list {
  display: grid;
  gap: 14px;
}

.w2d-event-card {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border-radius: 26px;
  border: 1px solid rgba(17, 24, 39, .075);
  background:
    linear-gradient(135deg, rgba(219, 148, 40, .055), transparent 34%),
    rgba(255, 255, 255, .88);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .045);
  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.w2d-event-card[hidden] {
  display: none !important;
}

.w2d-event-card:hover {
  background:
    linear-gradient(135deg, rgba(219, 148, 40, .07), transparent 34%),
    rgba(255, 255, 255, .94);
  border-color: rgba(17, 24, 39, .10);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .055);
}

.w2d-event-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-self: start;
  background:
    linear-gradient(135deg, rgba(127, 23, 64, .95), rgba(219, 148, 40, .82)),
    rgba(17, 24, 39, .06);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.w2d-event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.w2d-event-card__body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 9px;
}

.w2d-event-card__topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.w2d-event-card__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.w2d-status-badge,
.w2d-type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.w2d-status-badge {
  background: rgba(17, 24, 39, .055);
  color: rgba(17, 24, 39, .66);
}

.w2d-status-badge--live {
  background: rgba(16, 185, 129, .09);
  color: #047857;
}

.w2d-status-badge--pending {
  background: rgba(245, 158, 11, .10);
  color: #92400e;
}

.w2d-status-badge--draft {
  background: rgba(107, 114, 128, .10);
  color: #4b5563;
}

.w2d-type-badge {
  background: rgba(31, 118, 110, .10);
  color: #7f1740;
}

.w2d-event-card__settings {
  appearance: none;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: rgba(17, 24, 39, .62);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .18s ease;
}

.w2d-event-card__settings:hover,
.w2d-event-card__settings:active {
  background: rgba(17, 24, 39, .045);
  border-color: rgba(17, 24, 39, .10);
  color: #191D2B;
  transform: none;
}

.w2d-event-card__settings[aria-expanded="true"] {
  background: rgba(219, 148, 40, .12);
  border-color: rgba(127, 23, 64, .16);
  color: #7f1740;
}

.w2d-event-card__settings[aria-expanded="true"] span {
  display: inline-block;
  transform: rotate(28deg);
}

.w2d-event-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #191D2B;
}

.w2d-event-card__details {
  display: grid;
  gap: 4px;
}

.w2d-event-card__date,
.w2d-event-card__venue {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(17, 24, 39, .56);
}

.w2d-event-card__venue {
  color: rgba(17, 24, 39, .48);
}

.w2d-event-card__action-menu {
  position: absolute;
  top: 54px;
  right: 14px;
  z-index: 8;
  width: min(268px, calc(100vw - 32px));
  display: grid;
  gap: 10px;
  overflow: visible;
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  pointer-events: none;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, .18),
    inset 0 1px 0 rgba(255, 255, 255, .8);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition:
    opacity .18s ease,
    transform .18s ease;
}

.w2d-event-card__action-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.w2d-event-card__action-menu.is-closing {
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  pointer-events: none;
}

.w2d-event-card__action-menu[hidden] {
  display: none;
}

.w2d-event-card__action-list {
  display: grid;
  gap: 8px;
}

.w2d-event-card__action-menu .w2d-btn {
  justify-content: flex-start;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 13px;
}

.w2d-event-card__action-menu .w2d-inline-form,
.w2d-event-card__action-menu .w2d-inline-form button {
  width: auto;
}

.w2d-event-card__action-menu .w2d-btn-danger {
  width: 100%;
  justify-content: flex-start;
  padding-left: 12px;
  padding-right: 12px;
}

.w2d-event-card__action-menu .w2d-btn-unschedule {
  width: 100%;
  justify-content: flex-start;
}

.w2d-event-card__action-head {
  display: none;
}

.w2d-event-actions-backdrop {
  appearance: none;
  -webkit-appearance: none;
  position: fixed;
  inset: 0;
  z-index: 7;
  border: 0;
  background: rgba(2, 6, 23, .56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.w2d-event-actions-backdrop:hover,
.w2d-event-actions-backdrop:focus,
.w2d-event-actions-backdrop:focus-visible,
.w2d-event-actions-backdrop:active {
  border: 0 !important;
  background: rgba(2, 6, 23, .56) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.w2d-event-actions-backdrop.is-open {
  opacity: 1 !important;
  pointer-events: auto;
}

.w2d-event-family {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(219, 148, 40, .055), transparent 42%),
    rgba(17, 24, 39, .035);
}

.w2d-event-family__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}

.w2d-event-family__label,
.w2d-event-family__group-title {
  color: rgba(17, 24, 39, .48);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.w2d-event-family__summary strong {
  font-weight: 900;
}

.w2d-event-family__group {
  display: grid;
  gap: 7px;
}

.w2d-event-family__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.w2d-event-family__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(17, 24, 39, .08);
  color: rgba(17, 24, 39, .72);
  font-size: 12px;
  font-weight: 750;
}

.w2d-event-family__item--exception {
  border-color: rgba(245, 158, 11, .18);
  background: rgba(245, 158, 11, .08);
}

.w2d-event-family__item--exception strong {
  font-size: 11px;
  color: #92400e;
}

.w2d-event-family__item em {
  font-style: normal;
  color: rgba(17, 24, 39, .48);
}

/* Empty events */

.w2d-events-empty {
  padding: 24px;
  border-radius: 24px;
  background: rgba(17, 24, 39, .035);
  text-align: center;
}

.w2d-events-empty h5 {
  margin: 0 0 6px;
  font-size: 18px;
}

.w2d-events-empty p {
  margin: 0 0 14px;
  color: rgba(17, 24, 39, .58);
}

/* Calendar */

.w2d-calendar {
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(219, 148, 40, .12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .90), rgba(255, 255, 255, .72));
  padding: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    0 20px 40px rgba(15, 23, 42, .08);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.w2d-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.w2d-calendar__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.w2d-calendar__nav .w2d-btn {
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  border-color: rgba(255, 255, 255, .78);
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 20px rgba(15, 23, 42, .10);
}

.w2d-calendar__nav .w2d-btn:hover {
  border-color: rgba(127, 23, 64, .20);
  color: #7f1740;
  transform: translateY(-1px);
}

.w2d-calendar__nav [data-w2d-cal-today] {
  min-width: 72px;
}

.w2d-calendar__grid {
  min-height: 260px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.w2d-calendar__weekday {
  padding: 0 4px 4px;
  color: rgba(17, 24, 39, .48);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.w2d-calendar__blank {
  min-height: 54px;
}

.w2d-calendar__day {
  min-height: 62px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .78));
  color: #191D2B;
  display: grid;
  gap: 4px;
  align-content: center;
  justify-items: center;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    0 10px 22px rgba(15, 23, 42, .055);
  transition:
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.w2d-calendar__day em {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(219, 148, 40, .20), rgba(127, 23, 64, .09));
  color: #7f1740;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  display: inline-grid;
  place-items: center;
}

.w2d-calendar__day.has-events {
  border-color: rgba(127, 23, 64, .18);
  background:
    radial-gradient(circle at top left, rgba(219, 148, 40, .14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 248, 238, .90));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    0 14px 26px rgba(127, 23, 64, .08);
}

.w2d-calendar__day:hover {
  border-color: rgba(127, 23, 64, .24);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    0 16px 28px rgba(15, 23, 42, .10);
}

.w2d-calendar__day-list {
  display: grid;
  gap: 8px;
}

.w2d-calendar__item {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(17, 24, 39, .035);
}

.w2d-calendar__item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.w2d-calendar__item-head > div {
  display: grid;
  gap: 3px;
}

.w2d-calendar__item strong {
  font-size: 14px;
}

.w2d-calendar__item span,
.w2d-calendar__empty {
  color: rgba(17, 24, 39, .58);
  font-size: 13px;
}

.w2d-calendar__item-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 7px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .045);
  color: rgba(17, 24, 39, .66);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.w2d-calendar__item-type--recurring {
  background: rgba(219, 148, 40, .13);
  color: #7f1740;
}

.w2d-calendar__item-type--multi {
  background: rgba(14, 165, 233, .10);
  color: #0369a1;
}

.w2d-calendar__item .w2d-event-card__action-menu {
  top: 46px;
}

.w2d-calendar__item-settings {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  border-color: rgba(127, 23, 64, .12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 248, 238, .90));
  color: rgba(127, 23, 64, .86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 20px rgba(127, 23, 64, .08);
}

.w2d-calendar__item-settings span {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

.w2d-calendar__item-settings:hover,
.w2d-calendar__item-settings:active {
  border-color: rgba(127, 23, 64, .22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 248, 238, .94));
  color: #7f1740;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 14px 24px rgba(127, 23, 64, .12);
}

.w2d-calendar__item-settings[aria-expanded="true"] {
  border-color: rgba(127, 23, 64, .26);
  background:
    linear-gradient(180deg, rgba(255, 248, 238, .98), rgba(253, 230, 178, .92));
  color: #7f1740;
}

.w2d-calendar__day-panel {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 24, 39, .08);
}

.w2d-calendar__day-panel h5 {
  margin: 0 0 10px;
}

/* Touch devices */

@media (hover: none) {
  .w2d-btn:hover,
  .w2d-btn-primary:hover,
  .w2d-btn-soft:hover,
  .w2d-btn-danger:hover,
  .w2d-event-card:hover,
  .w2d-view-toggle__button:hover,
  .w2d-event-card__settings:hover,
  .w2d-provider-card__subscription .w2d-btn-soft:hover,
  .w2d-dashboard-empty__subscription .w2d-btn-soft:hover {
    transform: none;
    box-shadow: none;
  }

  .w2d-event-card:hover {
    background:
      linear-gradient(135deg, rgba(219, 148, 40, .055), transparent 34%),
      rgba(255, 255, 255, .88);
    border-color: rgba(17, 24, 39, .075);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .045);
  }
}

/* Responsive */

@media (max-width: 860px) {
  .w2d-events-manager__header {
    flex-direction: column;
    align-items: stretch;
  }

  .w2d-events-manager__header .w2d-btn {
    width: 100%;
  }

  .w2d-provider-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border-radius: 26px;
  }

  .w2d-provider-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    font-size: 22px;
  }

  .w2d-provider-overview {
    grid-template-columns: 1fr;
  }

  .w2d-filterbar {
    grid-template-columns: 1fr;
  }

  .w2d-event-card {
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: stretch;
  }

  .w2d-event-card__media { aspect-ratio: 1 / 1; }
}

@media (max-width: 560px) {
  .w2d-providers-dashboard {
    padding: 22px 12px 40px;
  }

  .w2d-provider-card {
    grid-template-columns: 1fr;
  }

  .w2d-provider-card__avatar {
    width: 84px;
    height: 84px;
  }

  .w2d-provider-card__actions,
  .w2d-provider-card__subscription,
  .w2d-dashboard-empty__actions,
  .w2d-dashboard-empty__subscription {
    align-items: stretch;
    flex-direction: column;
  }

  .w2d-grace-warning {
    grid-template-columns: 1fr;
  }

  .w2d-grace-warning__timer {
    min-width: 0;
  }

  .w2d-btn,
  .w2d-dashboard-form,
  .w2d-dashboard-form button {
    width: 100%;
  }

  .w2d-subscription-plan-actions {
    width: 100%;
    display: flex;
  }

  .w2d-plan-choice {
    min-height: 58px !important;
    padding: 10px 12px !important;
  }

  .w2d-plan-choice__price {
    font-size: 20px;
  }

  .w2d-provider-card__subscription .w2d-btn-soft,
  .w2d-dashboard-empty__subscription .w2d-btn-soft {
    width: 100%;
    padding-left: 13px;
    padding-right: 13px;
  }

  .w2d-events-manager {
    padding: 14px;
    border-radius: 24px;
  }

  .w2d-event-card {
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 24px;
  }

  .w2d-event-card__media {
    aspect-ratio: 16 / 10;
    border-radius: 20px;
  }

  .w2d-event-card__topline {
    align-items: center;
  }

  .w2d-event-card__title {
    font-size: 17px;
  }

  .w2d-event-card__action-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    z-index: 8;
    width: 100%;
    min-height: 210px;
    max-height: min(84vh, 720px);
    padding: 0 18px max(18px, env(safe-area-inset-bottom));
    border-radius: 30px 30px 0 0;
    border: 1px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: translate3d(0, 105%, 0);
    opacity: 1;
    overflow: auto;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  }

  .w2d-event-card__action-menu.is-open {
    transform: translate3d(0, 0, 0);
  }

  .w2d-event-card__action-menu.is-closing {
    transform: translate3d(0, 105%, 0);
  }

  .w2d-event-card__action-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 -18px 10px;
    padding: 22px 18px 16px;
    border-bottom: 1px solid rgba(15, 23, 42, .07);
    background: rgba(255, 255, 255, .98);
  }

  .w2d-event-card__action-head strong {
    font-size: 16px;
    line-height: 1.25;
  }

  .w2d-event-card__action-close {
    appearance: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, .10);
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 999px !important;
    background: #fff !important;
    color: rgba(17, 24, 39, .78);
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
  }

  .w2d-event-card__action-close span {
    display: none;
  }

  .w2d-event-card__action-close::before,
  .w2d-event-card__action-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
  }

  .w2d-event-card__action-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .w2d-event-card__action-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .w2d-event-card__action-list {
    padding-top: 8px;
    gap: 10px;
  }

  .w2d-event-card__action-menu .w2d-btn,
  .w2d-event-card__action-menu .w2d-inline-form,
  .w2d-event-card__action-menu .w2d-inline-form button {
    width: 100%;
  }

  .w2d-event-card__action-menu .w2d-btn {
    background: rgba(255, 255, 255, .94);
  }

  .w2d-event-card__action-menu .w2d-btn-danger {
    justify-content: center;
    padding-left: 13px;
    padding-right: 13px;
    min-height: 50px;
    border: 1px solid rgba(185, 28, 28, .12);
    background: rgba(254, 242, 242, .96);
    color: #b91c1c;
    font-weight: 850;
    border-radius: 18px;
  }

  .w2d-event-card__action-menu .w2d-btn-unschedule {
    justify-content: center;
    min-height: 50px;
    border-radius: 18px;
    font-weight: 850;
  }

  body.w2d-event-menu-open {
    overflow: hidden;
  }

  body.w2d-event-menu-open .w2d-event-card:hover {
    background:
      linear-gradient(135deg, rgba(219, 148, 40, .055), transparent 34%),
      rgba(255, 255, 255, .88);
    border-color: rgba(17, 24, 39, .075);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .045);
  }
}

/* Final dashboard polish overrides */

.w2d-providers-dashboard .w2d-view-toggle {
  gap: 6px !important;
  padding: 6px !important;
  border: 1px solid rgba(255, 255, 255, .82) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .58) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .98),
    0 16px 34px rgba(15, 23, 42, .12) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
}

.w2d-providers-dashboard .w2d-view-toggle__button {
  min-height: 40px !important;
  padding: 9px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
}

.w2d-providers-dashboard .w2d-view-toggle__button[aria-pressed="true"] {
  color: #7f1740 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 248, 238, .92)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 24px rgba(127, 23, 64, .12) !important;
}

.w2d-providers-dashboard .w2d-calendar {
  border-color: rgba(15, 23, 42, .075) !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .055) !important;
}

.w2d-providers-dashboard .w2d-calendar__grid {
  gap: 8px !important;
}

.w2d-providers-dashboard .w2d-calendar__nav-button {
  width: auto !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  border-color: rgba(15, 23, 42, .10) !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05) !important;
}

.w2d-providers-dashboard .w2d-calendar__nav-button--today {
  width: auto !important;
  min-width: 76px !important;
  padding: 0 16px !important;
}

.w2d-providers-dashboard .w2d-calendar__day {
  min-height: 50px !important;
  border-radius: 17px !important;
  border-color: rgba(15, 23, 42, .09) !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04) !important;
}

.w2d-providers-dashboard .w2d-calendar__day.has-events {
  border-color: rgba(127, 23, 64, .18) !important;
  background: #fff !important;
}

.w2d-providers-dashboard .w2d-calendar__day.has-events em {
  color: #fff !important;
  background: linear-gradient(180deg, #db9428, #7f1740) !important;
  box-shadow: 0 8px 16px rgba(127, 23, 64, .20) !important;
}

.w2d-providers-dashboard .w2d-calendar__day.is-selected {
  border-color: rgba(127, 23, 64, .34) !important;
  background: rgba(219, 148, 40, .14) !important;
  color: #7f1740 !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04) !important;
}

.w2d-providers-dashboard .w2d-calendar__item-settings {
  width: 44px !important;
  height: 44px !important;
  flex-basis: 44px !important;
  border-color: rgba(15, 23, 42, .10) !important;
  background: #fff !important;
  color: rgba(17, 24, 39, .78) !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08) !important;
}

.w2d-providers-dashboard .w2d-calendar__item-settings span {
  transform: translateY(-1px) !important;
}

@media (max-width: 700px) {
  .w2d-providers-dashboard .w2d-calendar__grid {
    gap: 6px !important;
  }

  .w2d-providers-dashboard .w2d-calendar__day {
    min-height: 43px !important;
    border-radius: 14px !important;
  }
}

/* Theme alignment override */

.w2d-providers-dashboard .w2d-dashboard-eyebrow,
.w2d-providers-dashboard .w2d-section-eyebrow,
.w2d-providers-dashboard .w2d-provider-card__eyebrow {
  color: var(--ed-color-primary, #7a2438) !important;
}

.w2d-providers-dashboard .w2d-dashboard-title,
.w2d-providers-dashboard .w2d-provider-card__title {
  color: var(--ed-color-primary-strong, #5e1728) !important;
  letter-spacing: 0 !important;
}

.w2d-providers-dashboard .w2d-provider-card,
.w2d-providers-dashboard .w2d-dashboard-empty,
.w2d-providers-dashboard .w2d-dashboard-notice,
.w2d-providers-dashboard .w2d-events-manager,
.w2d-providers-dashboard .w2d-calendar,
.w2d-providers-dashboard .w2d-event-card {
  border-color: var(--ed-color-line, rgba(32, 33, 42, .10)) !important;
  background:
    linear-gradient(135deg, rgba(122, 36, 56, .045), transparent 38%),
    rgba(255, 253, 248, .94) !important;
  box-shadow: var(--ed-shadow-soft, 0 14px 36px rgba(73, 41, 25, .09)) !important;
}

.w2d-providers-dashboard .w2d-provider-card__avatar,
.w2d-providers-dashboard .w2d-event-card__media {
  background:
    linear-gradient(135deg, var(--ed-color-primary, #7a2438), var(--ed-color-accent, #d99b32)) !important;
}

.w2d-providers-dashboard .w2d-btn-primary,
.w2d-providers-dashboard button.w2d-btn-primary {
  border-color: rgba(122, 36, 56, .28) !important;
  background:
    linear-gradient(135deg, var(--ed-color-primary-strong, #5e1728), var(--ed-color-primary, #7a2438) 56%, var(--ed-color-accent, #d99b32)) !important;
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(122, 36, 56, .20) !important;
}

.w2d-providers-dashboard .w2d-view-toggle__button[aria-pressed="true"],
.w2d-providers-dashboard .w2d-calendar__day.has-events em,
.w2d-providers-dashboard .w2d-status-badge,
.w2d-providers-dashboard .w2d-type-badge {
  background: var(--ed-color-teal-soft, rgba(31, 118, 110, .10)) !important;
  color: var(--ed-color-teal, #1f766e) !important;
}

/* Dark mode: provider and branch dashboards */

html[data-ed-theme="dark"] .w2d-providers-dashboard {
  color: var(--ed-color-ink, #f7efe7) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-provider-card,
  .w2d-dashboard-empty,
  .w2d-dashboard-notice,
  .w2d-dashboard-help,
  .w2d-events-manager,
  .w2d-event-card,
  .w2d-stat,
  .w2d-calendar,
  .w2d-event-card__action-menu,
  .w2d-provider-card__subscription .w2d-subscription-card,
  .w2d-provider-card__subscription .w2d-dashboard-form
) {
  border-color: var(--ed-color-line, rgba(255, 255, 255, .12)) !important;
  background:
    linear-gradient(135deg, rgba(var(--ed-color-primary-rgb, 236, 169, 190), .045), transparent 42%),
    var(--ed-color-panel-bg, rgba(30, 22, 20, .92)) !important;
  color: var(--ed-color-ink, #f7efe7) !important;
  box-shadow: var(--ed-shadow-soft, 0 18px 44px rgba(0, 0, 0, .26)) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-dashboard-title,
  .w2d-provider-card__title,
  .w2d-event-card__title,
  .w2d-events-manager h2,
  .w2d-calendar h2,
  .w2d-dashboard-empty h2,
  .w2d-dashboard-empty h3,
  strong
) {
  color: var(--ed-color-primary-strong, #f4b8c8) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-dashboard-eyebrow,
  .w2d-section-eyebrow,
  .w2d-provider-card__eyebrow
) {
  color: var(--ed-color-primary, #eca9be) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-dashboard-subtitle,
  .w2d-provider-card__tagline,
  .w2d-provider-card__location,
  .w2d-dashboard-notice span,
  .w2d-event-card__meta,
  .w2d-event-card__date,
  .w2d-calendar__empty,
  label,
  small
) {
  color: var(--ed-color-muted, #d5c8be) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-btn,
  button.w2d-btn,
  .w2d-view-toggle,
  .w2d-view-toggle__button,
  .w2d-calendar__nav-button,
  .w2d-calendar__day,
  .w2d-calendar__item-settings,
  .w2d-status-badge,
  .w2d-type-badge
) {
  border-color: var(--ed-color-line-strong, rgba(255, 255, 255, .18)) !important;
  background: var(--ed-color-surface-strong, #241b19) !important;
  color: var(--ed-color-ink, #f7efe7) !important;
  box-shadow: 0 8px 22px rgba(var(--ed-color-shadow-rgb, 0, 0, 0), .18) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-btn-primary,
  button.w2d-btn-primary
) {
  border-color: rgba(var(--ed-color-primary-rgb, 236, 169, 190), .34) !important;
  background:
    linear-gradient(135deg, var(--ed-color-primary-strong, #f4b8c8), var(--ed-color-primary, #eca9be) 56%, var(--ed-color-accent, #f0bd60)) !important;
  color: var(--ed-color-on-primary, #211012) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-view-toggle__button[aria-pressed="true"],
  .w2d-calendar__day.is-selected,
  .w2d-calendar__day.has-events,
  .w2d-status-badge,
  .w2d-type-badge
) {
  border-color: rgba(var(--ed-color-primary-rgb, 236, 169, 190), .34) !important;
  background: var(--ed-color-primary-soft, rgba(236, 169, 190, .14)) !important;
  color: var(--ed-color-primary-strong, #f4b8c8) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
  select,
  textarea
) {
  border-color: var(--ed-color-line-strong, rgba(255, 255, 255, .18)) !important;
  background: var(--ed-color-surface-strong, #241b19) !important;
  color: var(--ed-color-ink, #f7efe7) !important;
}

/* Theme tab bars: provider, branch and event dashboard views */

.w2d-providers-dashboard .w2d-view-toggle {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding: 6px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  border: 1px solid var(--ed-color-line, rgba(32, 33, 42, .10)) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .76) !important;
  box-shadow: 0 14px 34px rgba(var(--ed-color-shadow-rgb, 73, 41, 25), .08) !important;
  backdrop-filter: blur(16px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(135%) !important;
}

.w2d-providers-dashboard .w2d-view-toggle::-webkit-scrollbar {
  display: none !important;
}

.w2d-providers-dashboard .w2d-view-toggle__button {
  flex: 0 0 auto !important;
  min-height: 42px !important;
  padding: 9px 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--ed-color-ink, #20212a) !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

.w2d-providers-dashboard .w2d-view-toggle__button:hover,
.w2d-providers-dashboard .w2d-view-toggle__button:focus-visible,
.w2d-providers-dashboard .w2d-view-toggle__button[aria-pressed="true"] {
  background: var(--ed-color-primary-soft, rgba(122, 36, 56, .10)) !important;
  color: var(--ed-color-primary-strong, #5e1728) !important;
  transform: none !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-view-toggle {
  border-color: var(--ed-color-line, rgba(255, 255, 255, .12)) !important;
  background: var(--ed-color-panel-bg, rgba(24, 19, 18, .98)) !important;
  box-shadow: var(--ed-shadow-soft, 0 18px 44px rgba(0, 0, 0, .26)) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-view-toggle__button {
  background: var(--ed-color-surface-strong, #241b19) !important;
  color: var(--ed-color-ink, #f7efe7) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-view-toggle__button:hover,
html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-view-toggle__button:focus-visible,
html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-view-toggle__button[aria-pressed="true"] {
  background: var(--ed-color-primary-soft, rgba(236, 169, 190, .14)) !important;
  color: var(--ed-color-primary-strong, #f4b8c8) !important;
}

/* Dark mode depth: provider and branch dashboards */

html[data-ed-theme="dark"] .w2d-providers-dashboard {
  background:
    radial-gradient(circle at 100% 0%, rgb(var(--ed-primary-dark-rgb, 167 139 250) / 0.12), transparent 30%),
    var(--ed-bg, #141624) !important;
  color: var(--ed-text, #F6F7FB) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-provider-card,
  .w2d-dashboard-empty,
  .w2d-dashboard-notice,
  .w2d-dashboard-help,
  .w2d-events-manager,
  .w2d-event-card,
  .w2d-calendar,
  .w2d-calendar__day,
  .w2d-calendar__item,
  .w2d-subscription-card,
  .w2d-dashboard-form,
  .w2d-event-card__action-menu
) {
  border-color: var(--ed-border, #30364D) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    var(--ed-surface, #1B1E2D) !important;
  color: var(--ed-text, #F6F7FB) !important;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(255, 255, 255, 0.025) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-provider-card,
  .w2d-events-manager,
  .w2d-calendar,
  .w2d-event-card__action-menu.is-open
) {
  border-color: var(--ed-border-strong, #414865) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    var(--ed-surface-raised, #232739) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.38),
    0 0 32px rgb(var(--ed-primary-dark-rgb, 167 139 250) / 0.08) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-view-toggle {
  border-color: var(--ed-border-strong, #414865) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    var(--ed-sheet, #252A3D) !important;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.30),
    0 0 24px rgb(var(--ed-primary-dark-rgb, 167 139 250) / 0.10) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-view-toggle__button {
  background: transparent !important;
  color: var(--ed-muted, #B4BCD0) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-view-toggle__button:hover,
  .w2d-view-toggle__button:focus-visible,
  .w2d-view-toggle__button[aria-pressed="true"],
  .w2d-calendar__day.is-selected,
  .w2d-calendar__day.has-events,
  .w2d-status-badge,
  .w2d-type-badge
) {
  border-color: rgb(var(--ed-primary-dark-rgb, 167 139 250) / 0.42) !important;
  background: rgb(var(--ed-primary-dark-rgb, 167 139 250) / 0.16) !important;
  color: var(--ed-primary-live, #A78BFA) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-btn-primary,
  button.w2d-btn-primary
) {
  border-color: transparent !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 48%),
    linear-gradient(135deg, var(--ed-primary-live, #A78BFA), var(--ed-secondary-live, #FB7185)) !important;
  color: #FFFFFF !important;
  box-shadow:
    0 12px 28px rgb(var(--ed-primary-dark-rgb, 167 139 250) / 0.28),
    0 0 18px rgb(var(--ed-secondary-dark-rgb, 251 113 133) / 0.14) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
  select,
  textarea
) {
  border-color: var(--ed-border-strong, #414865) !important;
  background: var(--ed-surface-soft, #191D2B) !important;
  color: var(--ed-text, #F6F7FB) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  input:not([type="button"]):not([type="submit"]):not([type="reset"]):focus,
  select:focus,
  textarea:focus
) {
  border-color: var(--ed-primary-live, #A78BFA) !important;
  box-shadow: 0 0 0 4px rgb(var(--ed-primary-dark-rgb, 167 139 250) / 0.18) !important;
  outline: 0 !important;
}

@media (max-width: 720px) {
  html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-event-card__action-menu.is-open {
    border-color: var(--ed-border-strong, #414865) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
      var(--ed-sheet, #252A3D) !important;
    box-shadow:
      0 -22px 70px rgba(0, 0, 0, 0.46),
      0 -1px 0 rgba(255, 255, 255, 0.06),
      0 0 42px rgb(var(--ed-primary-dark-rgb, 167 139 250) / 0.12) !important;
  }
}

/* Current colour wheel alignment: provider and branch dashboards */

.w2d-providers-dashboard {
  --w2d-provider-purple: var(--ed-primary-live, #7c3aed);
  --w2d-provider-purple-dark: #5b21b6;
  --w2d-provider-purple-soft: rgba(124, 58, 237, .11);
  --w2d-provider-pink: var(--ed-secondary-live, #ec4899);
  --w2d-provider-text: var(--ed-text, #171023);
  --w2d-provider-muted: var(--ed-muted, rgba(23, 16, 35, .64));
  --w2d-provider-border: var(--ed-border, rgba(124, 58, 237, .13));
  --w2d-provider-border-strong: rgba(124, 58, 237, .24);
  --w2d-provider-card: rgba(255, 255, 255, .82);
  --w2d-provider-card-strong: rgba(255, 255, 255, .94);
  --w2d-provider-shadow: 0 22px 60px rgba(49, 28, 92, .12);
  --w2d-provider-shadow-soft: 0 14px 36px rgba(49, 28, 92, .08);
  color: var(--w2d-provider-text) !important;
}

.w2d-providers-dashboard .w2d-dashboard-hero {
  margin-bottom: 24px !important;
  padding: 26px 30px !important;
  border: 1px solid var(--w2d-provider-border) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(124, 58, 237, .13), transparent 36%),
    radial-gradient(circle at 96% 10%, rgba(236, 72, 153, .11), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .76)) !important;
  box-shadow: var(--w2d-provider-shadow-soft) !important;
  backdrop-filter: blur(18px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
}

.w2d-providers-dashboard :where(
  .w2d-dashboard-eyebrow,
  .w2d-section-eyebrow,
  .w2d-provider-card__eyebrow
) {
  color: var(--w2d-provider-purple) !important;
  letter-spacing: .11em !important;
}

.w2d-providers-dashboard :where(
  .w2d-dashboard-title,
  .w2d-provider-card__title,
  .w2d-events-manager h2,
  .w2d-calendar h2,
  .w2d-dashboard-empty h2,
  .w2d-dashboard-empty h3,
  .w2d-event-card__title
) {
  color: var(--w2d-provider-text) !important;
}

.w2d-providers-dashboard :where(
  .w2d-dashboard-subtitle,
  .w2d-provider-card__tagline,
  .w2d-provider-card__location,
  .w2d-dashboard-notice span,
  .w2d-event-card__meta,
  .w2d-event-card__date,
  .w2d-dashboard-muted-note,
  .w2d-calendar__empty,
  label,
  small
) {
  color: var(--w2d-provider-muted) !important;
}

.w2d-providers-dashboard :where(
  .w2d-provider-card,
  .w2d-stat,
  .w2d-dashboard-empty,
  .w2d-dashboard-help,
  .w2d-events-manager,
  .w2d-calendar,
  .w2d-event-card,
  .w2d-provider-card__subscription .w2d-subscription-card,
  .w2d-provider-card__subscription .w2d-dashboard-form
) {
  border-color: var(--w2d-provider-border) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(124, 58, 237, .07), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(236, 72, 153, .055), transparent 34%),
    var(--w2d-provider-card) !important;
  box-shadow: var(--w2d-provider-shadow-soft) !important;
}

.w2d-providers-dashboard .w2d-provider-card {
  border-radius: 30px !important;
  box-shadow: var(--w2d-provider-shadow) !important;
}

.w2d-providers-dashboard :where(.w2d-provider-card__avatar, .w2d-event-card__media) {
  border-color: rgba(255, 255, 255, .72) !important;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .45), transparent 28%),
    linear-gradient(135deg, var(--w2d-provider-purple), var(--w2d-provider-pink)) !important;
  box-shadow: 0 16px 34px rgba(124, 58, 237, .22) !important;
}

.w2d-providers-dashboard :where(.w2d-btn, button.w2d-btn):not(.w2d-btn-primary):not(.w2d-btn-danger),
.w2d-providers-dashboard :where(
  .w2d-view-toggle,
  .w2d-view-toggle__button,
  .w2d-calendar__nav-button,
  .w2d-calendar__day,
  .w2d-calendar__item-settings,
  .w2d-provider-social__link
) {
  border-color: var(--w2d-provider-border) !important;
  background: rgba(255, 255, 255, .84) !important;
  color: var(--w2d-provider-text) !important;
  box-shadow: 0 10px 24px rgba(49, 28, 92, .07) !important;
}

.w2d-providers-dashboard :where(.w2d-btn, button.w2d-btn):not(.w2d-btn-primary):not(.w2d-btn-danger):hover,
.w2d-providers-dashboard :where(
  .w2d-view-toggle__button:hover,
  .w2d-view-toggle__button:focus-visible,
  .w2d-view-toggle__button[aria-pressed="true"],
  .w2d-calendar__day.is-selected,
  .w2d-calendar__day.has-events,
  .w2d-status-badge,
  .w2d-type-badge
) {
  border-color: var(--w2d-provider-border-strong) !important;
  background: var(--w2d-provider-purple-soft) !important;
  color: var(--w2d-provider-purple-dark) !important;
}

.w2d-providers-dashboard :where(.w2d-btn-primary, button.w2d-btn-primary) {
  border-color: transparent !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .18), transparent 48%),
    linear-gradient(135deg, var(--w2d-provider-purple), var(--w2d-provider-purple-dark) 54%, var(--w2d-provider-pink)) !important;
  color: #fff !important;
  box-shadow:
    0 16px 34px rgba(124, 58, 237, .24),
    0 0 18px rgba(236, 72, 153, .12) !important;
}

.w2d-providers-dashboard :where(.w2d-btn-primary, button.w2d-btn-primary):hover {
  box-shadow:
    0 20px 42px rgba(124, 58, 237, .28),
    0 0 22px rgba(236, 72, 153, .15) !important;
}

.w2d-providers-dashboard .w2d-calendar__day.has-events em {
  background: linear-gradient(135deg, var(--w2d-provider-purple), var(--w2d-provider-pink)) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(124, 58, 237, .22) !important;
}

.w2d-providers-dashboard :where(
  input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
  select,
  textarea
) {
  border-color: rgba(124, 58, 237, .14) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .88) !important;
  color: var(--w2d-provider-text) !important;
  box-shadow: 0 10px 24px rgba(49, 28, 92, .05) !important;
}

.w2d-providers-dashboard :where(
  input:not([type="button"]):not([type="submit"]):not([type="reset"]):focus,
  select:focus,
  textarea:focus
) {
  border-color: var(--w2d-provider-purple) !important;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, .14) !important;
  outline: 0 !important;
}

.w2d-providers-dashboard :where(
  .w2d-btn:focus-visible,
  .w2d-view-toggle__button:focus-visible,
  .w2d-event-card__settings:focus-visible
) {
  outline: 3px solid rgba(124, 58, 237, .20) !important;
  outline-offset: 3px !important;
}

.w2d-providers-dashboard :where(.w2d-plan-choice, .w2d-dashboard-form, .w2d-calendar__item) {
  border-color: var(--w2d-provider-border) !important;
  background: rgba(255, 255, 255, .84) !important;
  color: var(--w2d-provider-text) !important;
  box-shadow: 0 10px 24px rgba(49, 28, 92, .07) !important;
}

.w2d-providers-dashboard :where(.w2d-plan-choice:hover, .w2d-plan-choice:focus-visible) {
  border-color: var(--w2d-provider-border-strong) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 14px 32px rgba(49, 28, 92, .11) !important;
}

.w2d-providers-dashboard :where(.w2d-plan-choice__price, .w2d-calendar__item-type--recurring) {
  color: var(--w2d-provider-purple-dark) !important;
}

.w2d-providers-dashboard .w2d-calendar__item-type--recurring {
  background: var(--w2d-provider-purple-soft) !important;
}

.w2d-providers-dashboard .w2d-credit-review-form button.w2d-btn {
  border-color: rgba(245, 158, 11, .18) !important;
  background: rgba(255, 251, 235, .90) !important;
  color: #92400e !important;
  box-shadow: none !important;
}

.w2d-providers-dashboard .w2d-calendar__nav .w2d-btn:hover {
  border-color: var(--w2d-provider-border-strong) !important;
  color: var(--w2d-provider-purple-dark) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard {
  --w2d-provider-purple: var(--ed-primary-live, #a78bfa);
  --w2d-provider-purple-dark: #c4b5fd;
  --w2d-provider-purple-soft: rgba(167, 139, 250, .16);
  --w2d-provider-pink: var(--ed-secondary-live, #fb7185);
  --w2d-provider-text: var(--ed-text, #f6f7fb);
  --w2d-provider-muted: var(--ed-muted, #b4bcd0);
  --w2d-provider-border: var(--ed-border, rgba(255, 255, 255, .13));
  --w2d-provider-border-strong: rgba(196, 181, 253, .38);
  --w2d-provider-card: var(--ed-surface, #1b1e2d);
  --w2d-provider-card-strong: var(--ed-surface-raised, #232739);
  --w2d-provider-shadow: 0 24px 60px rgba(0, 0, 0, .36);
  --w2d-provider-shadow-soft: 0 18px 44px rgba(0, 0, 0, .28);
  background:
    radial-gradient(circle at 100% 0%, rgba(167, 139, 250, .12), transparent 30%),
    var(--ed-bg, #141624) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-dashboard-hero,
html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-provider-card,
  .w2d-stat,
  .w2d-dashboard-empty,
  .w2d-dashboard-help,
  .w2d-events-manager,
  .w2d-calendar,
  .w2d-event-card,
  .w2d-provider-card__subscription .w2d-subscription-card,
  .w2d-provider-card__subscription .w2d-dashboard-form
) {
  border-color: var(--w2d-provider-border) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(167, 139, 250, .10), transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(251, 113, 133, .08), transparent 34%),
    var(--w2d-provider-card) !important;
  color: var(--w2d-provider-text) !important;
  box-shadow: var(--w2d-provider-shadow-soft) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(.w2d-btn, button.w2d-btn):not(.w2d-btn-primary):not(.w2d-btn-danger),
html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-view-toggle,
  .w2d-view-toggle__button,
  .w2d-calendar__nav-button,
  .w2d-calendar__day,
  .w2d-calendar__item-settings,
  .w2d-provider-social__link
) {
  border-color: var(--w2d-provider-border) !important;
  background: rgba(255, 255, 255, .055) !important;
  color: var(--w2d-provider-text) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(.w2d-plan-choice, .w2d-dashboard-form, .w2d-calendar__item) {
  border-color: var(--w2d-provider-border) !important;
  background: rgba(255, 255, 255, .055) !important;
  color: var(--w2d-provider-text) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-credit-review-form button.w2d-btn {
  border-color: rgba(251, 191, 36, .30) !important;
  background: rgba(251, 191, 36, .12) !important;
  color: #fde68a !important;
}

/* Draft activation and launch promo notices */

.w2d-dashboard-notice.w2d-activation-notice,
.w2d-organisation-dashboard .w2d-notice.w2d-activation-notice {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto) !important;
  align-items: center !important;
  gap: 16px !important;
  border-color: rgba(124, 58, 237, .18) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(124, 58, 237, .10), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(236, 72, 153, .08), transparent 34%),
    rgba(255, 255, 255, .88) !important;
  color: var(--w2d-provider-text, #171023) !important;
  box-shadow: 0 18px 46px rgba(49, 28, 92, .10) !important;
}

.w2d-activation-notice__content {
  display: grid !important;
  gap: 6px !important;
}

.w2d-activation-notice__content strong {
  color: var(--w2d-provider-text, #171023) !important;
  font-size: 16px !important;
}

.w2d-activation-notice__content span {
  max-width: 760px !important;
  color: var(--w2d-provider-muted, rgba(23, 16, 35, .64)) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.w2d-activation-notice__promo {
  display: grid !important;
  gap: 3px !important;
  min-width: 220px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(124, 58, 237, .18) !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, .78) !important;
  box-shadow: 0 12px 28px rgba(49, 28, 92, .08) !important;
}

.w2d-activation-notice__promo span {
  margin: 0 !important;
  color: var(--w2d-provider-purple, #7c3aed) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .11em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}

.w2d-activation-notice__promo strong {
  color: var(--w2d-provider-purple-dark, #5b21b6) !important;
  font-size: 24px !important;
  font-weight: 950 !important;
  letter-spacing: .06em !important;
  line-height: 1.05 !important;
}

.w2d-activation-notice__promo em {
  color: var(--w2d-provider-muted, rgba(23, 16, 35, .64)) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
}

.w2d-activation-notice__actions {
  grid-column: 1 / -1 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.w2d-activation-notice__actions .w2d-subscription-plan-actions {
  margin: 0 !important;
}

.w2d-activation-notice__actions .w2d-dashboard-form {
  margin: 0 !important;
}

html[data-ed-theme="dark"] .w2d-dashboard-notice.w2d-activation-notice,
html[data-ed-theme="dark"] .w2d-organisation-dashboard .w2d-notice.w2d-activation-notice {
  border-color: rgba(196, 181, 253, .26) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(167, 139, 250, .16), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(251, 113, 133, .12), transparent 34%),
    rgba(27, 30, 45, .92) !important;
  color: var(--w2d-provider-text, #f6f7fb) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .30) !important;
}

html[data-ed-theme="dark"] .w2d-activation-notice__promo {
  border-color: rgba(196, 181, 253, .24) !important;
  background: rgba(255, 255, 255, .06) !important;
}

@media (max-width: 720px) {
  .w2d-dashboard-notice.w2d-activation-notice,
  .w2d-organisation-dashboard .w2d-notice.w2d-activation-notice {
    grid-template-columns: 1fr !important;
  }

  .w2d-activation-notice__promo,
  .w2d-activation-notice__actions,
  .w2d-activation-notice__actions .w2d-subscription-plan-actions,
  .w2d-activation-notice__actions .w2d-dashboard-form,
  .w2d-activation-notice__actions .w2d-btn {
    width: 100% !important;
  }
}

/* Business profile settings menu final layer */

.w2d-providers-dashboard .w2d-provider-card:has(.w2d-business-settings[open]) {
  z-index: 120;
}

.w2d-providers-dashboard .w2d-business-settings {
  position: relative;
  display: inline-flex;
  z-index: 30;
}

.w2d-providers-dashboard .w2d-business-settings[open] {
  z-index: 140;
}

.w2d-providers-dashboard .w2d-business-settings__panel {
  z-index: 150;
}

@media (min-width: 721px) {
  .w2d-providers-dashboard .w2d-provider-card:has(.w2d-business-settings[open]) {
    margin-bottom: 170px;
  }
}

.w2d-providers-dashboard .w2d-business-settings[open] > summary.w2d-btn,
.w2d-providers-dashboard .w2d-business-settings[open] > summary.w2d-btn:hover {
  border-color: rgba(124, 58, 237, .26) !important;
  background: rgba(124, 58, 237, .10) !important;
  color: var(--w2d-provider-purple-dark, #5b21b6) !important;
}

.w2d-providers-dashboard .w2d-business-settings__form.w2d-dashboard-form {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.w2d-providers-dashboard .w2d-business-settings__panel .w2d-btn-danger {
  width: 100% !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(244, 63, 94, .28) !important;
  border-radius: 999px !important;
  background: rgba(255, 241, 242, .92) !important;
  color: #be123c !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-business-settings[open] > summary.w2d-btn,
html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-business-settings[open] > summary.w2d-btn:hover {
  border-color: rgba(196, 181, 253, .30) !important;
  background: rgba(167, 139, 250, .16) !important;
  color: var(--w2d-provider-text, #f6f7fb) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-business-settings__panel .w2d-btn-danger {
  border-color: rgba(251, 113, 133, .30) !important;
  background: rgba(251, 113, 133, .12) !important;
  color: #fecdd3 !important;
}

@media (max-width: 720px) {
  .w2d-providers-dashboard .w2d-provider-card__actions {
    display: grid !important;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
  }

  .w2d-providers-dashboard .w2d-provider-card__actions .w2d-btn,
  .w2d-providers-dashboard .w2d-business-settings,
  .w2d-providers-dashboard .w2d-business-settings > summary {
    width: 100% !important;
  }

  .w2d-providers-dashboard .w2d-business-settings {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .w2d-providers-dashboard .w2d-business-settings > summary.w2d-btn {
    min-height: 52px !important;
    border-radius: 999px !important;
  }

  .w2d-providers-dashboard .w2d-business-settings__panel {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  .w2d-providers-dashboard .w2d-business-settings__panel::before {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .w2d-providers-dashboard .w2d-provider-card:has(.w2d-business-settings[open]) {
    margin-bottom: 0 !important;
  }

  .w2d-providers-dashboard .w2d-provider-card__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .w2d-providers-dashboard .w2d-provider-card__actions > .w2d-btn,
  .w2d-providers-dashboard .w2d-business-settings,
  .w2d-providers-dashboard .w2d-business-settings > summary {
    width: 100% !important;
    max-width: 100% !important;
  }

  .w2d-providers-dashboard .w2d-business-settings {
    display: block !important;
  }

  .w2d-providers-dashboard .w2d-business-settings > summary.w2d-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 52px !important;
    height: auto !important;
    aspect-ratio: auto !important;
    padding: 14px 18px !important;
    border-radius: 999px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  .w2d-providers-dashboard .w2d-business-settings__panel {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 0 !important;
  }

  .w2d-providers-dashboard .w2d-business-settings__panel::before {
    display: none !important;
  }
}

/* Final flat dashboard surface pass.
   The dashboard panel/stack classes only group content; styling them like cards
   creates the boxed-in-boxed look on branch and provider dashboards. */
.w2d-providers-dashboard,
.w2d-providers-dashboard.w2d-providers-dashboard--branch {
  width: min(1360px, calc(100vw - clamp(32px, 5vw, 88px))) !important;
  max-width: 1360px !important;
  margin-inline: auto !important;
  padding: 32px 0 56px !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

@media (min-width: 861px) {
  .w2d-providers-dashboard.w2d-providers-dashboard--branch {
    width: min(1360px, calc(100vw - clamp(32px, 5vw, 88px))) !important;
    max-width: 1360px !important;
  }
}

.w2d-providers-dashboard :where(
  .w2d-provider-stack,
  .w2d-provider-panel,
  .w2d-provider-overview,
  .w2d-events-manager,
  .w2d-events-pane,
  .w2d-event-list
) {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.w2d-providers-dashboard .w2d-provider-stack {
  gap: 28px !important;
}

.w2d-providers-dashboard .w2d-provider-panel {
  gap: 22px !important;
}

.w2d-providers-dashboard .w2d-events-manager {
  padding: 8px 0 0 !important;
  overflow: visible !important;
}

.w2d-providers-dashboard :where(
  .w2d-dashboard-hero,
  .w2d-provider-card,
  .w2d-stat,
  .w2d-dashboard-empty,
  .w2d-dashboard-help,
  .w2d-dashboard-notice,
  .w2d-calendar,
  .w2d-event-card,
  .w2d-business-settings__panel,
  .w2d-provider-card__subscription .w2d-subscription-card,
  .w2d-provider-card__subscription .w2d-dashboard-form
) {
  border: 1px solid rgba(17, 24, 39, .10) !important;
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  color: #171023 !important;
  box-shadow: 0 14px 34px rgba(17, 24, 39, .06) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.w2d-providers-dashboard :where(.w2d-dashboard-hero, .w2d-provider-card, .w2d-calendar) {
  border-radius: 30px !important;
}

.w2d-providers-dashboard :where(.w2d-stat, .w2d-dashboard-empty, .w2d-dashboard-help, .w2d-dashboard-notice, .w2d-event-card) {
  border-radius: 24px !important;
}

.w2d-providers-dashboard .w2d-provider-overview {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.w2d-providers-dashboard .w2d-events-manager__header {
  margin-bottom: 22px !important;
}

.w2d-providers-dashboard .w2d-event-list {
  gap: 14px !important;
  margin-top: 18px !important;
}

.w2d-providers-dashboard .w2d-event-card {
  width: 100% !important;
}

.w2d-providers-dashboard :where(.w2d-dashboard-eyebrow, .w2d-section-eyebrow, .w2d-provider-card__eyebrow) {
  color: #6d28d9 !important;
}

.w2d-providers-dashboard :where(.w2d-dashboard-title, .w2d-provider-card__title, .w2d-events-manager h2, .w2d-events-manager h4, .w2d-calendar h2, .w2d-event-card__title) {
  color: #171023 !important;
}

.w2d-providers-dashboard :where(.w2d-dashboard-subtitle, .w2d-provider-card__tagline, .w2d-provider-card__location, .w2d-events-manager p, .w2d-event-card__meta, .w2d-event-card__date, .w2d-dashboard-muted-note, label, small) {
  color: rgba(23, 16, 35, .64) !important;
}

.w2d-providers-dashboard :where(.w2d-btn-primary, button.w2d-btn-primary) {
  border-color: #252044 !important;
  background: #252044 !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(37, 32, 68, .18) !important;
}

.w2d-providers-dashboard :where(.w2d-btn, button.w2d-btn):not(.w2d-btn-primary):not(.w2d-btn-danger),
.w2d-providers-dashboard :where(.w2d-view-toggle, .w2d-view-toggle__button, .w2d-calendar__nav-button, .w2d-calendar__item-settings, .w2d-provider-social__link) {
  border-color: rgba(17, 24, 39, .12) !important;
  background: #fff !important;
  background-image: none !important;
  color: #171023 !important;
  box-shadow: none !important;
}

.w2d-providers-dashboard .w2d-view-toggle {
  padding: 5px !important;
  border-radius: 999px !important;
}

.w2d-providers-dashboard .w2d-view-toggle__button[aria-pressed="true"] {
  background: rgba(124, 58, 237, .10) !important;
  color: #5b21b6 !important;
}

.w2d-providers-dashboard :where(input:not([type="button"]):not([type="submit"]):not([type="reset"]), select, textarea) {
  border-color: rgba(17, 24, 39, .12) !important;
  background: #fff !important;
  color: #171023 !important;
  box-shadow: none !important;
}

@media (max-width: 860px) {
  .w2d-providers-dashboard,
  .w2d-providers-dashboard.w2d-providers-dashboard--branch {
    width: calc(100vw - 28px) !important;
    max-width: none !important;
    padding-block: 20px 44px !important;
  }

  .w2d-providers-dashboard .w2d-provider-overview {
    grid-template-columns: 1fr !important;
  }
}

html[data-ed-theme="dark"] .w2d-providers-dashboard {
  color: #f7f5ff !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(
  .w2d-dashboard-hero,
  .w2d-provider-card,
  .w2d-stat,
  .w2d-dashboard-empty,
  .w2d-dashboard-help,
  .w2d-dashboard-notice,
  .w2d-calendar,
  .w2d-event-card,
  .w2d-business-settings__panel,
  .w2d-provider-card__subscription .w2d-subscription-card,
  .w2d-provider-card__subscription .w2d-dashboard-form
) {
  border-color: rgba(255, 255, 255, .12) !important;
  background: #20253a !important;
  background-color: #20253a !important;
  background-image: none !important;
  color: #f7f5ff !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .24) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(.w2d-dashboard-title, .w2d-provider-card__title, .w2d-events-manager h2, .w2d-events-manager h4, .w2d-calendar h2, .w2d-event-card__title) {
  color: #f7f5ff !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(.w2d-dashboard-subtitle, .w2d-provider-card__tagline, .w2d-provider-card__location, .w2d-events-manager p, .w2d-event-card__meta, .w2d-event-card__date, .w2d-dashboard-muted-note, label, small) {
  color: rgba(247, 245, 255, .72) !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(.w2d-dashboard-eyebrow, .w2d-section-eyebrow, .w2d-provider-card__eyebrow) {
  color: #c4b5fd !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard :where(.w2d-btn, button.w2d-btn):not(.w2d-btn-primary):not(.w2d-btn-danger),
html[data-ed-theme="dark"] .w2d-providers-dashboard :where(.w2d-view-toggle, .w2d-view-toggle__button, .w2d-calendar__nav-button, .w2d-calendar__item-settings, .w2d-provider-social__link),
html[data-ed-theme="dark"] .w2d-providers-dashboard :where(input:not([type="button"]):not([type="submit"]):not([type="reset"]), select, textarea) {
  border-color: rgba(255, 255, 255, .12) !important;
  background: #171c2b !important;
  background-image: none !important;
  color: #f7f5ff !important;
  box-shadow: none !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-view-toggle__button[aria-pressed="true"] {
  background: rgba(167, 139, 250, .16) !important;
  color: #d8ccff !important;
}

.w2d-providers-dashboard .w2d-calendar__day {
  position: relative;
  overflow: hidden;
}

.w2d-providers-dashboard .w2d-calendar__day > span,
.w2d-providers-dashboard .w2d-calendar__day > em {
  position: relative;
  z-index: 1;
}

.w2d-providers-dashboard .w2d-calendar__day.has-events.has-image {
  border-color: rgba(255, 255, 255, .72) !important;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, .18), rgba(17, 24, 39, .68)),
    var(--w2d-calendar-day-image) center / cover no-repeat !important;
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .18) !important;
}

.w2d-providers-dashboard .w2d-calendar__day.has-events.has-image em {
  background: rgba(255, 255, 255, .92) !important;
  color: #7f1740 !important;
  text-shadow: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18) !important;
}

.w2d-providers-dashboard .w2d-calendar__day.has-events.has-image.is-selected {
  border-color: rgba(219, 148, 40, .82) !important;
  box-shadow:
    0 0 0 3px rgba(219, 148, 40, .20),
    0 16px 30px rgba(127, 23, 64, .20) !important;
}

.w2d-providers-dashboard .w2d-calendar__item {
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.w2d-providers-dashboard .w2d-calendar__item.has-image {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78)),
    var(--w2d-calendar-item-image) center / cover no-repeat !important;
}

.w2d-providers-dashboard .w2d-calendar__item-media {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 14px;
  background: linear-gradient(135deg, #7f1740, #db9428);
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

.w2d-providers-dashboard .w2d-calendar__item-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.w2d-providers-dashboard .w2d-calendar__item-main {
  min-width: 0;
}

.w2d-providers-dashboard .w2d-calendar__item-main .w2d-event-card__action-menu {
  top: 46px;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-calendar__item.has-image {
  background:
    linear-gradient(90deg, rgba(23, 28, 43, .94), rgba(23, 28, 43, .78)),
    var(--w2d-calendar-item-image) center / cover no-repeat !important;
}

html[data-ed-theme="dark"] .w2d-providers-dashboard .w2d-calendar__day.has-events.has-image {
  border-color: rgba(255, 255, 255, .20) !important;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .68)),
    var(--w2d-calendar-day-image) center / cover no-repeat !important;
}
