@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");
:root {
  --bg-dark: #171a20;
  --bg-light: #f2f2f2;
  --text-dark: #171a20;
  --text-light: #ffffff;
  --accent: #3e6ae1; /* blue CTA similar vibe */
  --accent-contrast: #ffffff;
  --muted: #a1a5aa;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat";
  color: var(--text-light);
  /* scroll-behavior: smooth;
  scroll-snap-type: y proximity; vertical snap like galaxy sections */
}

* {
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat";
  margin: 0;
}

body {
  background: #f4f4f4;
  min-height: 100vh;
}

#mailerBtn {
  cursor: pointer;
}

#paymentBtn {
  cursor: pointer;
}

#deleteIcon {
  border-radius: 0.4em;
  cursor: pointer;
}
#restrictBtn {
  border-radius: 0.4em;
  cursor: pointer;
}
#cardHeader {
  background-color: var(--bg-dark);
}
#galaxyLogo {
  width: 12em;
}

#galaxySmallLogo {
  width: 8em;
  margin-top: -0.5em;
}

/* #galaxy-logo {
  font-size: 22px;
} */
.galaxy-login-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 400px;
  width: 100%;
  margin: auto;
}

.topspace {
  padding-bottom: 5em;
}
.galaxy-logo {
  display: block;
  padding: 0 auto 1.5rem auto;
  width: 80px;
}
#header {
  font-weight: 600;
  text-align: center;
  padding-bottom: 1.5rem;
  letter-spacing: 1px;
}
.form-label {
  font-weight: 500;
}
.form-control:focus {
  border-color: #393c41;
  box-shadow: 0 0 0 0.2rem rgba(57, 60, 65, 0.15);
}
.btn-galaxy {
  background: #393c41;
  color: #fff;
  border-radius: 20px;
  font-weight: 600;
  width: 100%;
  padding: 0.75rem;
  transition: background 0.2s;
}
.btn-galaxy:hover {
  background: #222326;
  color: #fff;
}
.signup-link {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  color: #393c41;
  text-decoration: none;
  font-size: 0.97rem;
}
.signup-link:hover {
  text-decoration: underline;
  color: #222326;
}

nav {
  position: fixed !important;
  z-index: 100;
  /* padding: 0.7em 3.5em !important; */
}
/* galaxy-style Navbar */
.navbar {
  position: fixed;
  width: 100%;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 200, 200, 0.2);
}

#paymentTxt {
  font-size: 17px;
}

.navbar-brand .fw-bold {
  letter-spacing: 1px;
  color: #222;
}

.navbar {
  position: fixed;
}

.nav-link {
  /* color: #222 !important; */
  font-weight: 500;
  border-radius: 0.5em;
  margin-left: 1em;
  /* font: bold; */
  padding: 0.4em 1em !important;

  &:hover {
    background-color: #393c411a;
    border-radius: 0.5em;
  }
}

#logout {
  background-color: rgb(212, 56, 56);
  color: #fff !important;
  padding: 0.5em 1em;
}

#navbarNav {
  a {
    font-weight: 800;
    font-size: 14px;
  }
}

.nav-link.position-relative {
  /* color: #222 !important; */
}
.btn-galaxy {
  background: #393c41;
  color: #fff;
  border: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  width: 100%;
  padding: 0.85rem 0;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(57, 60, 65, 0.08);
  outline: none;
  cursor: pointer;
}

.btn-galaxy:hover,
.btn-galaxy:focus {
  background: #222326;
  color: #fff;
  box-shadow: 0 4px 16px rgba(57, 60, 65, 0.12);
}

.btn-galaxy:active {
  background: #111;
  color: #fff;
}

.nav-link {
  transition: color 0.3s, transform 0.3s;
}

/* galaxy Text Logo Style */

#galaxy-logo {
  padding-right: 1em;
}

.galaxy-signup-container {
  max-width: 400px;
  margin: 60px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 40px 32px 32px 32px;
}
.galaxy-logo {
  display: block;
  margin: 0 auto 24px auto;
  width: 120px;
}
.galaxy-title {
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 24px;
  color: #393c41;
}
.form-label {
  font-weight: 500;
  color: #5c5e62;
}
.form-control {
  border-radius: 6px;
  border: 1px solid #d0d1d2;
  margin-bottom: 18px;
  padding: 12px;
  font-size: 1rem;
  background: #f7f7f7;
  transition: border 0.2s;
}
.form-control:focus {
  border-color: #3e6ae1;
  background: #fff;
  outline: none;
}
.btn-primary {
  width: 100%;
  background: #3e6ae1;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #2948b1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 50;
  background: transparent;
  color: var(--text-light);
}

.brand {
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.main-nav .nav-link {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 18px;
  opacity: 0.9;
}
.main-nav .nav-link:hover {
  opacity: 1;
}

.list-screen {
  margin-top: 56px;
}

.section {
  position: relative;
  height: 100vh; /* full-viewport sections */
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg-dark);
  isolation: isolate;
}

.section__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    var(--bg-dark);
}

.section {
  background-image: var(--bg-image),
    radial-gradient(
      1200px 600px at 50% -20%,
      rgba(255, 255, 255, 0.05),
      rgba(0, 0, 0, 0)
    );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section--empty {
  background-image: radial-gradient(
    1200px 600px at 50% -20%,
    rgba(255, 255, 255, 0.05),
    rgba(0, 0, 0, 0)
  );
}

.section__content {
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
}

.title {
  margin: 0 0 8px;
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-light);
}

.subtitle {
  margin: 0 0 24px;
  color: #e8e8e8;
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: 400;
}

.url {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  opacity: 0.95;
}
.url:hover {
  opacity: 1;
}

.cta-row {
  display: inline-flex;
  gap: 12px;
  margin: 12px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 160px;
  padding: 0 18px;
  border-radius: 20px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-transform: none; /* galaxy tends to use Title Case, not full uppercase */
  letter-spacing: 0.02em;
  transition: transform 120ms ease, background-color 160ms ease,
    color 160ms ease, border-color 160ms ease;
  will-change: transform;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.16);
}

.inline-form {
  display: inline;
}

.meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--muted);
}

/* Snap alignment for each section */
.scroll-snap {
  scroll-snap-align: start;
}

/* Responsive header backdrop when scrolled */
@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
    backdrop-filter: blur(10px);
  }
}

@media (max-width: 768px) {
  .btn {
    min-width: 140px;
    height: 38px;
  }
  .main-nav {
    display: none;
  } /* keep it minimal on mobile */

  .nav-link {
    margin-top: 1em !important;
  }
}

.nav-link.active {
  background-color: #393c411a;
  border-radius: 0.5em;
}

.galaxy-footer {
  background-color: #f8f9fa;
  padding: 40px 20px;
  color: #333;
  border-top: 1px solid #ddd;
}

.footer-credit .credit-text {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.footer-credit .credit-note {
  font-size: 0.85rem;

  color: #666;
}

.footer-credit a {
  color: #007bff;
  text-decoration: underline;
}

.footer-links ul {
  padding: 0;
  margin: 0;
}

.footer-links .list-inline-item {
  margin: 0 10px;
}

.footer-links a {
  color: #333;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .copyright {
  font-size: 0.85rem;
  color: #888;
}

#credit-text {
  font-size: 14px;
}

/* ++++++++++++++++++++++++++++++++ */
:root {
  --primary: #2c3e50;
  --secondary: #3498db;
  --accent: #2980b9;
  --light: #ecf0f1;
  --success: #27ae60;
  --warning: #f39c12;
  --dark: #e8f4ff;
}

.transaction-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.header-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding-top: 20px;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
}

.logo span {
  color: #3498db;
}

.amount-display {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 15px 0;
}

.progress-container {
  background-color: #e9ecef;
  border-radius: 10px;
  height: 12px;
  overflow: hidden;
}

/* Smooth animated width */
.progress-bar {
  transition: width 1s ease-in-out;
  font-weight: 600;
}

/* Glow effect while processing */
.glowing-bar {
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.8), 0 0 20px rgba(0, 191, 255, 0.6);
}

/* Success glow */
.glowing-success {
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.8), 0 0 20px rgba(40, 167, 69, 0.6);
  animation: pulseSuccess 1.5s infinite;
}

/* Danger glow */
.glowing-danger {
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.8), 0 0 20px rgba(220, 53, 69, 0.6);
  animation: pulseDanger 1.5s infinite;
}

/* Success pulsing animation */
@keyframes pulseSuccess {
  0% {
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.8);
  }
  50% {
    box-shadow: 0 0 25px rgba(40, 167, 69, 1);
  }
  100% {
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.8);
  }
}

/* Danger pulsing animation */
@keyframes pulseDanger {
  0% {
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.8);
  }
  50% {
    box-shadow: 0 0 25px rgba(220, 53, 69, 1);
  }
  100% {
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.8);
  }
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 20px;
  color: var(--secondary);
}

.security-badge {
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  border-radius: 8px;
  padding: 15px;
}

.section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
  font-weight: 600;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px;
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .amount-display {
    font-size: 2.2rem;
  }

  .header-section {
    padding: 20px;
  }
}

#payment-section {
  border: none !important;
}

.footerContainer {
  padding-top: 5em;
}

/* galaxy-style footer */
.footer-galaxy {
  background-color: #171a20; /* galaxy dark */
}

/* Monochrome, subtle logos */
.footer-galaxy .brand-logo {
  height: 24px; /* keep logos consistent */
  max-height: 24px;
  filter: invert(1) grayscale(1) contrast(1.2) opacity(0.8);
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

#alert {
  z-index: 2000;
}

/* Uppercase, spaced labels */
.footer-galaxy .brand-name {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* Hover lift + brighter logo */
.footer-galaxy .brand-item:hover .brand-logo {
  transform: translateY(-2px);
  opacity: 1;
  filter: invert(1) grayscale(1) contrast(1.4) opacity(1);
}

#galaxyBd {
  border: none !important;
  font-weight: normal;
  font-style: normal;
  padding-right: 1em;
}

/* ++++++++++++++++++++++++++++++++++++ */
.form-slide {
  animation: slideIn 0.6s ease-out;
}
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.galaxy-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}
label {
  font-weight: 500;
}

/* _____________________________________ */

.btn-glow {
  transition: box-shadow 0.3s ease-in-out;
}
.btn-glow:hover {
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}
.preview-box {
  border: 2px dotted #aaa;
  border-radius: 8px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background-color: #f8f9fa;
}
.preview-img {
  max-height: 200px;
  max-width: 100%;
  border-radius: 8px;
  display: none;
}
.fade {
  transition: opacity 0.5s ease-in-out;
}

.galaxy-card {
  border-radius: 14px;
  background: #fff;
}
.galaxy-header {
  background: #000;
  color: #fff;
  border-radius: 14px 14px 0 0;
}
.galaxy-section-title {
  text-align: center;
  font-weight: 600;
  margin: 20px 0;
  font-size: 1.1rem;
  color: #111;
}
.galaxy-input {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 10px 14px;
  font-size: 0.95rem;
  transition: 0.2s ease-in-out;
}
.galaxy-input:focus {
  border-color: #e82127;
  box-shadow: none;
}
.galaxy-select {
  border-radius: 8px;
  padding: 10px 14px;
}
.galaxy-preview img {
  max-height: 180px;
  border-radius: 10px;
  border: 1px solid #eee;
  padding: 5px;
}
.galaxy-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.galaxy-btn-red {
  background: #e82127;
  color: #fff;
  border-radius: 50px;
  padding: 10px 22px;
  font-weight: 600;
  transition: background 0.3s;
}
.galaxy-btn-red:hover {
  background: #c21820;
}

/* ______________________________________________________________ */
.card-client {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
}
.card-client:hover {
  transform: translateY(-5px);
}

.client-header {
  background-color: #000;
  color: #fff;
  border-radius: 15px 15px 0 0;
  padding: 15px;
  text-align: center;
}
.client-progress {
  height: 10px;
  border-radius: 5px;
}
.badge-status {
  font-size: 0.9rem;
}

/* _______________________ */

#arrLeft {
  height: 2.8em !important;
  width: 5.2em !important;
}
#amount-panel {
  border-radius: 10px;

  background: linear-gradient(
    90deg,
    rgba(14, 165, 164, 0.04),
    rgba(245, 158, 11, 0.02)
  );
  border: 1px solid rgba(14, 165, 164, 0.04);
  text-align: center;
}

#loadingOverlay {
  backdrop-filter: blur(12px);
}
