@charset "UTF-8";
:root {
  /* Aligned to the app theme (style/themes/theme-light.scss) so the login
     page reads as the same product as the admin UI. */
  --primary-color: #0e93dd;
  /* app --primary */
  --primary-hover: #0c81c2;
  /* ≈ brightness(0.88) on primary */
  --text-dark: #2E3B4E;
  --text-light: #FFFFFF;
  --background: #343a40;
  /* app --main-navigation */
  --accent-color: #F58220;
  /* app --admin */
  --accent-hover: #E06D0A;
  --error-color: #dc3545;
  /* app --danger */
  --border-radius: 8px;
  --btn-radius: 6px;
  /* softer, refined-hybrid buttons */
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  color: var(--text-dark); }

main {
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden; }

/* Layout band capped at a centred 1920px "window" — the card anchors to the
   LEFT of this band, not the physical screen edge. On <=1920 screens the band
   is the full viewport (card sits near the real left); on ultrawide screens the
   band stays a centred 1920 region so the card reads as left-of-centre rather
   than marooned in the far corner. No scaling; card always true size. */
.stage {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 1920px;
  margin: 0 auto;
  /* centres the band on wider-than-1920 displays */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  padding: 0 clamp(28px, 6vw, 120px);
  z-index: 2;
  pointer-events: none;
  /* empty area passes clicks; card re-enables below */ }

/* Frosted-glass card, anchored to the left of the viewport */
.left {
  width: 430px;
  max-width: calc(100% - 40px);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: auto;
  border-radius: 22px 22px 16px 16px;
  background: rgba(28, 33, 40, 0.66);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden; }

.image_container {
  margin-bottom: 40px; }

.image_container img {
  max-width: 100%;
  height: auto; }

form {
  display: flex;
  flex-direction: column;
  gap: 18px; }

form h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.4px; }

form p {
  font-size: 14px;
  line-height: 1.55; }

/* Glass inputs to match the frosted card */
.form-control {
  height: 50px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  padding: 0 16px;
  font-size: 16px;
  transition: var(--transition); }

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5); }

.form-control:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background-color: rgba(255, 255, 255, 0.1); }

.form-control:focus {
  outline: none;
  color: #fff;
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(14, 147, 221, 0.25); }

/* Stop the browser autofill from painting solid white/yellow over the glass */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px rgba(40, 46, 54, 0.92) inset;
  transition: background-color 9999s ease-in-out 0s; }

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--btn-radius);
  height: 50px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(14, 147, 221, 0.25); }

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14, 147, 221, 0.32); }

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(14, 147, 221, 0.25); }

.small-text {
  font-size: 14px;
  color: var(--accent-color);
  opacity: 0.75;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  margin-top: 15px; }

.small-text:hover {
  opacity: 1;
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px; }

.alert-danger {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--error-color);
  border: 1px solid rgba(220, 53, 69, 0.25);
  padding: 12px 15px;
  border-radius: var(--border-radius);
  font-size: 14px;
  text-align: center; }

.alert-success {
  background-color: rgba(40, 167, 69, 0.12);
  color: #46d369;
  border: 1px solid rgba(40, 167, 69, 0.3);
  padding: 12px 15px;
  border-radius: var(--border-radius);
  font-size: 14px;
  text-align: center; }

/* Forgot-password / Privacy links row under the Sign In button */
.login-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px; }

.login-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition); }

.login-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px; }

.version {
  margin-top: 22px;
  text-align: center;
  font-size: 12px;
  opacity: 0.55;
  color: #EEEEEE; }

/* Right-hand system-message panel (stacked, date-windowed login messages) */
.login-info {
  margin-left: auto;
  width: 100%;
  max-width: 600px;
  max-height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  pointer-events: auto; }

.sys-msg {
  display: flex;
  gap: 16px;
  padding: 40px 40px 40px 28px;
  border-radius: 16px;
  background: rgba(28, 33, 40, 0.6);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  color: #fff; }

.sys-msg__icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent, var(--primary-color));
  font-size: 22px;
  line-height: 1.3; }

.sys-msg__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff; }

.sys-msg__body {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82); }

.sys-msg__body p {
  margin: 0 0 11px; }

.sys-msg__body p:last-child {
  margin-bottom: 0; }

.sys-msg__body a {
  color: var(--accent, var(--primary-color));
  text-decoration: underline;
  text-underline-offset: 2px; }

.sys-msg__body strong,
.sys-msg__body b {
  color: #fff;
  font-weight: 600; }

/* Per-type accent (border + icon) */
.sys-msg--info {
  --accent: #0e93dd; }

.sys-msg--update {
  --accent: #28a745; }

.sys-msg--maintenance {
  --accent: #f0a020; }

.sys-msg--warning {
  --accent: #dc3545; }

/* Labelled forms on the glass card (e.g. password change) */
.left form label {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 6px; }

/* Inline password-strength validation messages */
.validateTrue {
  color: #46d369;
  font-size: 13px;
  margin: 4px 0 0; }

.validateFalse {
  color: #ff6b75;
  font-size: 13px;
  margin: 4px 0 0; }

/* Trust-device toggle on the 2FA screen */
.trust-device {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  margin: 0;
  user-select: none; }
  .trust-device input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none; }

.trust-toggle {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--transition); }
  .trust-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: var(--transition); }

.trust-device input[type="checkbox"]:checked ~ .trust-toggle {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(14, 147, 221, 0.2); }
  .trust-device input[type="checkbox"]:checked ~ .trust-toggle::after {
    left: 19px;
    background: #fff; }

.trust-device:hover .trust-toggle {
  border-color: rgba(255, 255, 255, 0.35); }

.trust-device input[type="checkbox"]:focus-visible ~ .trust-toggle {
  box-shadow: 0 0 0 3px rgba(14, 147, 221, 0.35); }

/* Segmented one-time-code input (2FA) */
.otp-group {
  display: flex;
  gap: 10px;
  justify-content: center; }

.otp-input {
  flex: 1 1 0;
  min-width: 0;
  max-width: 54px;
  height: 58px;
  padding: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: var(--transition); }

.otp-input:hover {
  border-color: rgba(255, 255, 255, 0.32); }

.otp-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(14, 147, 221, 0.25); }

.otp-input.is-filled {
  border-color: rgba(255, 255, 255, 0.45); }

/* Circular accent icon for status/info cards (timeout, password change) */
.status-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(14, 147, 221, 0.15);
  color: var(--primary-color);
  font-size: 28px; }

.status-icon--success {
  background-color: rgba(40, 167, 69, 0.18);
  color: #46d369; }

.status-icon--danger {
  background-color: rgba(220, 53, 69, 0.18);
  color: #ff6b75; }

.fullWidth {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  z-index: 3; }

.importantNews {
  background: var(--background);
  border-radius: var(--border-radius);
  padding: 30px;
  max-width: 600px;
  width: 90%;
  box-shadow: var(--box-shadow); }

.importantNews h1 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 24px; }

/* Enhanced Loading animation */
.loading_login {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(24, 29, 36, 0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  z-index: 1000;
  align-items: center;
  justify-content: center; }

.loading-content {
  text-align: center;
  color: #fff;
  max-width: 300px; }

.loading-content h3 {
  margin: 15px 0 10px;
  font-size: 22px;
  font-weight: 500; }

.loading-content p {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.5; }

/* Sonar pulse: a centre dot with blue rings expanding and fading outward. */
.spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-color) 0, var(--primary-color) 5px, transparent 6px); }

.spinner::before,
.spinner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  opacity: 0;
  animation: sonar 1.8s ease-out infinite; }

.spinner::after {
  animation-delay: 0.9s; }

@keyframes sonar {
  0% {
    transform: scale(0.18);
    opacity: 0.85; }
  100% {
    transform: scale(1);
    opacity: 0; } }
@keyframes spin {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }
/* Privacy Policy Modal */
.modal-content {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: var(--box-shadow); }

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 20px; }

.modal-body {
  padding: 20px; }

.modal-body li {
  margin-bottom: 10px; }

/* Privacy Policy Nesting */
.modal-body > ol {
  padding-left: 20px; }

.modal-body > ol > li {
  padding-bottom: 30px; }

.modal-body > ol > li > ol {
  list-style: lower-alpha;
  padding-left: 20px;
  padding-top: 10px; }

.modal-body > ol > li > ol > li > ol {
  list-style: lower-roman;
  padding-left: 20px;
  padding-top: 10px; }

/* Responsive Styles */
@media (max-width: 991px) {
  /* Below this width the card is the priority — drop the side message panel. */
  .login-info {
    display: none; } }
@media (max-width: 768px) {
  /* Centre the card with side padding on small screens. */
  .stage {
    justify-content: center;
    padding: 0 20px; }

  .left {
    width: 100%;
    max-width: 420px; }

  .image_container img {
    max-width: 100%; }

  .importantNews {
    max-width: 90%; } }
@media (max-width: 480px) {
  .left {
    padding: 34px 24px;
    border-radius: 14px; }

  .form-control,
  .btn-primary {
    height: 45px;
    font-size: 15px; } }
/* Override any existing styles for the login box from the old template */
#loginBox,
#leftSide,
#rightSide,
#mainContainer {
  all: unset; }

#PrivacyPolicy {
  position: static; }

/* Ensure login overlay works correctly */
#login_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none; }

.password-field {
  position: relative; }

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  opacity: 0.55;
  cursor: pointer;
  transition: var(--transition); }

.password-toggle:hover {
  opacity: 1; }

.form-control.is-invalid {
  border-color: var(--error-color);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); }

.form-control.is-valid {
  border-color: #28a745;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); }

.btn-primary.loading {
  position: relative;
  color: transparent; }

.btn-primary.loading:after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-top: -8px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: white;
  animation: spin 0.8s linear infinite; }

main {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--background-dark);
  /* Fallback */
  isolation: isolate;
  /* Creates stacking context for z-index */ }

.image_container {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
  align-items: center; }

.image_container img {
  max-width: 80%;
  height: auto;
  max-height: 80px;
  object-fit: contain; }

/* Frosted-glass privacy policy modal to match the login card */
#PrivacyPolicy_Modal .modal-content {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: rgba(24, 29, 36, 0.92);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.78);
  max-height: 90vh;
  overflow: hidden; }

#PrivacyPolicy_Modal .modal-header {
  position: relative;
  background-color: transparent;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px 16px 0 0;
  padding: 16px 24px;
  display: flex;
  justify-content: flex-end; }

#PrivacyPolicy_Modal .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.7;
  transition: var(--transition);
  padding: 10px;
  margin: -6px -6px -6px auto; }

#PrivacyPolicy_Modal .btn-close:hover {
  opacity: 1; }

#PrivacyPolicy_Modal .modal-body {
  padding: 24px 30px 30px;
  overflow-y: auto;
  max-height: calc(90vh - 64px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72); }

#PrivacyPolicy_Modal h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  margin-top: 0; }

#PrivacyPolicy_Modal h5 {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px; }

#PrivacyPolicy_Modal ol {
  counter-reset: privacy-item;
  margin: 0;
  padding: 0 0 0 20px; }

#PrivacyPolicy_Modal > .modal-body > ol > li {
  counter-increment: privacy-item;
  margin-bottom: 28px;
  position: relative;
  padding-left: 10px;
  font-weight: 600;
  color: #fff; }

#PrivacyPolicy_Modal > .modal-body > ol > li::marker {
  color: var(--primary-color);
  font-weight: 700; }

#PrivacyPolicy_Modal > .modal-body > ol > li > ol {
  margin-top: 15px;
  font-weight: normal;
  padding-left: 15px; }

#PrivacyPolicy_Modal > .modal-body > ol > li > ol > li {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.72); }

#PrivacyPolicy_Modal > .modal-body > ol > li > ol > li > ol {
  margin-top: 10px;
  padding-left: 20px; }

#PrivacyPolicy_Modal > .modal-body > ol > li > ol > li > ol > li {
  margin-bottom: 8px;
  padding-right: 10px; }

#PrivacyPolicy_Modal .modal-body > ol > li > ol > li > ol > li > ol {
  padding-left: 15px;
  margin-top: 8px;
  margin-bottom: 10px; }

#PrivacyPolicy_Modal .modal-body > ol > li > ol > li > ol > li > ol > li {
  margin-bottom: 6px; }

#PrivacyPolicy_Modal .modal-body::after {
  content: "Updated: 1st July 2022";
  display: block;
  text-align: right;
  font-style: italic;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 30px;
  font-size: 14px; }

/* Custom scrollbar for the privacy policy */
#PrivacyPolicy_Modal .modal-body::-webkit-scrollbar {
  width: 8px; }

#PrivacyPolicy_Modal .modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px; }

#PrivacyPolicy_Modal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px; }

#PrivacyPolicy_Modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35); }

@media (max-width: 768px) {
  #PrivacyPolicy_Modal .modal-body {
    padding: 20px;
    max-height: 70vh; }

  #PrivacyPolicy_Modal h3 {
    font-size: 20px; }

  #PrivacyPolicy_Modal h5 {
    font-size: 16px; }

  #PrivacyPolicy_Modal .modal-body > ol {
    padding-left: 15px; } }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0; }

/*# sourceMappingURL=login.css.map */
