/* Cabin insights: weather + price history (booking column) */
.bb-cabin-weather,
.bb-cabin-price-history {
  margin: 10px 0 12px;
  padding: 12px 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.72));
}

.bb-cabin-weather[hidden],
.bb-cabin-price-history[hidden] {
  display: none !important;
}

.bb-cabin-weather__head,
.bb-cabin-price-history__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.bb-cabin-weather__head strong,
.bb-cabin-price-history__head strong {
  color: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.bb-cabin-weather__head span {
  color: #94a3b8;
  font-size: 11px;
}

.bb-cabin-price-history__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 212, 170, 0.14);
  color: #5eead4;
  border: 1px solid rgba(0, 212, 170, 0.28);
}

.bb-cabin-price-history__badge.is-up {
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.28);
}

.bb-cabin-weather__days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 420px) {
  .bb-cabin-weather__days {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  }
}

.bb-cabin-weather__day {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 9px;
  border-radius: 11px;
  background: rgba(2, 8, 20, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.14);
  min-width: 0;
}

.bb-cabin-weather__date {
  color: #94a3b8;
  font-size: 11px;
  text-transform: capitalize;
}

.bb-cabin-weather__temp {
  color: #f1f5f9;
  font-size: 15px;
  font-weight: 700;
}

.bb-cabin-weather__cond {
  color: #cbd5e1;
  font-size: 11px;
}

.bb-cabin-weather__tip,
.bb-cabin-price-history__line,
.bb-cabin-price-history__sub {
  margin: 8px 0 0;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.45;
}

.bb-cabin-price-history__sub {
  color: #94a3b8;
  margin-top: 4px;
}

.bb-cabin-price-history__spark {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 52px;
  margin-top: 10px;
  padding: 6px 4px 0;
}

.bb-cabin-price-history__spark span {
  flex: 1;
  min-width: 6px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #2dd4bf, rgba(0, 212, 170, 0.35));
}

.bb-cabin-price-history__toggle {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5eead4;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.bb-cabin-price-history__chart {
  margin-top: 8px;
  display: grid;
  gap: 4px;
}

.bb-cabin-price-history__chart[hidden] {
  display: none !important;
}

.bb-cabin-price-history__row {
  display: grid;
  grid-template-columns: 52px 1fr 1fr;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
  padding: 4px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.bb-cabin-price-history__row span:nth-child(2),
.bb-cabin-price-history__row span:nth-child(3) {
  color: #e2e8f0;
  text-align: right;
}

@media (max-width: 767px) {
  .bb-cabin-weather,
  .bb-cabin-price-history {
    margin: 8px 0 10px;
    padding: 11px 11px 9px;
  }

  .bb-cabin-weather__days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
