body {
      background: linear-gradient(45deg, #6CC1E1, #F8A2E2);
      font-family: Arial, sans-serif;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .container {
    display: flex;
    justify-content: space-between;
    width: 60%;
    max-width: 1200px;
    height: 600px; /* Kurangi tinggi container */
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Pastikan tidak ada yang keluar dari container */
}


  .form-container {
      width: 50%;
      padding: 40px;
      border-radius: 20px 0 0 20px;
  }

  .logo {
      font-size: 34px;
      font-weight: bold;
      color: #ff74e8;
      margin-bottom: 20px;
  }

  .logo img {
      width: 50%;
  }

  .login {
      margin-bottom: 10px;
  }

  h2 {
      font-size: 15px;
      color: #000000;
  }

  h1 {
      font-weight: bold;
      color: #000000;
      margin-bottom: -10px;
  }


  .input-field {
      margin-top: 20px;
      margin-bottom: 20px;
  }

  .label-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .forgot-password {
      font-size: 12px;
      color: #575757;
      text-decoration: none;
  }

  .forgot-password:hover {
      text-decoration: underline;
  }

  .mb-3 label {
      display: block;
      font-size: 14px;
      color: #555;
  }

  .mb-3 input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid rgb(113, 172, 192);
    border-radius: 5px;
    background-color: #b6dbe7;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    transform-origin: left;
  }

  .mb-3 input:focus {
    border-color: #1a73e8;
    background-color: #d2e3fc;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.2);
    outline: none;
}
.mb-3 label {
    display: block;
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
    position: relative;
}

.mb-3 input:focus + label,
.mb-3 input:not(:placeholder-shown) + label {
    color: #1a73e8;
    transform: translateY(-25px) scale(0.9);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0px);
    }
}
.mb-3 input:focus {
    animation: float 4s ease-in-out infinite;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.mb-3 input:invalid:not(:placeholder-shown) {
    animation: shake 0.3s ease-in-out;
    border-color: #ff74e8;
}

@keyframes typing {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.mb-3 input:focus {
    background-image: linear-gradient(
        120deg,
        #b6dbe7 0%,
        #d2e3fc 50%,
        #b6dbe7 100%
    );
    background-size: 200% 100%;
    animation: typing 2s linear infinite;
}

  button {
      width: 30%;
      padding: 12px;
      background-color: #ff74e8;
      border: none;
      border-radius: 10px;
      font-size: 16px;
      color: white;
      cursor: pointer;
      display: block;
      margin: 20px auto; /* Tengah-kan tombol */
  }


  button:hover {
      background-color: #e752ce;
  }

  .join {
      font-size: 14px;
      color: #1a73e8;
      font-weight: 100;
      margin: 20px 0;
      text-align: center;
  }

  .social-login {
      display: flex;
      justify-content: space-around;
      margin-top: -20px;
  }

  .social-btn {
      padding: 0px;
      border-radius: 30px;
      font-size: 14px;
      cursor: pointer;
  }

  .social-btn.google {
      background-color: #ffffff;
      border: 1px solid rgb(77, 77, 77);
      color: #333;
      padding: 10px;
      width: 100px;
  }

  .social-btn.github {
      background-color: #ffffff;
      border: 1px solid rgb(77, 77, 77);
      color: #333;
      padding: 10px;
      width: 100px;
  }

  .social-btn.facebook {
      background-color: #ffffff;
      border: 1px solid rgb(77, 77, 77);
      color: #333;
      padding: 0px;
      width: 100px;
  }

  .social-btn.google img {
      width: 20px;
  }

  .social-btn.github img {
      width: 35px;
  }

  .social-btn.facebook img {
      width: 40px;
  }


  .image-container {
      width: 30%;
      margin-left: 100px;
      margin-right: -15px;
      background-color: #b6dbe7;
      border-radius: 20px 20px 20px 20px;
  }

  .image-container img {
      width: 100%;
      margin-top: 100%;
      margin-left: -40%;
      transform: translateY(-50%); /* Menjaga posisi vertikal gambar tetap di tengah */
  }

  /* Media Query untuk Responsif pada Mobile */
  @media (max-width: 500px) {
    body {
        padding: 15px;
        height: auto;
        min-height: 100vh;
    }

    .container {
        width: 100%;
        height: auto;
        min-height: 600px;
        margin: 0;
        flex-direction: column;
        border-radius: 16px;
    }

    .form-container {
        width: 100%;
        padding: 24px;
        order: 2;
        border-radius: 0;
    }

    .logo {
        font-size: 28px;
        margin-bottom: 24px;
        text-align: center;
    }

    h2 {
        font-size: 16px;
        text-align: center;
        margin-bottom: 8px;
    }

    .login {
        font-size: 24px;
        text-align: center;
        margin-bottom: 24px;
    }

    .mb-3 {
        margin-bottom: 20px !important;
    }

    .mb-3 label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .mb-3 input {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        border-radius: 8px;
        background-color: #f0f7f9;
    }

    .label-container {
        margin-bottom: 6px;
    }

    .forgot-password {
        font-size: 13px;
    }

    button {
        width: 100%;
        padding: 14px;
        margin: 24px 0;
        font-size: 16px;
        border-radius: 8px;
    }

    .image-container {
        width: 100%;
        height: 200px;
        margin: 0;
        margin-top: 10px;
        order: 1;
        border-radius: 16px 16px 0 0;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .image-container img {
        width: auto;
        height: 180px;
        margin: 0;
        transform: none;
        object-fit: contain;
    }

    /* Peningkatan UX untuk mobile */
    input:focus {
        box-shadow: 0 0 0 2px #ff74e8;
        outline: none;
    }

    button:active {
        transform: scale(0.98);
    }

    .forgot-password:active {
        opacity: 0.7;
    }
}