/*#region notes */
@media only screen and (min-width: 2475px) {
  /* 4k ekranlar için 2475px'den büyükler için. en üste yazmaya çalış */
}
@media only screen and (max-width: 1367px) {
  /*MrtStok en çok kullanılan monitör*/
}
@media only screen and (max-width: 767px) {
  /*md breakpoint*/
}
@media only screen and (max-width: 415px) {
  /*mobile en çok girilen width > 414, 375. 360*/
}
/*#endregion notes*/

/*#region variables */
:root {
  --MrtStokBlue: #021b4e;
  /* --btnBlue: #175cff; */
  --btnBlue: #3a80ff;
  --generalFont: "Inter", sans-serif;
  --h1Size: 40px;
  --h2Size: 36px;
  --h3Size: 32px;
  --pSize: 18px;
  --hover: #2564f7f0;
  --red: #e51919;
}
@font-face {
  font-family: header_font;
  src: url(fonts/EudoxusSans-Bold.woff2)
      format("woff2"),
    url(fonts/EudoxusSans-Bold.woff)
      format("woff");
}
@font-face {
  font-family: header_font_medium;
  src: url(fonts/EudoxusSans-Medium.woff2)
      format("woff2"),
    url(fonts/EudoxusSans-Medium.woff)
      format("woff");
}
.g-recaptcha {
  width: 100% !important;
}
span.error {
  color: var(--red);
}

span.fielderror {
  color: var(--red);
}

#forgot-form span.error {
  position: relative;
  top: -14px;
}

input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.input.error {
  border: 1.5px solid var(--red);
}
.input.error:focus {
  border: 1.5px solid var(--red);
}
.input-box label.error {
  position: relative;
  top: 0;
  margin-top: 0.625rem;
  font-family: var(--generalFont);
  font-style: normal;
  font-weight: normal;
  font-size: 15px;
  line-height: 18px;

  color: var(--red);
}
span.error a {
  text-decoration: none;
  color: var(--red);
}
.back-to-login a img {
  margin-bottom: 3px;
}

.continue-with-acc a img {
  margin-bottom: 3px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100vh;
  height: var(--app-height);
}

/*#endregion  variables */

/*#region base layout with login page, register page, password pages*/
div {
  font-family: var(--generalFont);
}

.login-wrapper,
.login-content {
  position: relative;
  height: 100%;
  padding: 0;
  color: var(--MrtStokBlue);
  overflow-x: hidden;
}
.login-content label,
a,
span,
button,
input {
  font-family: var(--generalFont);
  color: var(--MrtStokBlue);
}
.logo {
  position: absolute;
  /* left: 9.9%; */
  top: 48px;
}
.logo img {
  width: 100%;
  max-width: 290px;
}
.login-col {
  height: 100%;
  max-height: 100%;
}
/*#region input styles */
.inputs-box {
  position: revert;
  padding: 9.2% 9.9%;
  margin: auto 0;
  height: max-content;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  overflow: auto !important;
}
.inputs-box::-webkit-scrollbar {
  display: none;
}

.input-box {
  margin-top: 0.5rem;
  position: relative;
}

.upper-input {
  padding-bottom: 2.063rem;
}

.input-box input {
  width: 100%;
  height: 3.813rem;
  background: #f2f7fa;
  border: 1.5px solid #eef3f6;
  box-sizing: border-box;
  border-radius: 12px;
  padding-left: 3.188rem;
  font-size: var(--pSize);
  line-height: 22px;
  transition: 0.2s ease all;
}

.label {
  position: absolute;
  top: 1.16rem;
  left: 3.2rem;
  color: #82939c !important;
  font-size: 14pt;
  font-weight: normal;
  pointer-events: none;
  transition: all 0.15s ease;
}

input:focus ~ .label,
input:valid ~ .label {
  top: -26px;
  left: 0;
  font-size: 14px;
  color: var(--MrtStokBlue) !important;
}
input:focus {
  outline: none;
}

input:focus {
  border: 1.5px solid var(--MrtStokBlue);
}

.input-box .input-icon {
  padding: 1.25rem 1rem;
  position: absolute;
  opacity: 0.5;
  transition: 0.2s ease all;
}

.input-box .input-icon.filled-input-icon {
  opacity: 1;
}

.input-box .eye-icon {
  position: absolute;
  cursor: pointer;
  top: 0;
  right: 0;
  padding: 1.9rem 1.5rem;
  opacity: 0.6;
  transition: 0.3s ease all;
  background: transparent url(eye.svg) no-repeat 0 50%;
  transition: 0.2s ease all;
}

.input-box .eye-icon.checked {
  background: transparent url(eyeoff.svg) no-repeat 0 50%;
}

.input-box .eye-icon:hover {
  opacity: 1;
}

.inputs-box h1 {
  line-height: 50.4px;
  font-family: header_font;
  padding-bottom: 2.7rem;
  font-size: var(--h1Size);
}

/*checkboxs login preferences*/
.login-preferences {
  padding-top: 0.85rem;
  padding-bottom: 1.563rem;
  margin-left: -0.1rem;
  display: flex;
  justify-content: space-between;
}

.remember-me {
  display: flex;
}
.remember-check-icon {
  cursor: pointer;
  width: 23px;
  height: 23px;
  background: transparent url(unchecked.png) no-repeat 0 50%;
  transition: 0.2s ease all;
}
.remember-check-icon.checked {
  background: transparent url(checked.svg) no-repeat 80% 50%;
}

.remember-text {
  padding-left: 0.3rem;
  font-weight: 500;
}
/* .forgot-password {
    margin-right: -1rem;
  } */
.forgot-password a {
  text-decoration: none;
  color: var(--btnBlue);
  font-size: calc(var(--pSize) - 2px);
  opacity: 0.9;
  line-height: 19px;
  font-weight: 600;
  transition: 0.2s ease all;
}
.forgot-password a:hover {
  opacity: 1;
  color: var(--hover);
}

.login-btn {
  width: 100%;
  border-radius: 12px;
  height: 56px;
  font-weight: 600;
  font-size: var(--pSize);
  line-height: 22px;
  margin-bottom: 1rem;
  background-color: #0577ad;
  border: #0577ad;
  color: white;
  transition: 0.3s ease all;
}
.login-btn:hover {
  color: white;
  background-color: #f67111;
  border: #f67111;
}

.btn-google {
  font-weight: 600;
  font-size: var(--pSize);
  line-height: 22px;
  /* identical to box height */
  position: relative;
  color: var(--MrtStokBlue);
}

.google-icon {
  float: left;
  padding-left: 2.3rem;
}

.create-account-link {
  text-align: center;
  font-weight: 400;
  font-size: var(--pSize);
  line-height: 22px;
  padding-top: 10px;
}
.create-account-link .new-account {
  color: var(--btnBlue);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--btnBlue);
  transition: 0.3s ease all;
}
.create-account-link .new-account:hover {
  color: var(--hover);
}
/*#endregion input styles  */

/*#region login slider */

.slider-box {
  position: relative !important;
  background-image: url(login-bg.png);
  text-align: center;
  justify-content: center;
  overflow: hidden;
   background-image: url(login-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
        min-height: 100vh;
        -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}


.slider-content-static {
  position: relative;
  transition: all 0.5s ease-out;
  overflow: hidden;
  z-index: 13;
}
.slider-content {
  position: relative;
  transition: all 0.5s ease-out;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transform: translateX(80%);
  z-index: 13;
}

.slider-content.active {
  opacity: 1;
  height: auto;
  animation: slide-left-carousel 5s none;
  animation-iteration-count: 1;
}
.slider-content.finished {
  animation: slide-left-on-click 1s;
  animation-iteration-count: 1;
}

@keyframes slide-left-carousel {
  0% {
    transform: translateX(80%);
  }
  20% {
    transform: translateX(0%);
  }
  80% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@keyframes slide-left-on-click {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.slider-box h1 {
  font-family: header_font;
  /* font-weight: 600; */
  font-size: var(--h2Size);
  line-height: 130.5%;
  text-align: center;
  color:#fff;
  /* margin: 12.5% 4vw; */
  margin: 5.5% 4vw;
  /* max-width: 481px; */
}

.slider-box h1 span {
  font-family: header_font;
  /* font-weight: 600; */
  font-size: var(--h2Size);
  line-height: 130.5%;
  text-align: center;
  color: #ffffff;
  margin: 12.5% 4vw;
}

.circle-bg {
  position: absolute;
  bottom: 5px;
  left: 23%;
  right: 23%;
  z-index: 11;
}
.circle-bg img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.upper-img {
  position: absolute;
  bottom: 6.4rem;
  left: 21%;
  right: 21%;
  z-index: 12;
}

.upper-img .main {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.slider-indicators {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 0.75rem;
  z-index: 20;
}

.slider-indicators .indicator {
  top: 0;
  left: 0;
  width: 209px;
  height: 6px;
  background: #ffffff;
  border-radius: 16px;
  margin: 0 5px;
  cursor: pointer;
  transition: 0.3s ease-in-out all;
}

.slider-indicators .indicator.active {
  background: #29a7e3;
}

/*#region password css */

label.error {
  color: red;
}

.error-mail {
  color: red;
}

.checked-mail {
  color: rgb(24, 150, 5);
}

.white-text {
  color: white;
}
.back-to-login a {
  text-decoration: none;
  color: var(--btnBlue);
  font-family: var(--generalFont);
  font-style: normal;
  font-weight: 600;
  font-size: calc(var(--pSize));
}

.sub-text-password {
  opacity: 0.6;
  font-weight: 500;
  margin-bottom: 4rem;
  opacity: 0.5;
  font-family: header_font_medium;
  font-size: var(--pSize);
  margin-top: -2rem;
}

.upper-input-password {
  padding-bottom: 1.3rem;
}

.upper-input--password-double {
  padding-bottom: 2.563rem;
}

.password-reset-error {
  margin: auto;
  font-size: 14px;
}

/*#endregion */

/*#region register */
.accept-terms-of-use {
  font-family: var(--generalFont);
  font-style: normal;
  font-weight: normal;
  font-size: calc(var(--pSize) - 3px);
  line-height: 20px;
  text-align: center;
  color: #021b4e;
  opacity: 0.5;
  max-width: 376px;
  margin: 0 auto;
  transition: 0.3s ease all;
  cursor: pointer;
}

.continue-with-acc a {
  color: var(--btnBlue);
  font-family: var(--generalFont);
  font-style: normal;
  font-weight: 600;
  /* font-size: calc(var(--pSize) - 3px); */
  font-size: var(--pSize);
  line-height: 22px;
}

.box-with-background {
  background-image: url(../images/checkmark-circle.png);
  background-size: contain;
  background-position-x: left;
  background-position-y: bottom;
  background-repeat: no-repeat;
}

#send-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 17px;
}

/*#region google captcha animation*/
.g-recaptcha.shake-it {
  /* Start the shake animation and make the animation last for 0.5 seconds */
  animation: shake 0.5s;
  /* When the animation is finished, start again */
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }
  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }
  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}
/*#endregion*/
.input-box-password {
  padding-bottom: 17px;
}
/*#endregion register */




@media only screen and (max-width: 1341px) {
  .slider-box h1 {
    margin: 22.5% 4vw;
  }
}
@media only screen and (max-width: 1200px) {
  .create-account-link {
    display: grid;
    font-size: 15px;
    line-height: 22px;
  }
  .create-account {
    padding-bottom: 8px;
  }

  .google-icon {
    padding-left: 1rem;
  }
}
@media only screen and (max-width: 1024px) {
  .upper-img {
    left: 7%;
    right: 7%;
  }
}

@media only screen and (max-width: 767px) {
  .inputs-box {
    margin: 0;
    padding: 4.9% 9.2%;
    /* margin-top: -3.125rem; */
    margin-top: 0;
  }

  .inputs-box h1 {
    width: 272px;
  }

  .slider-box {
    display: none;
  }
  .logo {
    position: relative;
    top: 0.4rem;
    margin-bottom: 10px;
    padding-bottom: 1.25rem;
  }
  .inputs-box h1 {
    padding-bottom: 2.1rem;
  }
  .login-btn {
    height: 45px;
  }
  .create-account-link {
    padding-top: 0;
  }
}

@media only screen and (max-width: 320px) {
  .inputs-box {
    margin-top: 0;
  }
}

@media only screen and (min-width: 1024px) {
  .inputs-box h1 {
    padding-top: 2.063rem;
  }
}

@media only screen and (min-width: 2475px) {
  .inputs-box {
    padding: 0 9.9%;
    margin: auto 0;
  }
  .slider-box h1 {
    font-size: 2vw;
    max-width: unset;
    margin: 21.5% 1vw;
  }
}

@media only screen and (max-width: 1366px) and (max-height: 800px) and (min-width: 666px) {
  .upper-input {
    padding-bottom: 1rem;
  }
  .input-box {
    /* margin-top: 0.5rem; */
    margin-top: 1rem;
    position: relative;
  }
  .inputs-box h1 {
    padding-top: 0.7rem;
    padding-bottom: 1.7rem;
  }
  .login-preferences {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }
  .create-account-link {
    padding-top: 0px;
  }
  .input-box label.error {
    margin-top: 0rem;
    margin-bottom: 0rem;
  }
}

@media only screen and (max-width: 1365px) and (max-height: 768px) {
  .upper-img .main {
    width: 55%;
  }
}
/*#endregion */

/*#region responsive settings for variables */
@media only screen and (max-width: 767px) {
  .slider-box {
    display: none;
  }
  :root {
    --pSize: 14px;
    --h1Size: 32px;
  }
  .login-preferences {
    padding-bottom: 0.5rem;
  }
}

/*#endregion */


  input[type="password"]::-ms-reveal,
  input[type="password"]::-webkit-input-placeholder {
    display: none;
  }
