 * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Poppins', sans-serif;
    }

    body {
      background: linear-gradient(to right, #000727, #3a3970, #000727);
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .container {
      background: #fff;
      width: 850px;
      height: 500px;
      display: flex;
      border-radius: 20px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.2);
      overflow: hidden;
      position: relative;
      -webkit-box-reflect: below 5px linear-gradient(to bottom, #ffffff00, #f7f7f754)
    }

    .form-box {
      width: 50%;
      padding: 40px;
      transition: all 0.6s ease-in-out;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: absolute;
      height: 100%;
      top: 0;
      left: 0;
    }

    .form-box form {
      display: flex;
      flex-direction: column;
    }

    .form-box h2 {
      margin-bottom: 20px;
      color: #fff;
    }

    .form-box input {
      padding: 12px;
      margin: 10px 0;
      border-radius: 8px;
      border: 1px solid #ccc;
      background: #f5f5f5;
    }

    .form-box input[type='submit'] {
      margin-top: 15px;
      padding: 12px;
      border: none;
      background: #00082b;
      color: white;
      font-weight: bold;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .form-box input[type='submit']:hover {
      background: #000c42;
    }

    .form-box a {
      margin-top: 10px;
      font-size: 14px;
      color: #667eea;
      text-decoration: none;
      text-align: center;
    }

    .img-box {
      width: 100%;
      
      background-size: cover;
    }

    .form-box.cadastro {
      left: 100%;
    }

    .container.active .form-box.login {
      transform: translateX(-100%);
    }

    .container.active .form-box.cadastro {
      transform: translateX(-100%);
    }

    .switch-btns {
      position: absolute;
      bottom: 20px;
      right: 20px;
      z-index: 10;
    }

    .switch-btns button {
      margin-left: 10px;
      padding: 10px 15px;
      border-radius: 20px;
      background: #eee;
      border: none;
      cursor: pointer;
      font-weight: bold;
    }

    @media (max-width: 868px) {
      .container {
        flex-direction: column;
        width: 95%;
        height: 900px;
        background: linear-gradient(to right, #000727, #3a3970, #000727);
      }

      .img-box {
        display: none;
      }

      .form-box,
      .form-box.cadastro {
        width: 100%;
        position: relative;
        left: 0;
        transform: translateX(0) !important;
      }

      .container.active .form-box.login {
        display: none;
      }

      .container.active .form-box.cadastro {
        display: flex;
      }

      .switch-btns {
        display: none;
      }
    }

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 1% auto;
  padding: 20px 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.288);
}

.close-btn {
  float: left;
  font-size: 18px;
  cursor: pointer;
}

.close-btn i {
  color: #000000;
}
