/* AptSoft Pay Now — matches site dark glass aesthetic */
.pay-hero {
  padding: 7rem 0 2rem;
}
.pay-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #e11d48;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.pay-hero h1 {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.75rem;
}
.pay-lede {
  max-width: 36rem;
  color: var(--text-muted, #a1a1aa);
  font-size: 1.05rem;
  line-height: 1.55;
}
.pay-section {
  padding: 1rem 0 4rem;
}
.pay-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 992px) {
  .pay-grid {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: start;
  }
}
.pay-card,
.pay-aside-card {
  background: #121214;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem 1.35rem;
}
.pay-card h2,
.pay-aside-card h3 {
  font-family: Poppins, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.pay-mode-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.pay-mode {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--text-main, #f4f4f5);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pay-mode.active {
  border-color: rgba(225, 29, 72, 0.55);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.18), rgba(124, 58, 237, 0.12));
}
.pay-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
}
.pay-input {
  display: block;
  width: 100%;
  height: 48px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-main, #f4f4f5);
  padding: 0 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  line-height: 46px;
  box-sizing: border-box;
  vertical-align: middle;
}
textarea.pay-input {
  height: auto;
  min-height: 6rem;
  line-height: 1.45;
  padding: 0.75rem 0.85rem;
  resize: vertical;
}
select.pay-input {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2371717a' d='M4.5 6l3.5 3.5L11.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1rem;
  cursor: pointer;
}
select.pay-input::-ms-expand {
  display: none;
}
.pay-input:focus {
  outline: none;
  border-color: rgba(225, 29, 72, 0.55);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}
.pay-hint,
.pay-muted,
.pay-fineprint {
  color: var(--text-muted, #a1a1aa);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}
.pay-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 1.4rem 0;
}
.pay-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.25rem;
  border: 0;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #7c3aed);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}
.pay-cta:hover {
  transform: translateY(-1px);
  color: #fff;
}
.pay-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.pay-banner {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin: 1rem 0 0;
}
.pay-banner.warn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}
.pay-aside-card ul {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
  color: var(--text-muted, #a1a1aa);
  line-height: 1.65;
}
.pay-aside-card a {
  color: #fb7185;
}
.mb-0 { margin-bottom: 0 !important; }
.text-gradient {
  background: linear-gradient(135deg, #e11d48, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Light theme tweaks when site is in light mode */
body:not(.dark-mode) .pay-card,
body:not(.dark-mode) .pay-aside-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
body:not(.dark-mode) .pay-input {
  background-color: #fafafa;
  border-color: rgba(0, 0, 0, 0.12);
  color: #18181b;
}
body:not(.dark-mode) select.pay-input {
  background-color: #fafafa;
}
body:not(.dark-mode) .pay-mode {
  color: #18181b;
}
