/* ============================================================
   Premium membership renewal notices
   Memberships never auto-renew, so members are prompted manually
   within 45 days of expiry.

   Used by:
     - frontend_artistpremium.php  (.premium-renew-alert, on a dark hero)
     - frontend_myaccount.php      (.premium-renew-inline, on a white card)
   ============================================================ */

/* ── Banner variant: solid green, white text ── */
.premium-renew-alert {
  display: block;
  max-width: 760px;
  margin: 0 auto 28px auto;
  padding: 14px 20px;
  border-radius: 4px;
  background-color: #009e4a;
  color: #ffffff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.premium-renew-alert__icon {
  margin-right: 8px;
}

/* Inline call to action jumping down to the pricing table */
.premium-renew-alert__cta {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 14px;
  border: 1px solid #ffffff;
  border-radius: 4px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.premium-renew-alert__cta:hover,
.premium-renew-alert__cta:focus {
  background-color: #ffffff;
  color: #009e4a;
  text-decoration: none;
}

/* Extra days granted when renewing before the expiry date */
.premium-renew-bonus {
  display: inline-block;
  margin-top: 4px;
  color: #009e4a;
  font-weight: 600;
}

/* ── Inline variant: plain black text, outlined button ── */
.premium-renew-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid #e8eaed;
  color: #1a1a2e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.premium-renew-inline__icon {
  margin-right: 6px;
}

.premium-renew-inline__text {
  flex: 1;
  min-width: 180px;
}

.premium-renew-inline__cta {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid #1a1a2e;
  border-radius: 4px;
  color: #1a1a2e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-decoration: none;
  white-space: nowrap;
}

.premium-renew-inline__cta:hover,
.premium-renew-inline__cta:focus {
  background-color: #1a1a2e;
  color: #ffffff;
  text-decoration: none;
}

/* Stack the buttons under their message on small screens (320px and up) */
@media (max-width: 575px) {
  .premium-renew-alert {
    margin-bottom: 20px;
    padding: 12px 14px;
    font-size: 15px;
  }

  .premium-renew-alert__cta {
    display: block;
    margin: 10px auto 0 auto;
  }

  .premium-renew-inline {
    display: block;
  }

  .premium-renew-inline__cta {
    margin-top: 10px;
  }
}
