/* ================================================================
   PREMIUM BILLING PAGE — Softbook AI
   Stripe-grade layout + Softbook glass identity
================================================================ */

/* Global Text Color */
body {
  font-family: "Inter", sans-serif;
  color: #fff;
}

/* Container Layout */
.billing-container {
  margin-top: 110px;
  max-width: 900px;
}

/* ============================
   HERO SECTION
============================ */
.billing-hero {
  margin-bottom: 35px;
  text-align: left;
}

.billing-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.billing-subtitle {
  opacity: 0.75;
  font-size: 0.95rem;
  margin-top: 4px;
}

/* ============================
   GLASS PREMIUM CARD
============================ */
.glass-premium {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* ============================
   BALANCE SUMMARY CARD
============================ */
.balance-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  border-radius: 20px;
  margin-bottom: 35px;
  background: rgba(255, 255, 255, 0.10);
}

.balance-left h2 {
  font-size: 1.2rem;
  opacity: 0.9;
}

.balance-credits {
  font-size: 1.8rem;
  font-weight: 700;
}

.balance-icon i {
  font-size: 40px;
  color: #ffd86b;
  text-shadow: 0 0 10px rgba(255, 220, 150, 0.8);
}

/* ============================
   SECTION TITLE
============================ */
.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
}

/* ============================
   CREDIT PRODUCT CARDS
============================ */
.credit-card {
  padding: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.22);
}

.credit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 50px rgba(0,0,0,0.35),
              0 0 18px rgba(255,255,255,0.25);
}

/* Card Header */
.cc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cc-amount {
  font-size: 1.4rem;
  font-weight: 700;
}

.cc-icon {
  font-size: 32px;
  color: #ffd86b;
  text-shadow: 0 0 10px rgba(255,230,180,0.9);
}

/* Card Price */
.cc-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 15px 0 20px;
    text-align: center;
    text-shadow: 0 0 8px rgb(225 193 255 / 50%);
}

/* Gradient Button */
.btn-gradient {
  background: linear-gradient(90deg, #7e6dfc, #46c2ff);
  border: none;
  padding: 12px;
  font-weight: 600;
  border-radius: 50px;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(109,93,252,0.5);
  transition: 0.25s;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(109,93,252,0.8);
}

/* ============================
   PAYMENT HISTORY (Glass Row Cards)
============================ */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.history-row {
  background: rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.20);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.25s ease;
}

/* Hover elevation */
.history-row:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

/* Left side label */
.row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Coin Icon */
.row-icon {
  font-size: 26px;
  color: #ffd86b;
  text-shadow: 0 0 8px rgba(255,220,150,0.9);
}

/* Title */
.row-title {
  font-size: 1rem;
  font-weight: 600;
}

/* Right side info */
.row-right {
  text-align: right;
  opacity: 0.85;
  font-size: 0.9rem;
}

/* Status badges (minimal) */
.status-completed {
  color: #8aff8a;
}

.status-pending {
  color: #ffe98a;
}

.status-failed {
  color: #ff8a8a;
}

.text-muted{
    color: #fff !important;
}

main.container {
    background: rgb(150 150 150 / 30%) !important;
}


/* ==========================================================
   PREMIUM LOW CREDITS ALERT POPUP
========================================================== */

.low-credits-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(0,0,0,0.55);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.low-credits-modal.d-none {
  display: none;
}

.low-credits-content {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 22px;
  width: 90%;
  max-width: 420px;
  padding: 30px;
  text-align: center;
  color: #fff;
  font-size: 15px;
  position: relative;
  animation: popUpFade 0.35s ease-out;
}

@keyframes popUpFade {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.low-credits-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.low-credits-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 16px;
}

.low-credits-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.btn-gradient-alert {
  /*background: linear-gradient(41deg, #d6d6d6, #6f4bff);*/

  padding: 10px 30px;
  font-weight: 600;
  color: #fff !important;
  transition: var(--transition-medium);
  box-shadow: 0 0 20px rgba(109, 93, 252, 0.5);
  background: linear-gradient(90deg, #7e6dfc, #46c2ff);
    border: none;
    border-radius: 50px;
}


.btn-gradient-alert:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(109, 93, 252, 0.8);
}

.btn-disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

.whish-btn{
    border: none;
    padding: 12px;
    font-weight: 600;
    border-radius: 50px;
}