/* Saintngelic Period Guide — Elementor widget */

.elementor-widget-sng_period_guide {
  width: 100%;
}

.elementor-widget-sng_period_guide .elementor-widget-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.sng-period-guide {
  width: 100%;
  max-width: var(--sng-pg-max-width, 420px);
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #3d3530;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.sng-period-guide__card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 28px 20px 24px;
  border-radius: 24px;
  background: #faf8f4;
  box-shadow: 0 8px 32px rgba(37, 9, 3, 0.08);
  overflow: hidden;
}

.sng-period-guide__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.sng-period-guide__month {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #6b625c;
  text-align: center;
}

.sng-period-guide .sng-period-guide__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  min-width: 36px;
  max-width: 36px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(37, 9, 3, 0.06);
  color: #6b625c;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.sng-period-guide .sng-period-guide__nav-btn:hover,
.sng-period-guide .sng-period-guide__nav-btn:focus {
  background: rgba(37, 9, 3, 0.12);
  color: #250903;
  outline: none;
}

.sng-period-guide__nav-icon {
  display: block;
  width: 8px;
  height: 14px;
  flex-shrink: 0;
  pointer-events: none;
}

.sng-period-guide__weekdays {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0dbd4;
}

.sng-period-guide__weekday {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #8a827a;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sng-period-guide__grid {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.sng-period-guide__day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #4a4540;
  font-family: inherit;
  font-size: clamp(12px, 2.8vw, 15px);
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  box-sizing: border-box;
  transition: color 0.15s ease, background 0.15s ease;
}

.sng-period-guide__day--outside {
  color: #a8a299;
}

.sng-period-guide__day:not(.sng-period-guide__day--outside):hover {
  background: rgba(37, 9, 3, 0.06);
}

.sng-period-guide__day--day-one {
  background: #f5e878;
  color: #3d3530;
}

.sng-period-guide__day--day-two {
  background: #f4c4c8;
  color: #3d3530;
}

.sng-period-guide__day--day-three {
  background: #a8c8f0;
  color: #3d3530;
}

.sng-period-guide__legend {
  margin-top: 22px;
  padding-top: 4px;
  text-align: left;
}

.sng-period-guide__legend-item {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.45;
  color: #3d3530;
}

.sng-period-guide__legend-item:last-child {
  margin-bottom: 0;
}

.sng-period-guide__legend-label {
  font-weight: 600;
}

.sng-period-guide__legend-label--one {
  color: #c9b82e;
}

.sng-period-guide__legend-label--two {
  color: #d98a92;
  font-style: italic;
}

.sng-period-guide__legend-label--three {
  color: #6a9fd4;
}

.sng-period-guide__legend-desc {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  color: #6b625c;
}

.sng-period-guide__legend--empty .sng-period-guide__legend-item {
  opacity: 0.45;
}

.sng-period-guide__hidden-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 380px) {
  .sng-period-guide__card {
    padding: 20px 12px 18px;
  }

  .sng-period-guide__weekdays,
  .sng-period-guide__grid {
    gap: 2px;
  }

  .sng-period-guide__day {
    font-size: 12px;
    border-radius: 3px;
  }
}
