

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
   overflow-x: hidden;
}
a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

.login-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #03051c;
  background-image: url(./assets/images/bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}


.login-card {
  position: relative;
  width: 450px;
  max-width: 100%;
  padding: 25px;
  /* border: 1px solid rgba(53, 116, 255, 0.9); */
  border:none;
  border-radius: 24px;
  background: linear-gradient(
    144.29deg,
    #161e49 -1.69%,
    #090d2a 21.41%,
    #090c25 54.82%,
    #110b2c 100.51%
  );
  backdrop-filter: blur(40px);
  box-shadow: 0px 24px 48px 0px #00000033;
  z-index: 2;
}
/* Gradient Border */
.login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 24px;
  background: linear-gradient(
    143.36deg,
    #0859FE 0%,
    #417BC4 30.17%,
    #7E54D7 67.06%,
    #D02993 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}


.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.inmobi-logo {
  object-fit: contain;
  width: 100%;
}


.login-heading {
  text-align: center;
  margin-block: 10px;
}

.login-heading h1 {
  color: #ffffff;
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
}

.login-heading p {
  color: #94A3B8;
  font-size: 14px;
  font-weight: 400;
}


.form-group {
  width: 100%;
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}


.input-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8d91a8;
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  height: 40px;
  padding: 0 15px 0 43px;
  border: 1px solid #3C4269;
  border-radius: 12px;
  outline: none;
  background: transparent;
  color: #8D94B1;
  font-size: 14px;
  transition: 0.2s ease;
}

.input-wrapper input::placeholder {
  color: #8D94B1;
}

.input-wrapper input:focus {
  border-color: #416dff;
  box-shadow: 0 0 0 2px rgba(65, 109, 255, 0.1);
}
.input-wrapper .i-right {
  right: 13px;
  pointer-events: all;
  position: absolute;
  top: 34%;
}
.input-wrapper .i-right button{
  border: none;
  background: transparent;
  cursor: pointer;
 }


.forgot-password {
  display: flex;
  justify-content: flex-end;
  margin-top: -3px;
  margin-bottom: 10px;
}

.forgot-password a {
  color: #EDEDED;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.forgot-password a:hover {
  color: #6e8fff;
    text-decoration: underline;
}


.captcha-row {
  width: 100%;
  display: grid;
  grid-template-columns: 130px 40px 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

/* Captcha number */

.captcha-code {
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3C4269;
  border-radius: 12px;
  color: #85899f;
  background: transparent;
}

/* Refresh */
.captcha-refresh {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.2s;
  background: transparent;
}
.captcha-refresh:hover {
  transform: rotate(90deg);
}

/* Captcha input */

.captcha-input {
  width: 100%;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #3C4269;
  border-radius: 12px;
  outline: none;
  background: transparent;
  color: #8D94B1;
  font-size: 14px;
}

.captcha-input::placeholder {
  color: #8D94B1;
}

.captcha-input:focus {
  border-color: #416dff;
  box-shadow: 0 0 0 2px rgba(65, 109, 255, 0.1);
}


.sign-in-btn {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(90deg, #326FFA 0%, #D02993 100%);
  box-shadow: 0 7px 18px rgba(60, 80, 230, 0.18);
  transition: 0.2s ease;
}

.sign-in-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(60, 80, 230, 0.28);
}

.sign-in-btn:active {
  transform: translateY(0);
}


.or-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block: 11px;
}

.or-divider span {
  flex: 1;
  height: 1px;
  background: #3C4269;
}

.or-divider p {
  color: #8D94B1;
  font-size: 14px;
}


.microsoft-btn {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #3C4269;
  border-radius: 12px;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
  /* padding: 12px 16px; */
}

.microsoft-btn:hover {
  background: rgba(25, 30, 60, 0.7);
  border-color: #4b5275;
}
.microsoft-text{
  color: white;
}


.microsoft-icon {
  width: 20px;
  height: 20px;
}

.microsoft-icon span {
  display: block;
}


.powered-by {
  position: absolute;
  bottom: 0px;
  z-index: 2;
}

@media (max-width: 1380px) {
  .login-page{
    justify-content: start;
  }
}
@media (max-width: 900px) {
  .login-page {
    padding: 35px 20px;
  }

}


@media (max-width: 768px) {
  .login-page {
    padding: 30px 18px;
    background-position: center center;
  }

  .login-card {
    padding: 28px;
  }

}


@media (max-width: 600px) {
  .login-page {
    min-height: 100svh;
    padding: 25px 15px;
    background-size: cover;
    background-position: center center;
  }

  .login-card {
    width: 100%;
    max-width: 430px;
    padding: 25px 20px;
    border-radius: 20px;
  }


  .login-heading h1 {
    font-size: 22px;

    margin-bottom: 9px;
  }

  .login-heading p {
    font-size: 13px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group label {
    font-size: 10px;
  }

  .input-wrapper input {
    height: 36px;
    font-size: 13px;
  }

  .captcha-row {
    grid-template-columns: 105px 30px 1fr;
    gap: 8px;
  }

  .captcha-code {
    font-size: 14px;
  }

  .sign-in-btn {
    /* height: 50px; */
    font-size: 15px;
  }

  /* Microsoft */

  .microsoft-btn {
    /* height: 47px; */
    font-size: 13px;
  }
  /* .powered-by{
  position: relative;
  margin-top: 10px;
} */

}


@media (max-width: 380px) {
  .login-page {
    padding: 20px 10px;
  }

  .login-card {
    padding: 22px 16px;

    border-radius: 18px;
  }

  .login-heading h1 {
    font-size: 20px;
  }

  .login-heading p {
    font-size: 12px;
  }

  .captcha-row {
    grid-template-columns: 95px 25px 1fr;
    gap: 5px;
  }

}
.help-mark {
    position: absolute;
    right: 7%;
    bottom: 7%;
    box-shadow: 0px -4px 2px 0px #00000005 inset;
    box-shadow: 0px 0px 0px 1px #EDEDED;
    box-shadow: 0px 3px 5px 0px #0000001A;
    background: #FFFFFF;
    border-radius: 141px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    cursor: pointer;
}

.help-mark span {
    color: #314DDF;
    font-size: 16px;
    font-weight: 500;

}

.help-mark:hover {
    background: #314DDF;
    box-shadow: 0px 1px 2px 0px #1018280D;
}

.help-mark:hover svg .help-path {
    stroke: white;
    fill: transparent;
}

.help-mark:hover span {
    color: #FFFFFF;
}

.line_hide {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#error_msg {
    color: red;
    font-size: 14px;
    text-align: center;
    margin: 0px;
}
