/* =========================================================
   SIMU — PICKER MOIS PREMIUM
   ========================================================= */

.simu-premium-month-zone {
  width: 100%;
  display: grid;
  gap: 18px;
}

.simu-premium-month-host {
  width: min(100%, 1080px);
  margin: 0 auto;
  position: relative;
}

.simu-premium-native-picker {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.simu-premium-selector {
  position: relative;
  width: 100%;
  border-radius: 34px;
  padding: 26px 28px 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(170, 102, 255, .09), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(60, 125, 255, .09), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,247,255,.92));
  border: 1px solid rgba(255,255,255,.88);
  box-shadow:
    0 30px 70px rgba(72, 78, 128, .16),
    inset 0 1px 0 rgba(255,255,255,.95);
  overflow: visible;
  isolation: isolate;
}

.simu-premium-selector::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(112, 118, 170, .06);
}

.simu-premium-selector-head {
  position: relative;
  z-index: 2;
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 3px 4px 18px;
}

.simu-premium-kicker {
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: .045em;
  color: #4e5f96;
}

.simu-premium-subtitle {
  margin-top: 10px;
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 560;
  color: #60709f;
}

.simu-premium-calendar-btn {
  position: relative;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(117, 124, 178, .16);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  box-shadow:
    0 12px 28px rgba(69, 78, 143, .12),
    inset 0 1px 0 #fff;
  color: #7f8ab5;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .18s ease, box-shadow .18s ease;
}

.simu-premium-calendar-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 32px rgba(69, 78, 143, .17),
    inset 0 1px 0 #fff;
}

.simu-premium-calendar-btn svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.simu-premium-calendar-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  right: 7px;
  top: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, #6d65ff, #525dfb);
  box-shadow:
    0 0 0 3px rgba(255,255,255,.9),
    0 5px 12px rgba(79, 70, 255, .4);
}

.simu-premium-main-card {
  position: relative;
  z-index: 2;
  min-height: 320px;
  margin: 0 -28px;
  padding: 34px 92px 30px;
  border-radius: 34px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 118px;
  align-items: center;
  background:
    radial-gradient(circle at 20% 50%, rgba(196, 105, 255, .10), transparent 24%),
    radial-gradient(circle at 82% 48%, rgba(95, 118, 255, .11), transparent 24%),
    linear-gradient(160deg, rgba(255,255,255,.86), rgba(246,248,255,.78));
  border: 1px solid rgba(255,255,255,.96);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 16px 35px rgba(70, 80, 145, .08);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.simu-premium-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 4px 24px;
}

.simu-premium-selected-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(100deg, #5967ff, #c53cf4);
  box-shadow:
    0 10px 24px rgba(107, 79, 255, .28),
    inset 0 1px 0 rgba(255,255,255,.36);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .055em;
}

.simu-premium-selected-badge > span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px rgba(255,255,255,.75);
}

.simu-premium-current-month {
  margin-top: 18px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.simu-premium-current-month > strong {
  max-width: 100%;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.025em;
  color: #14266c;
  text-align: center;
  text-wrap: balance;
}

.simu-premium-year-line {
  width: min(310px, 78%);
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.simu-premium-year-line i {
  display: block;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(157, 116, 255, .42));
}

.simu-premium-year-line i:last-child {
  background: linear-gradient(90deg, rgba(116, 162, 255, .38), transparent);
}

.simu-premium-year-line b {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  font-weight: 450;
  letter-spacing: .035em;
  color: #776bff;
}

.simu-premium-days-pill {
  margin-top: 22px;
  min-height: 48px;
  padding: 6px 18px 6px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(130, 136, 190, .14);
  box-shadow:
    0 10px 24px rgba(68, 76, 137, .10),
    inset 0 1px 0 rgba(255,255,255,.92);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #66719d;
}

.simu-premium-days-pill > strong {
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .035em;
}

.simu-premium-bars {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, #7167ff, #695cf5);
  box-shadow: 0 7px 16px rgba(92, 75, 255, .30);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.simu-premium-bars i {
  width: 3px;
  border-radius: 99px;
  background: #fff;
}

.simu-premium-bars i:nth-child(1) { height: 10px; }
.simu-premium-bars i:nth-child(2) { height: 15px; }
.simu-premium-bars i:nth-child(3) { height: 12px; }

.simu-premium-dots {
  margin-top: 18px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.simu-premium-dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c7ccdd;
  box-shadow: inset 0 1px 2px rgba(41,49,92,.10);
}

.simu-premium-dots i.is-active {
  background: #625eff;
  box-shadow: 0 4px 12px rgba(85, 76, 255, .35);
}

.simu-premium-arrow {
  justify-self: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.95);
  background: rgba(255,255,255,.82);
  box-shadow:
    0 22px 42px rgba(77, 82, 153, .14),
    0 0 34px rgba(153, 99, 255, .10),
    inset 0 1px 0 #fff;
  color: #142866;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.simu-premium-arrow:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow:
    0 28px 50px rgba(77, 82, 153, .18),
    0 0 40px rgba(122, 100, 255, .14),
    inset 0 1px 0 #fff;
}

.simu-premium-arrow:active {
  transform: scale(.96);
}

.simu-premium-arrow svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.simu-premium-arrow-caption {
  position: absolute;
  bottom: 62px;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .035em;
  color: #65719b;
}

.simu-premium-arrow-caption.is-left { left: 70px; }
.simu-premium-arrow-caption.is-right { right: 78px; }

.simu-premium-popover {
  position: relative;
  z-index: 8;
  width: min(800px, calc(100% - 70px));
  margin: 18px auto -16px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(178, 105, 255, .08), transparent 28%),
    linear-gradient(160deg, rgba(255,255,255,.98), rgba(248,248,255,.97));
  border: 1px solid rgba(255,255,255,.94);
  box-shadow:
    0 32px 70px rgba(68, 75, 130, .21),
    inset 0 1px 0 #fff;
  overflow: visible;
}

.simu-premium-popover[hidden] {
  display: none !important;
}

.simu-premium-popover-arrow {
  position: absolute;
  left: 50%;
  top: -12px;
  width: 24px;
  height: 24px;
  transform: translateX(-50%) rotate(45deg);
  border-left: 1px solid rgba(255,255,255,.95);
  border-top: 1px solid rgba(255,255,255,.95);
  background: rgba(253,253,255,.98);
  border-radius: 5px 0 0;
}

.simu-premium-popover-head {
  position: relative;
  z-index: 2;
  min-height: 78px;
  padding: 19px 22px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.simu-premium-popover-title {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #53618e;
  font-size: 15px;
  font-weight: 820;
  letter-spacing: .035em;
}

.simu-premium-mini-calendar {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(109, 88, 255, .08);
  color: #6a5dff;
  display: grid;
  place-items: center;
  box-shadow: 0 7px 18px rgba(100, 82, 255, .08);
}

.simu-premium-mini-calendar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.simu-premium-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(116, 124, 170, .12);
  border-radius: 13px;
  background: rgba(255,255,255,.74);
  color: #637096;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(71, 77, 132, .08);
}

.simu-premium-month-grid {
  padding: 0 22px 22px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
}

.simu-premium-month-tile {
  position: relative;
  min-height: 102px;
  padding: 15px 6px;
  border: 1px solid rgba(116, 124, 172, .09);
  border-radius: 14px;
  background: rgba(255,255,255,.62);
  color: #14265f;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.simu-premium-month-tile:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 12px 24px rgba(73, 78, 132, .09);
}

.simu-premium-month-tile strong {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .025em;
}

.simu-premium-month-tile span {
  font-size: 13px;
  color: #65709a;
}

.simu-premium-month-tile.is-selected {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #7a4cff 0%, #5b5cff 55%, #3e8df9 100%);
  box-shadow:
    0 14px 28px rgba(79, 78, 255, .27),
    inset 0 1px 0 rgba(255,255,255,.32);
}

.simu-premium-month-tile.is-selected span {
  color: rgba(255,255,255,.92);
}

.simu-premium-check {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  color: #5b60ff;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 5px 12px rgba(36, 39, 95, .18);
}

.simu-premium-popover-foot {
  min-height: 74px;
  padding: 15px 22px;
  border-top: 1px solid rgba(109, 116, 159, .09);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.simu-premium-quick {
  color: #6a5cff;
  font-size: 14px;
}

.simu-premium-quick b {
  font-weight: 760;
}

.simu-premium-foot-actions {
  display: flex;
  gap: 12px;
}

.simu-premium-foot-actions button {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 13px;
  border: 1px solid rgba(103, 111, 164, .11);
  background: rgba(255,255,255,.74);
  color: #4f5d8a;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .045em;
  cursor: pointer;
  box-shadow: 0 7px 16px rgba(61, 67, 117, .06);
}

.simu-premium-foot-actions button.is-accent {
  border-color: transparent;
  background: linear-gradient(145deg, rgba(114,87,255,.14), rgba(104,105,255,.08));
  color: #6559ff;
}

.simu-premium-month-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .simu-premium-selector {
    padding-left: 18px;
    padding-right: 18px;
    border-radius: 26px;
  }

  .simu-premium-main-card {
    margin-left: -18px;
    margin-right: -18px;
    padding: 28px 24px 34px;
    grid-template-columns: 70px minmax(0, 1fr) 70px;
  }

  .simu-premium-arrow {
    width: 64px;
    height: 64px;
  }

  .simu-premium-arrow svg {
    width: 27px;
    height: 27px;
  }

  .simu-premium-arrow-caption {
    display: none;
  }

  .simu-premium-month-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .simu-premium-popover {
    width: calc(100% - 16px);
  }
}

@media (max-width: 620px) {
  .simu-premium-selector-head {
    min-height: 64px;
  }

  .simu-premium-calendar-btn {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .simu-premium-main-card {
    min-height: 278px;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .simu-premium-arrow {
    width: 48px;
    height: 48px;
  }

  .simu-premium-current-month > strong {
    font-size: clamp(29px, 9vw, 42px);
  }

  .simu-premium-year-line {
    width: 90%;
    gap: 10px;
  }

  .simu-premium-selected-badge {
    min-height: 36px;
    padding: 0 15px;
    font-size: 11px;
  }

  .simu-premium-days-pill {
    padding-right: 13px;
  }

  .simu-premium-days-pill > strong {
    font-size: 10px;
  }

  .simu-premium-month-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .simu-premium-popover-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .simu-premium-foot-actions {
    width: 100%;
  }

  .simu-premium-foot-actions button {
    flex: 1;
    padding-left: 10px;
    padding-right: 10px;
  }

  .simu-premium-month-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
