* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --mainColor: #dadada;
  --HeaderColor: rgba(19, 25, 33, 0.9);
  --highlight: #ff9900;
  --background-color: #e6b412;
}

body {
  position: relative;
  background-image: url(../assets/header1.jpg) !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  font-family: "Roboto Condensed", sans-serif;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

@media (max-width: 800px) {
  body {
      height: 146vh !important;
  }
}

form {
  position: relative;
  width: 100%;
  max-width: 435px;
  margin: 70px auto;
  background-color: var(--HeaderColor);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  color: #fff;
  padding: 45px 25px;
  z-index: 5;
  animation: fadeIn 0.8s ease-in-out;
}

@media (max-width: 800px) {
  form {
    margin-top: 30px;
    padding: 35px 20px;
  }
}

form h2 {
  text-align: center;
  margin-bottom: 25px;
  color: var(--highlight);
  font-size: 32px;
  letter-spacing: 1px;
}

form div {
  margin-bottom: 20px;
}

form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

form input[type="text"],
form input[type="password"] {
  width: 100%;
  padding: 12px;
  border: none;
  outline: none;
  border-radius: 6px;
  background-color: #1c2331;
  color: #fff;
  font-size: 15px;
  transition: all 0.4s ease;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
  background-color: #222b3c;
  box-shadow: 0px 0px 8px var(--highlight);
}

.btn-container {
  text-align: center;
  margin-top: 35px;
}

input[type="submit"] {
  background-color: var(--highlight);
  border: none;
  outline: none;
  padding: 12px 38px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #e68a00;
  transform: scale(1.05);
  box-shadow: 0px 0px 10px var(--highlight);
}

/* Forgot Password */
.forgot-wrap {
  margin-top: 18px;
  text-align: center;
}
.forgot-wrap a {
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #ffae42;
  transition: all 0.3s ease;
}
.forgot-wrap a:hover {
  color: #ffd27f;
  text-decoration: underline;
}

/* Social login / Media */
.media {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 28px;
}
.media a {
  background-color: #1c2331;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.3s ease;
}
.media a:hover {
  background-color: var(--highlight);
  transform: translateY(-2px);
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.btn a{
     position: absolute;
    bottom: 20px;
    right: 26px;
    background-color: #ff9900;
    color: #fff;
    padding: 10px;
    border-radius: 0px 12px 0 12px;
    text-decoration: none;
    font-weight: bold;
    z-index: 222;
}

@media (max-width:800px) {
  .btn a{
    display: none;
  }
}