:root {
  --primary-color: #2A6BC0;
  --primary-hover: #1D5CAB;
  --text-dark: #2E3B4E;
  --text-light: #FFFFFF;
  --background: #343a40;
  --accent-color: #F58220;
  --accent-hover: #E06D0A;
  --error-color: #E53935;
  --border-radius: 8px;
  --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 {
  display: flex;
  height: 100vh;
  width: 100vw;
  position: relative;
}

.left {
  width: 450px;
  background-image: url(/images/WorldMap.png);
  background-position: center center;
  background-size: cover;
  background-blend-mode: soft-light;
  background-repeat: no-repeat;
  box-shadow: var(--box-shadow);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Add this to create a subtle overlay effect */
.left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 41, 55, 0.85);
  z-index: -1;
}

.image_container {
  margin-bottom: 40px;
}

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

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

.form-control {
  height: 50px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0 15px;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(42, 107, 192, 0.15);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  height: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

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

.small-text:hover {
  opacity: 1;
  font-weight: bold;
  color: var(--accent-hover);
}

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

.version {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
  color: #EEEEEE;
}

.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(31, 41, 55, 0.9);
  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;
}

.spinner {
  width: 70px;
  height: 70px;
  border: 8px solid rgba(255, 255, 255, 0.15);
  border-top: 8px solid var(--accent-color);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

@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: 768px) {
  .left {
    width: 100%;
    border-radius: 0;
  }
  .image_container img {
    max-width: 100%;
  }
  .importantNews {
    max-width: 90%;
  }
}
@media (max-width: 480px) {
  .left {
    padding: 30px 20px;
  }
  .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: var(--text-dark);
  opacity: 0.6;
  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: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

#PrivacyPolicy_Modal .modal-content {
  border-radius: var(--border-radius);
  border: none;
  box-shadow: var(--box-shadow);
  max-height: 90vh;
}

#PrivacyPolicy_Modal .modal-header {
  position: relative;
  background-color: var(--primary-color);
  color: white;
  border-bottom: none;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  padding: 20px 30px;
  display: flex;
  justify-content: flex-end;
}

#PrivacyPolicy_Modal .btn-close {
  color: white;
  opacity: 0.8;
  transition: var(--transition);
  padding: 10px;
  margin: -10px -10px -10px auto;
}

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

#PrivacyPolicy_Modal .modal-body {
  padding: 30px;
  overflow-y: auto;
  max-height: calc(90vh - 70px);
  line-height: 1.6;
}

#PrivacyPolicy_Modal h3 {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 0;
}

#PrivacyPolicy_Modal h5 {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 30px;
  opacity: 0.9;
}

#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;
}

#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: var(--text-dark);
  opacity: 0.9;
}

#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: var(--text-dark);
  opacity: 0.7;
  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: #f1f1f1;
  border-radius: 10px;
}

#PrivacyPolicy_Modal .modal-body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  background-opacity: 0.7;
  border-radius: 10px;
}

#PrivacyPolicy_Modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

@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 */
