/*======================================
=            RESET
======================================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, sans-serif;
}

/*======================================
=             BODY
======================================*/

body {
  background: #fff;
  overflow: hidden;
}

/*======================================
=          MAIN CONTAINER
======================================*/

.container {
  width: 100%;
  height: 100vh;
  display: flex;
}

/*======================================
=            LEFT PART
======================================*/
.left {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(255, 0, 0, 0.15));
}

.welcome {
  position: absolute;
  left: 70px;
  bottom: 70px;
  max-width: 600px;
  color: white;
  z-index: 5;
}

.welcome h1 {
  font-size: 65px;
  font-weight: 800;
  margin-bottom: 20px;
}

.welcome p {
  font-size: 18px;
  line-height: 35px;
}

/*======================================
=           RIGHT PART
======================================*/

.right {
  width: 50%;
  background: white;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 60px;
  overflow-y: auto;
}

/*======================================
=              CARD
======================================*/

.card {
  width: 100%;
  max-width: 420px;
}

/*======================================
=              LOGO
======================================*/

.logo {
  margin-bottom: 20px;
}

.logo h2 {
  font-size: 30px;
  font-weight: 800;
  color: #ff0000;
}

/*======================================
=          RETURN HOME
======================================*/

.back-home {
  margin-bottom: 30px;
}

.back-home a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
}

.back-home i {
  margin-right: 8px;
}

/*======================================
=          TITLE
======================================*/

.card h3 {
  font-size: 42px;
  margin-bottom: 10px;
}

.subtitle {
  color: #777;
  margin-bottom: 40px;
}

/*======================================
=           INPUTS
======================================*/

.input {
  height: 60px;
  background: #f5f5f5;
  border-radius: 20px;

  display: flex;
  align-items: center;

  padding: 0 20px;

  margin-bottom: 20px;
}

.input i {
  color: #999;
}

.input input {
  width: 100%;
  border: none;
  outline: none;
  background: none;

  margin-left: 15px;

  font-size: 15px;
}

.options {
  display: flex;
  justify-content: space-between;

  font-size: 14px;

  margin-bottom: 30px;
}

.options a {
  color: red;
  text-decoration: none;
}

.login-btn {
  width: 100%;
  height: 60px;

  border: none;
  border-radius: 20px;

  background: linear-gradient(90deg, #ff0000, #ff4444);

  color: white;

  font-size: 16px;
  font-weight: 600;

  cursor: pointer;

  box-shadow: 0 15px 35px rgba(255, 0, 0, 0.3);
}

.or {
  margin: 30px 0;
  text-align: center;
  color: #999;
}

.google {
  width: 100%;
  height: 60px;

  border-radius: 20px;

  border: 1px solid #ddd;

  background: white;

  font-weight: 600;

  cursor: pointer;
}

.google i {
  color: red;
  margin-right: 10px;
}

.signup {
  margin-top: 35px;
  text-align: center;
  color: #777;
}

.signup a {
  color: red;
  text-decoration: none;
  font-weight: 600;
}

.social {
  margin-top: 30px;

  display: flex;
  justify-content: center;
  gap: 20px;
}

.social i {
  width: 50px;
  height: 50px;

  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  background: #f5f5f5;

  cursor: pointer;
  transition: 0.3s;
}

.social i:hover {
  background: red;
  color: white;
}

/*======================================
=            RESPONSIVE
======================================*/

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  /* Hide left side completely */
  .left {
    display: none;
  }

  /* Form occupies full screen */
  .right {
    width: 100%;
    min-height: 100vh;
    padding: 40px 25px;
  }

  .card {
    width: 100%;
    max-width: 420px;
  }

  .card h3 {
    font-size: 34px;
  }
}

/*======================================
=          REGISTER MODAL
======================================*/

.register-modal {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.5);

  display: none;

  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.register-box {
  width: 500px;

  background: white;

  padding: 40px;

  border-radius: 30px;
}

.close {
  float: right;

  font-size: 25px;

  cursor: pointer;
}

.register-box h2 {
  margin-bottom: 30px;
}

.choice {
  display: flex;
  align-items: center;

  gap: 20px;

  padding: 25px;

  background: #f5f5f5;

  border-radius: 20px;

  margin-top: 20px;

  cursor: pointer;

  transition: 0.3s;
}

.choice:hover {
  background: #ffe7e7;
}

.choice i {
  font-size: 30px;

  color: red;
}
