/* === LL_FILE_START ===
 * File name: promo-pay-box.css
 * Description: Shared sticky payment total box styles for promo calendar modals.
 */

.ll-promo-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex: 0 0 auto;
  margin-left: auto;
  pointer-events: none;
}

.ll-promo-total {
  min-width: 150px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  text-align: right;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  pointer-events: auto;
}

.ll-promo-total-label {
  margin-bottom: 4px;
  font-size: 12px;
  opacity: 0.7;
  text-align: left;
}

.ll-promo-total-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.ll-promo-total-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.ll-promo-total .ll-promo-pay {
  margin-top: 0;
  white-space: nowrap;
}

#dashboard-modal .ll-promo-pay,
.dashboard-modal .ll-promo-pay {
  background: #dc2626 !important;
  color: #fff !important;
  border: 1px solid #dc2626 !important;
}

#dashboard-modal .ll-promo-pay:hover,
#dashboard-modal .ll-promo-pay:focus,
.dashboard-modal .ll-promo-pay:hover,
.dashboard-modal .ll-promo-pay:focus {
  background: #fff !important;
  color: #dc2626 !important;
  border: 1px solid #dc2626 !important;
}

.ll-promo-hide {
  display: none !important;
}

@media (min-width: 641px) {
  #dashboard-modal .ll-promo-right,
  .dashboard-modal .ll-promo-right {
    position: sticky;
    top: 12px;
    z-index: 60;
    width: max-content;
    margin: 6px 0 -74px auto;
  }

  #dashboard-modal .ll-promo-top,
  .dashboard-modal .ll-promo-top {
    padding-right: 190px;
  }
}

@media (max-width: 640px) {
  .ll-promo-right {
    justify-content: stretch;
    width: 100%;
    margin: 8px 0 12px;
  }

  .ll-promo-total {
    width: 100%;
  }
}

/* =========================
   TITLE
   ========================= */

.ll-promo-intro-title {
  margin-bottom: 6px;
  font-weight: 800;
}

