@import url("https://fonts.googleapis.com/css2?family=Oxanium:wght@200..800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

body {
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  background: url("../assets/login-bg.png") no-repeat center / 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.left-section {
  height: 100vh;
  width: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.branding {
  display: flex;
  flex-direction: row;
  margin-bottom: 160px;
  gap: 10px;
}

.branding h1 {
  color: #fdd835;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 12px;
}

.motto {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.motto h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

.motto p {
  font-size: 16px;
  color: #fdd835;
  font-weight: 300;
}

.right-section {
  height: 100%;
  flex: 1;
  background: rgba(0, 0, 0, 0.8);
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  box-shadow: rgba(255, 255, 255, 0.25) 0px 50px 100px -12px inset,
    rgba(0, 0, 0, 0.3) 0px 50px 100px -18px inset;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px;
  position: relative;
}

.nav {
  display: flex;
  flex-direction: row;
  position: absolute;
  top: 20px;
  right: 10px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
  padding: 10px 20px;
  background-color: #ffcc00;
  border-radius: 20px;
  transition: .5s;
}

.nav a:hover {
  background-color: #d4ae04;
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 450px;
  margin-top: 50px;
}

.form-container h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
}

.form-container .login-email-title {
  align-self: center;
}

.form-container form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 500px;
}

.form-container input,
.form-container button {
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #d3d3d3;
  border-radius: 1px;
  font-size: 14px;
  transition: ease 0.5s;
  color: #000000;
}

.form-container input::placeholder {
  color: #000000;
}

.form-container option::placeholder {
  color: #000000;
}

.form-container input:focus {
  outline: none;
  border: 1.5px solid #ffcc00;
}

.input-error {
  border-color: var(--red) !important;
}

.input-group {
  position: relative;
}

.input-group input {
  width: 100%;
}

.form-container .user-icon {
  position: absolute;
  top: 46%;
  right: 125px;
  color: #000000;
  height: 18px;
  width: 18px;
}

.form-container .pass-icon {
  position: absolute;
  top: 56%;
  right: 125px;
  color: #000000;
  height: 18px;
  width: 18px;
}

.form-container .reset-pass-icon {
  position: absolute;
  top: 45%;
  right: 125px;
  color: #000000;
  height: 18px;
  width: 18px;
}

.form-container .mail-icon {
  position: absolute;
  top: 30%;
  right: 10px;
  color: #000000;
  height: 18px;
  width: 18px;
}

.form-container .new-pass-icon {
  position: absolute;
  top: 55%;
  right: 125px;
  color: #000000;
  height: 18px;
  width: 18px;
}

.form-container button {
  background-color: #ffcc00;
  color: #ffffff;
  font-size: medium;
  font-weight: bold;
  cursor: pointer;
  border: none;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.form-container button:hover {
  background-color: #d8b000;
}

.form-container a {
  color: #fff;
  width: fit-content;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.form-container a:hover {
  color: #ffcc00;
  text-decoration: underline;
}

.form-container .reset-link {
  color: #ffcc00;
}

.form-container p {
  font-size: 0.9rem;
  display: block;
}

.form-container p {
  display: absolute;
}

.email-notification {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 1px;
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
}

.email-notification .email-icon {
  width: 50px;
  height: 50px;
  background: url("../assets/login-email.svg") center/contain no-repeat;
  color: #d4ae04;
  margin: 5px;
}

.email-notification p {
  font-size: 14px;
  margin-bottom: 5px;
}

.otp-message {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  font-size: 14px;
  color: #fff;
  margin-bottom: 10px;
}

.otp-message .title {
  font-weight: 500;
  margin-bottom: 9px;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 450px;
  margin-top: 50px;
}

.content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.content img {
  width: 250px;
  height: 250px;
  margin-bottom: 20px;
}

.content p {
  font-size: 14px;
  color: #292929;
  margin-bottom: 43px;
}

.content button {
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #d3d3d3;
  border-radius: 1px;
  font-size: 14px;
  transition: ease 0.5s;
  background-color: #ffcc00;
  color: #ffffff;
  font-size: medium;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s;
  width: 100%;
}

.form-container .login-check-title {
  align-self: center;
}

.check {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 1px;
  text-align: center;
  margin-bottom: 10px;
  width: 100%;
}

.check .check-icon {
  width: 100px;
  height: 100px;
  background: url("../assets/check.svg") center/contain no-repeat;
  color: #fdd835;
}

.message {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  font-size: 14px;
  color: #fff;
  margin-bottom: 5px;
}

.message .title {
  font-weight: 500;
  margin-bottom: 5px;
}

.form-error {
  color: rgb(255, 83, 83);
  font-size: small;
  font-weight: normal;
  font-family: "Montserrat", sans-serif;
}

.error-wrapper {
  height: 20px;
  margin-bottom: 5px;
  overflow: hidden;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  margin: 10px auto;
  width: 90%;
  max-width: 500px;
  text-align: center;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
}

@media only screen and (max-width: 1200px) {
  
  body {
    flex-direction: column;
    height: auto;
    overflow-y: auto;
    background: none;
    background-color: #1f1f1f;
  }

  .left-section {
    width: 100%;
    height: auto;
    border-radius: 0;
    padding: 20px 20px;
    align-items: start;
    text-align: start;
    position: sticky;
    top: 0;
    z-index: 1;
    background: url("../assets/login-bg.png") no-repeat center / 100% 100%;
    display: none;
  }

  .branding {
    margin-bottom: 80px;
    justify-content: start;
  }

  .branding h1 {
    font-size: normal;
    font-weight: 300;
  }

  .motto h2 {
    font-size: 1.8rem;
    font-weight: 300;
  }

  .motto p {
    font-size: 14px;
    font-weight: normal;
  }

  .right-section {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  .nav {
    position: static;
    margin-bottom: 10px;
    justify-content: center;
  }

  .form-container {
    width: 100%;
    min-width: 100%;
    height: 65vh;
    margin-top: 150px;
  }

  .form-container h2 {
    font-size: x-large;
    font-weight: 400;
    margin-bottom: 10px;
    text-align: center;
  }

  .form-container a {
    color:#fdd835;
    font-weight: 400;
  }

  .form-container .user-icon {
  position: absolute;
  top: 44%;
  right: 30px;
  color: #000000;
  height: 18px;
  width: 18px;
}

.form-container .pass-icon {
  position: absolute;
  top: 53%;
  right: 30px;
  color: #000000;
  height: 18px;
  width: 18px;
}

.form-container .reset-pass-icon {
  position: absolute;
  top: 40%;
  right: 30px;
  color: #000000;
  height: 18px;
  width: 18px;
}

.form-container .new-pass-icon {
  position: absolute;
  top: 49%;
  right: 30px;
  color: #000000;
  height: 18px;
  width: 18px;
}

.form-container .mail-icon {
  position: absolute;
  top: 40%;
  right: 30px;
  color: #000000;
  height: 18px;
  width: 18px;
}

}