@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* theme: colours taken from the Hello1 Pay logo (light theme) */
:root {
  --color-brand: #3c3293;
  --color-brand-hover: #2e2675;
  --color-brand-light: #5b57d1;
  --color-accent: #ffdd15;
  --color-text: #2b2b2b;
  --color-text-muted: #6b6880;
  --color-border: #dcdaf0;
  --color-surface: #ffffff;
  --color-backdrop: #f5f4fc;
  --color-error: #d93025;
}

/* common */
::-moz-selection { background: var(--color-brand); color: #fff;}
::selection { background: var(--color-brand); color: #fff;}

body {
  font-family: "ralewaylight", Helvetica Neue,Helvetica,Arial,sans-serif;
  color: var(--color-text);
  background: var(--color-backdrop);}

a {
  color: var(--color-brand);}
a:hover {
  color: var(--color-brand-hover);}




/* pre-loader */ 
.pre-loader:after {
  content: '';
  display: block;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 50%;
  height: 5px;
  background-color: var(--color-brand);
  animation: cardLoader 1s ease-in-out alternate infinite;}
@keyframes cardLoader {
  0% {
    left: 0;
    width: 1%;
    background-color: var(--color-accent);
  }
  50% {
    width: 30%;
  }
  100% {
    left: 100%;
    transform: translateX(-100%);
    width: 1%;
    background-color: var(--color-brand);
  }
}





/* custom */
.pe-35 {
  padding-right: 35px !important;}


/* placeholder */
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
     color: var(--color-text-muted);}
::-moz-placeholder { /* Firefox 19+ */
     color: var(--color-text-muted);}
:-ms-input-placeholder { /* IE 10+ */
     color: var(--color-text-muted);}
:-moz-placeholder { /* Firefox 18- */
     color: var(--color-text-muted);}


/* autofill */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px var(--color-surface) inset !important; /* Set your background */
  box-shadow: 0 0 0px 1000px var(--color-surface) inset !important;
  -webkit-text-fill-color: var(--color-text) !important; /* Text color */
  transition: background-color 5000s ease-in-out 0s; /* Prevent flashing */
}


/* button, a-btn */
button,
.a-btn {
  background: var(--color-brand);
  letter-spacing: 1px;
  text-transform: capitalize;
  display: inline-block;
  text-align: center;
  padding: 10px 20px;
  min-width:80px;
  outline: none;
  border: 1px solid var(--color-brand);
  border-radius: 0.5rem;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;}
button:hover,
button:focus,
.a-btn:hover,
.a-btn:focus {
  background: var(--color-brand-hover);
  border-color: var(--color-brand-hover);
  color: #fff;}


/* scale-up-hover */
.scale-up-hover {
  overflow: hidden;
  transition: transform .6s;}
.scale-up-hover:hover {
  -webkit-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  transform: translateY(-5px);}


/* header */
header {
	position: fixed;
	top: 0;
	z-index: 100;
	width: 100%;
  height: 60px;
  background: var(--color-surface);
  box-shadow: 0 2px 10px rgb(60 50 147 / 0.08);
  border-bottom: 3px solid var(--color-accent);}
header .logo {
	max-width: 100%;
  height: 25px;
  margin-top: 16px;}

/* main-div */
.main-div {
	padding-top: 70px;}



/* privacy_policy */
#privacy_policy h1 {
	  text-transform: capitalize;
    font-weight: normal;
    font-size: 40px;
    padding-bottom: 24px;
    padding-top: 20px;
    color: var(--color-brand);}
#privacy_policy h2 {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-text);
    padding-left: 10px;
    border-left: 4px solid var(--color-accent);}
#privacy_policy ul li::marker {
    color: var(--color-brand-light);}
#privacy_policy p,
#privacy_policy ul li {
    font-size: 15px;}
#privacy_policy p {
    padding-bottom: 20px;}
#privacy_policy p span {
    display: block;}
#privacy_policy ul li {
    padding-bottom: 12px;}
@media (max-width: 767px) {
#privacy_policy h1 {
  	font-size: 30px;}
}



/* forbidden */
#forbidden {
  text-align: center;
  margin-bottom: 25px;}
#forbidden h1 {
  font-size: 24px;
  margin-bottom: 50px;
  color: var(--color-error);}
#forbidden .fa {
  margin-top: 15%;
  color: var(--color-brand);
  font-size: 100px;}
#forbidden a {
  color: #fff;
  font-size: 15px;
  background: var(--color-brand);
  padding: 10px 20px;
  border-radius: 0.5rem;
  text-decoration: none;}
#forbidden a:hover {
  background: var(--color-brand-hover);}
@media (max-width: 767px) {
#forbidden h1 {
  font-size: 20px;}
#forbidden .fa {
  font-size: 50px;}
#forbidden a {
  font-size: 14px;}
}







/* login */
/* =====================================================
   1. DESIGN TOKENS (login page)
   ===================================================== */
.login-page  {
  /* colours come from the :root theme at the top of this file */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-card: clamp(1.25rem, 2.4vw, 1.75rem);
  --radius-field: 0.75rem;
  --radius-pill: 999px;

  --field-bg: #f6f5fb;
  --field-height: 3rem;
  --ring: 0 0 0 4px rgb(91 87 209 / 0.16);
  --shadow-card:
    0 1px 2px rgb(60 50 147 / 0.04),
    0 12px 32px rgb(60 50 147 / 0.08),
    0 40px 80px rgb(60 50 147 / 0.10);
}

/* =====================================================
   2. PAGE WRAPPER — soft mesh background with brand glows
   ===================================================== */
.login-page  {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  font-family: var(--font-body);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(60rem 40rem at 0% 0%, rgb(91 87 209 / 0.14), transparent 60%),
    radial-gradient(50rem 35rem at 100% 100%, rgb(255 221 21 / 0.20), transparent 60%),
    linear-gradient(180deg, #fbfaff 0%, var(--color-backdrop) 100%);
}

/* faint dot grid */
.login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgb(60 50 147 / 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* floating brand blob */
.login-page::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 26rem;
  height: 26rem;
  top: -8rem;
  right: -6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(91 87 209 / 0.22), transparent 70%);
  filter: blur(10px);
  animation: loginFloat 14s ease-in-out infinite alternate;
}

@keyframes loginFloat {
  from { transform: translate(0, 0); }
  to   { transform: translate(-4rem, 3rem); }
}

/* =====================================================
   3. CARD & MEDIA PANEL
   ===================================================== */
.login-page  .card {
  width: min(100%, 60rem);
  min-height: 34rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  padding: 0.6rem;
  background: rgb(255 255 255 / 0.85);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border: 1px solid rgb(255 255 255 / 0.9);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  animation: loginRise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes loginRise {
  from { opacity: 0; transform: translateY(16px) scale(0.99); }
  to   { opacity: 1; transform: none; }
}

.login-page  .card__media {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 0.4rem);
  background: linear-gradient(160deg, var(--color-brand-light), var(--color-brand));
}

.login-page  .card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.login-page  .card:hover .card__image {
  transform: scale(1.03);
}

/* brand tint + yellow accent bar at the bottom */
.login-page  .card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) left 1.5rem bottom 1.5rem / 3rem 0.35rem no-repeat,
    linear-gradient(180deg, rgb(60 50 147 / 0) 45%, rgb(60 50 147 / 0.55) 100%);
}

/* =====================================================
   4. FORM PANEL
   ===================================================== */
.login-page  .card__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 3.5vw, 3rem);
}

.login-page  .card__form > * {
  min-width: 0;
}

.login-page  .logo-img {
  display: block;
  max-width: min(100%, 13rem);
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.login-page  .form {
  width: 100%;
  max-width: 21rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* heading + subtitle (added from CSS so the template stays untouched) */
.login-page  .form::before {
  content: "Welcome back";
  margin-bottom: -0.5rem;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-text);
}

.login-page  .form__fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.login-page  .form__fields::before {
  content: "Sign in to continue to your account";
  margin-bottom: 0.4rem;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.login-page  .form__switch {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  text-align: center;
  color: var(--color-text-muted);
}



/* =====================================================
   5. FORM FIELDS
   ===================================================== */
.login-page  .field {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: var(--radius-field);
}

.login-page  .input {
  flex: 1;
  min-width: 0;
  height: var(--field-height);
  padding: 0 1rem;
  outline: none;
  background: var(--field-bg);
  font: inherit;
  font-size: 0.9rem;
  color: var(--color-text);
  border: 1.5px solid transparent;
  border-radius: var(--radius-field);
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-page  .input:hover {
  border-color: var(--color-border);
}

.login-page  .input:focus {
  background: var(--color-surface);
  border-color: var(--color-brand-light);
  box-shadow: var(--ring);
}

.login-page  .input::placeholder {
  color: #9a97ad;
}

.login-page  .field--password .input {
  padding-right: 3rem;
}

.login-page  .icon-btn {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  min-width: 0;
  color: var(--color-text-muted);
  background-color: transparent;
  border: 0;
  border-radius: 0.5rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.login-page  .icon-btn:hover,
.login-page  .icon-btn:focus {
  color: var(--color-brand);
  background-color: rgb(91 87 209 / 0.10);
}

.login-page  .field:focus-within .icon-btn {
  color: var(--color-brand);
}

.login-page  .icon-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* error message */
.login-page  h6 {
  margin: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  color: var(--color-error);
  background: rgb(217 48 37 / 0.08);
  border: 1px solid rgb(217 48 37 / 0.18);
  border-radius: var(--radius-field);
}

/* =====================================================
   6. BUTTONS
   ===================================================== */
.login-page  .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--field-height);
  padding: 0 1rem;
  border-radius: var(--radius-field);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.login-page  .btn--primary {
  margin-top: 0.35rem;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, var(--color-brand-light) 0%, var(--color-brand) 100%);
  border: 0;
  box-shadow: 0 8px 20px rgb(60 50 147 / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.15);
}

.login-page  .btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 12px 26px rgb(60 50 147 / 0.34), inset 0 1px 0 rgb(255 255 255 / 0.15);
}

.login-page  .btn--primary:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 4px 12px rgb(60 50 147 / 0.25);
}

.login-page  .btn--primary:focus {
  outline: 0;
}

.login-page  .btn--primary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* =====================================================
   7. SHARED LINKS
   ===================================================== */
.login-page  .link {
  color: inherit;
  text-decoration: none;
}

.login-page  .link--accent {
  color: var(--color-brand);
  font-weight: 600;
}

.login-page  .link--accent:hover {
  text-decoration: underline;
}

/* =====================================================
   8. RESPONSIVE
   ===================================================== */

/* ---- Tablet & below (≤ 900px): image hidden, single column ---- */
@media (max-width: 900px) {
  .login-page  .card {
    width: min(100%, 28rem);
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .login-page  .card__media {
    display: none;
  }

  .login-page  .card__form {
    gap: 1.5rem;
    padding: clamp(2rem, 6vw, 3rem) clamp(1.25rem, 5vw, 2rem);
  }

  .login-page  .form {
    max-width: 100%;
  }

  /* 16px inputs stop iOS Safari from zooming in on focus */
  .login-page  .input {
    font-size: 16px;
  }

  .login-page  .btn--primary {
    font-size: 1rem;
  }
}

/* ---- Mobile (≤ 600px) ---- */
@media (max-width: 600px) {
  .login-page  {
    padding: 1rem;
  }

  .login-page  .card {
    padding: 0;
    border-radius: 1.25rem;
  }

  .login-page  .card__form {
    padding: 3rem 1.5rem 2.5rem;
  }

  .login-page  .logo-img {
    max-height: 52px;
  }

  .login-page::after {
    width: 18rem;
    height: 18rem;
  }
}

/* ---- Short screens (landscape phones): start at top, allow scroll ---- */
@media (max-height: 500px) and (max-width: 900px) {
  .login-page  {
    place-items: start center;
  }

  .login-page  .card__form {
    padding: 1.25rem;
    gap: 1rem;
  }
}

/* ---- Respect users who turn off animations ---- */
@media (prefers-reduced-motion: reduce) {
  .login-page::after,
  .login-page  .card {
    animation: none;
  }

  .login-page  .card__image,
  .login-page  .btn {
    transition: none;
  }
}







/* footer */
footer {
    text-align: center;
    padding: 0 10px 10px;
    margin-top: 30px;
    letter-spacing: 1px;}
footer p {
	margin: 0;
	font-size: 11px;}
footer {
    color: var(--color-text-muted);}
footer a {
	color: var(--color-brand);}
footer a:hover {
	color: var(--color-brand-hover);}
footer p .business-name {
	color: var(--color-brand);
	font-weight: 600;}
@media screen and (max-width: 991px) {
footer {
    margin-top: 35px;}
footer p {
	font-size: 10px;}
}