@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&dislay=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root{
  --primary-color:#c6c3c3;
  --secondary-color:#ffffff;
  --black-color:#000000;
}
body{
  background-image: url("../images/travelexpress.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
a{
  text-decoration: none;
  color: var(--second-color);
}
a:hover{
  text-decoration: underline;
}

/* WRAPPER */
.wrapper{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.login_box{
  position: relative;
  width: 450x;
  backdrop-filter: blur(25px);
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 7.5em 2.5em 4em 2.5em;
  color: var(--secondary-color);
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.3);
}
.login_header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  width: 220px; /* increase width so text fits */
  height: 70px;
  border-radius: 0 0 20px 20px;
  text-align: center; /* ensure center alignment */
  white-space: nowrap; /* keep text on one line */
}

.login_header span {
  font-size: 22px;
  color: var(--black-color);
}

.login_header::before{
  content: "";
  position: absolute;
  top: 0;
  left: -30px;
  width: 30px;
  height: 30px;
  border-top-right-radius: 50%;
  background: transparent;
  box-shadow: 15px 0 0 0 var(--primary-color );
}
.login_header::after{
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  width: 30px; 
  height: 30px;
  border-top-left-radius: 50%;
  background: transparent;
  box-shadow: -15px 0 0 0 var(--primary-color );
}
.txt{
  margin: 10px;
}
.input_box{
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 20x 0;
}
.input_field{
  width: 100%;
  height: 55px;
  font-size: 16px;
  background: transparent;
  color: var(--second-color);
  padding-inline: 20px 50px;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  outline: none;
}
#user{
  margin-bottom: 10px;
}
.label{
  position: absolute;
  top: 15px;
  left: 20px;
  transform: .2s;
}
.input_field:focus ~ .label,
.input_field:valid ~ .label{
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 14px;
  background-color: var(--primary-color);
  border-radius: 30px;
  color: var(--black-color);
  padding: 0 10px;
}
.icon{
  position: absolute;
  top: 18px;
  right: 25px;
  font: 20px;
}
.remember-forgot{
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}
.input_submit{
  width: 100%;
  height: 50px;
  background: #ececec;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: .3s;
}
.input_submit:hover{
  background: var(--second-color);
}
.register{
  text-align: center;
}
.register a{
  font-weight: 500;
}
@media only screen and (max-width:564px){
  .wrapper{
    padding: 20px;
  }
  .login_box{
    padding: 7.5em 1.5em 4em 1.5em; 
  }
}

  /* FOOTER */
  footer {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    flex-shrink: 0;
  }