.prw-portal-reminder-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.prw-portal-reminder-picker-open {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(32, 82, 232, 0.32);
  border-radius: 10px;
  background: #fff;
  color: var(--prw-portal-purple-dark, #24125d);
  font-weight: 700;
  cursor: pointer;
}

.prw-portal-reminder-picker-value {
  color: var(--prw-portal-ink, #111633);
  font-weight: 700;
}

.prw-portal-reminder-dialog.is-hidden {
  display: none !important;
}

body.prw-reminder-dialog-open {
  overflow: hidden !important;
}

.prw-portal-reminder-dialog {
  position: fixed;
  z-index: 100100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  box-sizing: border-box;
  isolation: isolate;
}

.prw-portal-reminder-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 8, 56, 0.62);
}

.prw-portal-reminder-dialog-card {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  padding: 28px;
  box-sizing: border-box;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 8, 56, 0.28);
  overflow-x: hidden;
}

.prw-portal-reminder-dialog-card .prw-portal-kicker {
  margin: 0 0 8px;
  color: #d41462;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.prw-portal-reminder-dialog-card h2 {
  margin: 0;
  color: #26389b;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.1;
}

.prw-portal-reminder-dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  display: grid !important;
  width: 36px !important;
  height: 36px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f4f1fa !important;
  color: #24125d !important;
  font-size: 28px !important;
  line-height: 1 !important;
  cursor: pointer;
}

.prw-portal-reminder-picker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(130px, .8fr);
  gap: 22px;
  margin: 22px 0;
}

.prw-portal-reminder-calendar,
.prw-portal-reminder-time {
  padding: 12px;
  border: 1px solid #e3deed;
  border-radius: 14px;
  background: #f8f6fb;
}

.prw-portal-reminder-calendar-head,
.prw-portal-reminder-weekdays,
.prw-portal-reminder-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  text-align: center;
}

.prw-portal-reminder-calendar-head {
  grid-template-columns: 36px 1fr 36px;
  margin-bottom: 10px;
  color: #171234;
}

.prw-portal-reminder-calendar-head button {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #24125d !important;
  font-size: 28px !important;
  line-height: 1 !important;
  cursor: pointer;
}

.prw-portal-reminder-weekdays {
  margin-bottom: 4px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.prw-portal-reminder-days {
  grid-auto-rows: 36px;
  gap: 3px;
}

.prw-portal-reminder-day {
  display: grid !important;
  width: 36px !important;
  height: 36px !important;
  min-height: 0 !important;
  justify-self: center;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #171234 !important;
  font: inherit !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer;
}

.prw-portal-reminder-day.is-reminder-selected,
.prw-portal-reminder-time-option.is-reminder-selected {
  background: #e20b5c !important;
  color: #fff !important;
}

.prw-portal-reminder-time > p {
  margin: 0 0 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.prw-portal-reminder-time-wheels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  color: #171234;
  font-size: 20px;
  font-weight: 800;
}

.prw-portal-reminder-time-wheel {
  position: relative;
  min-width: 0;
  height: 170px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  border-radius: 10px;
  background: #fff;
  scrollbar-width: thin;
}

.prw-portal-reminder-time-option {
  display: grid !important;
  width: 100% !important;
  height: 42px !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #171234 !important;
  font: inherit !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer;
  scroll-snap-align: center;
}

.prw-portal-reminder-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.prw-portal-reminder-dialog-actions button {
  min-height: 46px;
  padding: 11px 18px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.prw-portal-reminder-dialog-actions .prw-portal-secondary {
  background: #f4f1fa;
  color: #24125d;
}

.prw-portal-reminder-dialog-actions .prw-portal-primary {
  background: #e20b5c;
  color: #fff;
}

@media (max-width: 650px) {
  .prw-portal-reminder-dialog {
    align-items: end;
    padding: 0;
  }

  .prw-portal-reminder-dialog-card {
    width: 100%;
    max-height: 94vh;
    overflow-y: auto;
    padding: 25px 20px 24px;
    border-radius: 22px 22px 0 0;
  }

  .prw-portal-reminder-picker-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 16px 0;
  }

  .prw-portal-reminder-calendar,
  .prw-portal-reminder-time {
    padding: 9px;
  }

  .prw-portal-reminder-weekdays {
    font-size: 10px;
  }

  .prw-portal-reminder-days {
    grid-auto-rows: 32px;
    gap: 1px;
  }

  .prw-portal-reminder-day {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }

  .prw-portal-reminder-time-wheel {
    height: 150px;
  }

  .prw-portal-reminder-time-option {
    height: 38px !important;
    min-height: 38px !important;
  }

  .prw-portal-reminder-time-wheels {
    grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr);
    gap: 8px;
    font-size: 16px;
  }

  .prw-portal-reminder-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .prw-portal-reminder-dialog-actions button {
    width: 100%;
  }
}
