* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background-image: url(../images/slider-image2.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 20px;
    position: relative;
  }
  
  body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
  }
  
  a {
    color: #144272;
    font-weight: 500;
  }
  
  .box {
    margin-left: -5em;
    padding: 3em 2em;
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    background: white;
    box-shadow: 2px 0 15px -2px rgba(0, 0, 0, 0.2);
    display: grid;
    row-gap: 2em;
  }
  
  .box-header {
    display: grid;
    row-gap: 2em;
  }
  
  .box-header>h1 {
    margin: 0;
    font-size: 1.563em;
    font-weight: 900;
    text-align: center;
    color: #0d4c92;
  }
  
  .box-header>p {
    font-size: 0.8em;
    line-height: 1.8;
    text-align: center;
  }
  
  .box-body>form {
    display: grid;
    row-gap: 1.6em;
  }
  
  .floating-label-input {
    position: relative;
    background: var(--surface-color);
  }
  
  .input-text {
    width: 100%;
    padding: 1em;
    background: var(--surface-color);
    border: 1px solid #c2c2c2;
    border-radius: 5px;
  }
  
  .input-text::placeholder {
    opacity: 0;
  }
  
  .floating-label-input>label {
    position: absolute;
    top: 50%;
    left: 1em;
    color: #999999;
    background: var(--surface-color);
    transform: translateY(-100%);
    cursor: text;
    transition: all 0.1s ease-out;
  }
  
  .input-text:focus {
    outline: 2px solid #0d4c92;
  }
  
  .input-text:focus+label,
  .input-text:not(:placeholder-shown)+label {
    padding: 1 0.5em;
    top: 0;
    left: 0.8em;
    font-size: 0.8em;
    font-weight: 500;
  }
  
  .input-text:focus+label {
    color: #0d4c92;
  }
  
  .password-manager {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .save-password {
    display: flex;
    gap: 0.6em;
    font-size: 0.8em;
    cursor: pointer;
  }
  
  .forgot-password {
    font-size: 0.8em;
  }
  
  button {
    padding: 1em;
    width: 100%;
    font-weight: 600;
    background-color: #0d4c92;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .box-footer>p {
    font-size: 0.8em;
    line-height: 1.8;
    text-align: center;
  }
  
  /* Responsive styles */
  @media (max-width: 600px) {
    
    .box {
      max-width: 100%;
      padding: 2em 1em;
      margin-left: 0.5em;
    }
  
    .box-header>h1 {
      font-size: 1.2em;
    }
  
    .box-header>p {
      font-size: 0.8em;
    }
  
    .input-text {
      padding: 0.8em;
    }
  
    button {
      padding: 0.8em;
    }
  }