@font-face {
  font-family: "Parkinsans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ParkinsansRegular.woff2") format("woff2");
}

body {
  font-family: "Parkinsans", Arial, sans-serif !important;
}

.logo-wrap {
  margin-bottom: 35px;
}

.form-group {
  margin-bottom: 35px;
}

.warning {
  margin-bottom: 10px;
}

.btn-primary {
  background: #80498c;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  color: #fff;
  outline: none;
  box-shadow: none;
  padding: 7px 18px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s;
}

.btn-primary.active,
.btn-primary:hover,
.btn-primary:focus {
  background: #8d509a;
  color: #fff;
  border: none;
  outline: none;
  box-shadow: none;
}

.form-group:has(.forgot-password),
.form-group:has(.remember-me) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
}

.forgot-password {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;

  position: relative;
  padding-right: 14px;
  margin-right: 14px;
}

.forgot-password:hover {
  text-decoration: underline;
}

.forgot-password::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  border-left: 1px solid #fff;
}

.forgot-password:last-of-type::after {
  content: none;
}

.remember-me {
  flex: 0 0 100%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

/* ===== Mobile: stack links cleanly (no separators) ===== */
@media (max-width: 420px) {
  .forgot-password {
    width: 100%;
    margin-right: 0;
    padding-right: 0;
    justify-content: flex-start;
  }

  .forgot-password::after {
    content: none;
  }
}

.main {
  position: relative; /* ADDED */
}

.back-to-site {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 50;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 12px 20px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);

  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;

  color: #003399;
  transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.back-to-site:hover {
  color: #80498c; /* purple on hover */
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.back-to-site:active {
  transform: translateY(0);
}

/* Icon sizing + inherits link color via currentColor */
.back-to-site__icon {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 auto;
}
@media only screen 
and (max-device-width: 1024px) 
and (orientation: portrait) {
  .main {
    background-color: transparent;
    box-shadow:none;
  }
}

@media only screen 
and (max-device-width: 768px) 
{
   .main {
    background-color: transparent;
    box-shadow:none;
    padding: 30px;
  }
} 

@media only screen 
and (max-device-width: 375px) {
 .main>img {
     max-width: 300px;
 }
}

@media (max-width: 600px) {
  .logo-wrap {
    padding-top: 70px; /* ADDED: space for the pill button */
  }

  .back-to-site {
    top: 16px;   /* keep in the corner */
    left: 16px;
  }
}

@media (max-width: 420px) {
  .logo-wrap {
    padding-top: 78px; /* CHANGED: a bit more space on very small phones */
  }
}