/* === LL_FILE_START ===
 * File name: promo-calendar.css
 * Description: Styles for shared promo calendar modal UI.
 */

.ll-promo-wrap {
  padding: 14px;
  overflow: visible;
}

.ll-promo-top {
  padding-right: 190px;
}

.ll-promo-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow: visible;
}

.ll-promo-intro {
  flex: 1 1 auto;
  min-width: 300px;
}

.ll-promo-price {
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.ll-promo-sub {
  margin: 10px 0 12px;
}

.ll-promo-hint {
  font-size: 13px;
  opacity: 0.85;
}

.ll-promo-hint-green {
  margin-bottom: 4px;
  font-weight: 700;
  opacity: 1;
}

.ll-promo-calendars {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 14px;
}

.ll-promo-month {
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.ll-promo-month.is-hidden {
  display: none;
}

.ll-promo-month-title {
  margin-bottom: 8px;
  font-weight: 700;
}

.ll-promo-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.ll-promo-dow {
  font-size: 12px;
  text-align: center;
  opacity: 0.6;
}

.ll-promo-cell {
  position: relative;
  padding: 8px 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.ll-promo-cell input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ll-promo-daynum {
  font-size: 14px;
  font-weight: 600;
}

.ll-promo-cell:hover {
  border-color: #94a3b8;
}

.ll-promo-empty {
  border: none;
  background: transparent;
}

.ll-promo-em {
  font-weight: 800;
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.ll-promo-cell.is-disabled {
  cursor: not-allowed;
}

.ll-promo-cell.is-disabled:not(.is-booked) {
  opacity: 0.35;
  background: #f8fafc;
}

.ll-promo-cell.is-booked {
  cursor: not-allowed;
  opacity: 1;
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.ll-promo-cell.is-booked .ll-promo-daynum {
  color: #fff;
}

.ll-promo-cell.is-checked {
  border-color: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.15);
}

.ll-promo-viewmore-row {
  margin-top: 10px;
}

.ll-promo-viewmore {
  cursor: pointer;
  text-decoration: underline;
}

.ll-promo-paybox {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.ll-promo-paybox-title {
  margin-bottom: 10px;
  font-weight: 700;
}

.ll-promo-selected-wrap {
  margin: 0 0 12px;
}

.ll-promo-selected-title {
  margin-bottom: 6px;
  font-weight: 700;
}

.ll-promo-selected-list {
  margin: 0;
  padding-left: 18px;
}

.ll-promo-selected-total {
  margin-top: 8px;
  font-weight: 700;
}

.ll-promo-hide {
  display: none !important;
}

.ll-promo-intro-card {
  padding: 18px 18px 16px;
  background: #fff;
}

.ll-promo-intro-card__title {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: #1f2937;
}

.ll-promo-intro-card__image-wrap {
  margin: 0 0 10px;
}

.ll-promo-intro-card__image {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}

.ll-promo-intro-card__caption {
  margin: 0 0 14px;
  font-size: 13px;
  color: #6b7280;
}

.ll-promo-intro-card__instruction {
  margin: 0 0 18px;
  font-size: 15px;
  color: #111827;
}

.ll-promo-intro-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 640px) {
  .ll-promo-top {
    display: block;
  }

  .ll-promo-calendars {
    grid-template-columns: 1fr;
  }

  .ll-promo-intro-card {
    padding: 14px;
  }

  .ll-promo-intro-card__title {
    font-size: 18px;
  }

  .ll-promo-intro-card__instruction {
    font-size: 14px;
  }

  .ll-promo-intro-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ll-promo-intro-card__actions .ll-btn {
    width: 100%;
  }
}