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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(114deg, #26272b 13%, #34393f 97%);
  color: #bbb;
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: 13px;
}
html {
  scrollbar-color: #f19420 transparent;
  scrollbar-width: thin;
}
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
body::-webkit-scrollbar-track {
  border-radius: 0;
}
::-webkit-scrollbar-track {
  background: linear-gradient(
    180deg,
    rgba(42, 42, 47, 1) 0%,
    rgb(60 59 59) 60%,
    rgb(66 65 65) 86%,
    rgb(62 61 61) 100%
  );
  box-shadow: inset 1px 0px 2px 0px #8d8d8e, inset -1px 0px 3px 0px #000000ab;
  border-radius: 10px;
}
.light-mode ::-webkit-scrollbar-track {
  background: linear-gradient(101deg, #ededed 9%, #c2c2c2 92%) !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(238, 197, 145, 1) 0%,
    rgba(226, 162, 81, 1) 60%,
    rgba(251, 140, 0, 1) 86%
  );
  border-radius: 10px;
  min-height: 40px;
}

/* Alert boxes */
.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
}

.alert-warning {
  color: #fff;
  background-color: #ffb648;
  border-color: #ffb648;
}

.alert-top-right {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
}
.notification {
  position: fixed;
  top: 0;
  right: 0;
  max-width: 280px;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
  font-family: "Exo 2", sans-serif;
  font-size: 13px;
  z-index: 10000;
}
.notification.alert {
  background-color: #ffb648;
  border-color: #ffb648;
}
.logo {
  padding: 30px 0;
  text-align: center;
}
.login-form,
.register-form {
  padding: 20px 40px;
  width: 260px;
  min-width: 260px;
  margin: auto;
  background: linear-gradient(114deg, #26272b 13%, #34393f 97%);
  border-radius: 20px;
  box-shadow: -8px -6px 10px 0px #e6e6e617, 8px 8px 13px 0px #00000052;
  z-index: 2;
  position: relative;
}
#email,
#psw,
#confpsw,
#firstName,
#lastName {
  width: 100%;
  padding: 7px 20px;
  margin: 5px 0;
  display: inline-block;
  border: none;
  border-radius: 10px;
  box-sizing: border-box;
  background-image: linear-gradient(#26272b 9%, #34393f 92%);
  box-shadow: -2px -2px 2px 0px #00000063;
  font-family: "Exo 2", sans-serif;
  color: #bbb;
}

.login-button,
.login_saml {
	display: block;
	text-decoration: none;
	padding: 14px 13px;
  margin: 5px auto;
  border: none;
  cursor: pointer;
  color: #fff;
  background: rgb(36, 160, 219);
  border-radius: 20px;
  box-shadow: -6px -3px 10px 2px #e6e6e617, 6px 4px 13px 2px #00000052;
  line-height: 20px;
  font-size: 20px;
  font-weight: 600;
	text-align: center;
}

.login-button:hover,
.login_saml:hover {
  background: rgba(36, 160, 219, 0.9);
}
.login-body #email, .login-body #psw {
  padding: 10px 20px;
}
.light-mode #email, .light-mode #psw, .light-mode #confpsw, .light-mode #firstName, .light-mode #lastName {
  background: linear-gradient(#ededed 9%,#c2c2c2 92%);
  color: #555;
}
#email:focus,
#psw:focus,
#btnSubmit:focus {
  outline: none;
}
#btnSubmit {
  padding: 14px 13px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  color: #fff;
  background: rgb(36, 160, 219);
  border-radius: 20px;
  box-shadow: -6px -3px 10px 2px #e6e6e617, 6px 4px 13px 2px #00000052;
  line-height: 20px;
  font-size: 20px;
  font-weight: 600;
  font-family: "Exo 2", sans-serif;
}
#btnSubmit:hover {
  background: rgba(36, 160, 219, 0.9);
}
.bottom-text {
  text-align: center;
  margin: 10px 0;
}
.yellow-link {
  color: rgb(242, 152, 7);
  text-shadow: 1px 1px 1px #000;
}
.yellow-link:hover {
  color: rgba(242, 152, 7, 0.8);
}
.yellow-link {
  text-decoration: underline;
  cursor: pointer;
}
.light-mode .yellow-link {
  text-shadow: none;
  color: rgb(36, 160, 219);
}
.light-mode .yellow-link:hover {
  color: rgba(36, 160, 219, 0.8);
}
.what-is p{
  padding-right: 75px;
}
#WhatIsBottomText{
  margin-bottom: 0;
}
.backBtn{
  border-radius: 53px;
  width: 180px;
  height: 45px;
  border: none;
  font-size: 20px;
  color: white;
  margin-top: -8px;
  line-height: 1px;
  cursor: pointer;
  background: rgb(36, 160, 219);
  box-shadow: -6px -3px 10px 2px #e6e6e617, 6px 4px 13px 2px #00000052;
  font-family: "Exo 2", sans-serif;
}
.backBtn:hover{
  background: rgba(36, 160, 219, 0.9);
}

::placeholder {
  color: #bbb;
  opacity: 1;
}
.light-mode ::placeholder {
  color: #555;
}
/* CUSTOM CHECKMARK*/
/* The container-checkbox */
.container-checkbox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container-checkbox #acceptance {
  position: absolute;
  right: 0;
  opacity: 0;
  cursor: pointer;
  height: 25px;
  width: 25px;
}

/* Create a custom checkbox */
.register-form .checkmark {
  position: absolute;
  top: -3px;
  right: 0;
  height: 20px;
  width: 20px;
  background: linear-gradient(101deg, #26272b 9%, #34393f 92%);
  box-shadow: inset 0px 0px 1px 1px #0003;
  border-radius: 5px;
}

/* On mouse-over, add a grey background color */
.container-checkbox:hover #acceptance ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container-checkbox #acceptance:checked ~ .checkmark {
  background: linear-gradient(101deg, #26272b 9%, #34393f 92%);
  box-shadow: inset 0px 0px 1px 1px #0003;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container-checkbox #acceptance:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 3px;
  height: 9px;
  border: solid rgb(242, 152, 7);
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* end of custom checkbox*/
.register-form {
  width: 276px;
  padding: 20px 30px;
  padding-top: 0;

}
.acceptance {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.register-form .bottom-text {
  padding: 15px;
  background: linear-gradient(114deg, #26272b 13%, #34393f 97%);
  box-shadow: inset 3px 2px 10px 3px #1f1f1f;
  border-radius: 10px;
  text-align: justify;
  font-style: italic;
  font-size: 12px;
}
.light-mode .register-form .bottom-text {
  box-shadow: inset 3px 2px 10px 3px #9c9c9c;
}
.register-form .accept-terms {
  font-style: normal;
}
.register-form #btnSubmit {
  margin-top: 15px;
}
.register-form .yellow-link {
  cursor: pointer;
}
.register-form .top-text {
  margin-bottom: 10px;
}
.input-fields {
  text-align: center;
}
.register-form #email,
.register-form #psw,
.register-form #confpsw,
.register-form #firstName,
.register-form #lastName {
  width: 75%;
}
.register-form input:focus-visible {
  outline: none;
}
/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.modal-content {
  background: linear-gradient(114deg, #26272b 13%, #34393f 97%);
  box-shadow: 0px 0px 20px 23px #00000052;
  border-radius: 20px;
  margin: auto;
  padding: 60px 40px;
  padding-top: 80px;
  width: 60%;
  height: 75%;
  position: relative;
}
.modal-title {
  line-height: 80px;
  margin-top: -80px;
}
.terms {
  height: 95%;
  overflow: auto;
}
.close {
  color: #aaaaaa;
  float: right;
  font-weight: bold;
  position: absolute;
  right: 50px;
}
.close.register{
  margin-top: 33px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.modal-body {
  display: flex;
  height: 100%;
  overflow: auto;
}
.what-is-swarm{
display:flex;
}
.what-is-swarm h2{
width:50%;
}
.modal-column {
  width: 50%;
  margin-top: -10px;
}
/* end of MODAL */
.modal p{
  font-size: 15px;
  padding-bottom: 5px;
}
.terms .strong,.modal-column .strong {
  font-weight: 800;
  font-size: 16px;
  margin-bottom: -18px;
}
#myModal h2 {
  margin: 0;
  color: rgb(242, 152, 7);
  font-weight: 500;
  font-size: 23px;
  font-family: "Exo 2", sans-serif;
}
input[type="submit"]:disabled {
  background-color: #4a4a4a;
}.logo{
  background: url(/login/assets/SwarmEngLogo.png) center no-repeat;
  background-size: contain;
  height: auto;
  width: 230px;
  margin:30px auto;
}
.light-mode .logo{
  background: url(/login/assets/logo-light.svg) center no-repeat;
  background-size: contain;
}
.login-register {
  background: url(/login/assets/App_Login.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  padding: 0px 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  background-position: center;
  position: absolute;
  z-index: 1;
  top: 0;

}

.login-maintenance {
  background: url(/login/assets/maintenance.svg) right center; /* Adjust the background position */
  background-size: cover; /* You can experiment with 'cover' or specific dimensions */
  background-repeat: no-repeat;
  padding: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 1;
  top: 0;
}
.maintenance-message {
  text-align: center;
  color: #fff;
  font-family: "Exo 2", sans-serif;
  margin-top: 20px;
}

.maintenance-message h1 {
  font-size: 30px;
  margin-bottom: 20px;
}

.maintenance-message p {
  font-size: 16px;
  margin-bottom: 30px;
}

/* .register-body .login-register,.register-body.light-mode .login-register {
  background-position: 90px center;
} */
.light-mode .login-register{
  background: url(/login/assets/App_Login-light.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position:center;
}
.light-mode .login-form, .light-mode .register-form,
.light-mode .register-form .bottom-text, .light-mode .register-form .checkmark,
.light-mode .container-checkbox #acceptance:checked ~ .checkmark, .light-mode .modal-content {
  background: linear-gradient(#ededed 9%, #c2c2c2 92%);
  color: #555;
}
.power-lamp {
  width: 15%;
  height: 30%;
  position: absolute;
  top: 5%;
  right: 26%;
  cursor: pointer;
  opacity: 0;
  z-index: 3;
}

#linkToSite{
  color: rgb(36, 160, 219);
}

#linkToSite:hover {
  color: rgba(36, 160, 219, 0.9);
}

#btnSubmit:disabled {
  background: rgb(36, 160, 219) !important;
  cursor: default;
}
#btnSubmit:disabled:hover {
  background: rgba(36, 160, 219, 0.9);
  opacity: 0.7;
}
.forgot-password-body .logo {
  margin-bottom: 50px;
}
.forgot-password-body #email {
  padding: 15px 20px;
}
.forgot-password-body #btnSubmit {
  font-size: 16px;
}
.forgot-title {
  text-align: center;
}
.back {
  font-size: 16px;
  margin-bottom: 23px;
  text-align: center;
}
.register-body .back{
  margin:10px 0;
}
.back-link{
  position: relative;
}
.back-link:before {
  content: '← ';
  position: absolute;
  left: -22px;
  color: rgb(242, 152, 7);
  text-shadow: 1px 1px 1px #000;
}
.login-member-text {
  text-transform: uppercase;
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  position: relative;
}
.login-member-text::before {
  position: absolute;
  left: 0;
  top: 8px;
  height: 1px;
  width: 70px;
  background: #bbb;
  content: "";
}
.login-member-text::after {
  position: absolute;
  right: 0;
  top: 8px;
  height: 1px;
  width: 70px;
  background: #bbb;
  content: "";
}
.login-card-line {
  border-bottom: 1px solid #bbb;
  margin-top: 35px;
}
.card-info-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.yellow-text {
  color: rgb(242, 152, 7);
  text-shadow: 1px 1px 1px #000;
}
.card-info-text .yellow-text {
  margin: 16px 0 0 0;
}
.form-container {
  margin-bottom: 15px;
}
.redirect-section {
  display: none;
  text-align: center;
  font-size: 16px;
}
.light-mode .yellow-text {
  text-shadow: none;
  color: rgb(36, 160, 219);
}
.light-mode .login-member-text::before,
.light-mode .login-member-text::after {
  background: #555;
}
.light-mode .login-card-line {
  border-bottom: 1px solid #555;
}
.light-mode #myModal h2 {
  color: rgb(36, 160, 219);
}
@media only screen and (max-width: 1300px){
  .login-register {
    width: 100%;
    background-position: 90px center;
  }
  .light-mode .login-register{
    background-position: 90px center;
  }
}

