/* raunak start */
@font-face {
  font-family: "Anton SC";
  src: url("../fonts/Anton_SC/AntonSC-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "BL Melody";
  src: url("../fonts/bl-melody/BLMelody-Regular.otf") format("truetype");
  src: url("../fonts/bl-melody/BLMelody-SemiBold.otf") format("truetype");
  src: url("../fonts/bl-melody/BLMelody-Light.otf") format("truetype");
  
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #121212;
  height: 100vh;
  position: relative;
}

/* Messages styling */
.messages {
  position: relative;
  margin: 12px 0 0 0;
}

.msg {
  width: 731px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-family: "BL Melody";
  font-size: 14px;
}

.msg.success {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.4);
}

.msg.error {
  background: rgba(231, 76, 60, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(231, 76, 60, 0.4);
}

.msg.warning {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.4);
}

.msg.info {
  background: rgba(52, 152, 219, 0.15);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.4);
}

.nav-pd {
  display: flex;
  position: absolute;
  top: 16px;
  left: 81px;
  align-items: center;
  gap: 10px;
}

.alcher-logo {
  height: 32.2px;
  width: 28px;
}

.nav-pd h1 {
  font-size: 16px;
  color: #faf3e0;
  font-weight: 400;
  font-family: "Anton SC";
}

.back-btn {
  position: relative;
  top: 117px;
  left: 81px;
  width: 126px;
  height: 44px;
  background: transparent;
  border: 1px solid #faf3e0;
  color: #faf3e0;
  border-radius: 8px;
  font-family: "BL Melody";
  cursor: pointer;
  font-size: 16px;
}

.form-box {
  position: relative;
  height: 1010px;
  width: 1282px;
  top: 217px;
  left: 78px;
  border: 2px solid #faf3e0;
  border-radius: 24px;
}

.nav-forms {
  display: flex;
  gap: 100px;
  position: absolute;
  top: 45px;
  left: 105px;
  width: 1067px;
  border-bottom: 2px solid #faf3e0;
  flex-wrap: wrap;
}

.form-box a {
  font-size: 18px;
  font-family: "BL Melody";
  font-weight: 600;
  text-decoration: none;
  color: #faf3e0;
}

.nav-forms a.active-tab {
  color: #759711;
  position: relative;
}

.forms-field {
  height: 519px;
  width: 732px;
  position: absolute;
  top: 128px;
  left: 105px;
}

.forms-field p {
  font-family: "BL Melody";
  font-weight: 500;
  font-size: 18px;
  color: #faf3e0;
}

.forms-field label {
  display: block;
  margin-top: 20px;
  color: #838383;
  font-family: "BL Melody";
  font-size: 16px;
  font-weight: 500;
}

.forms-field input[type="text"],
.forms-field input[type="email"],
.forms-field input[type="number"],
.forms-field input[type="tel"],
.forms-field textarea {
  display: block;
  padding: 10px 10px;
  background-color: #202020;
  width: 750px;
  height: 43px;
  color: #faf3e0;
  border: none;
  border-radius: 6px;
  outline: none;
  font-family: "BL Melody";
  font-size: 14px;

}

.forms-field input::placeholder,
.forms-field textarea::placeholder {
  color: rgba(250, 243, 224, 0.5);
  font-size: 16px;
  font-family: "BL Melody";
  font-weight: 500;
}

.forms-field input:focus,
.forms-field textarea:focus {
  border-bottom-color: #faf3e0;
  font-size: 16px;
}

.input {
  color: #faf3e0;
}

.register-btn {
  width: 200px;
  height: 60px;
  background-color: #be6025;
  padding: 10px 20px;
  border-radius: 42px;
  position: absolute;
  top: 800px;
  color: white;
  font-family: "BL Melody";
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
  border: none;
}

.error,
.errorlist {
  color: #ff6b6b;
  background: rgba(231, 76, 60, 0.06);
  border: 1px solid rgba(231, 76, 60, 0.15);
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 8px;
  font-family: "BL Melody";
  font-size: 14px;
}

.errorlist {
  list-style: none;
  margin: 8px 0 0 0;
  padding-left: 12px;
}

.errorlist li {
  margin: 0;
  padding: 0;
}

.forms-field .error {
  background: transparent;
  border: none;
  padding: 4px 0 0 0;
  color: #ff6b6b;
  font-size: 13px;
}

/* ---------------------- */
/* 📱 MOBILE RESPONSIVENESS */
/* ---------------------- */
@media (max-width: 768px) {
  body {
    height: auto;
    padding: 20px;
  }

  .nav-pd {
    position: static;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .alcher-logo {
    width: 40px;
    height: auto;
  }

  .nav-pd h1 {
    font-size: 14px;
  }

  .back-btn {
    top: 20px;
    left: 0;
    display: block;
    margin: 20px auto;
    width: 100%;
    max-width: 180px;
    height: 40px;
    font-size: 14px;
  }

  .form-box {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 40px;
    padding: 20px;
    border-radius: 16px;
  }

  .nav-forms {
    position: static;
    width: 100%;
    gap: 10px;
    justify-content: center;
    border-bottom: 1px solid #faf3e0;
    text-align: center;
    font-size: 14px;
  }

  .nav-forms a {
    font-size: 14px;
  }

  .forms-field {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  .forms-field p {
    font-size: 14px;
    text-align: center;
  }

  .forms-field label {
    font-size: 14px;
    margin-top: 16px;
  }

  .forms-field input[type="text"],
  .forms-field input[type="email"],
  .forms-field input[type="number"],
  .forms-field input[type="tel"],
  .forms-field textarea {
    width: 100%;
    font-size: 14px;
  }

  .register-btn {
    position: static;
    display: block;
    margin: 30px auto;
    width: 100%;
    max-width: 220px;
    height: 50px;
    font-size: 15px;
  }

  .messages,
  .msg {
    width: 100%;
  }
}
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #1e1e1e inset !important;
  -webkit-text-fill-color: #fff !important;
  transition: background-color 5000s ease-in-out 0s;
}
