/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #ffffff;
  font-family: "Roboto", sans-serif;
  color: #1c1e21;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container Utama */
.container {
  width: 100%;
  max-width: 1400px; /* Diperbesar agar pas di layar lebar */
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px 40px 20px 40px; /* Jarak atas/header dipangkas agar naik */
}

.container-body {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex: 1;
  align-items: center;
  padding: 10px 0;
}

/* ================= CONTAINER LEFT ================= */
.container-body-left {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding-right: 50px;
}

/* Logo Top Left (Jarak Atas Rapat) */
.logo-wrapper {
  margin-bottom: 20px;
}

.main-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* Wrapper Teks & Kotak Gambar */
.left-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: auto 0;
}

/* Judul Teks Kiri (Diperbesar) */
.hero-text h1 {
  font-family: "Prompt", sans-serif;
  font-size: 64px; /* Diperbesar dari 52px */
  line-height: 1.05;
  color: #000000;
  font-weight: 700;
}

.hero-text .blue-text {
  color: #1877f2;
}

/* Area Gambar PNG (Diperbesar agar Pas & Tidak Kekecilan) */
.image-box {
  width: 100%;
  max-width: 500px; /* Diperbesar dari 420px */
  height: 500px; /* Diperbesar dari 420px */
  background-color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

/* Gambar PNG di dalam Kotak Biru */
.hero-png {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= CONTAINER RIGHT ================= */
.container-body-right {
  flex: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid #e4e6eb;
  padding-left: 50px;
  height: 80%;
}

.login-card {
  width: 100%;
  max-width: 420px; /* Diperbesar dari 380px */
  display: flex;
  flex-direction: column;
}

.login-card h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
}

.login-card form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #dddfe2;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
}

input:focus {
  border-color: #1877f2;
  box-shadow: 0 0 0 3px #e7f3ff;
}

#login {
  background-color: #1877f2;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 5px;
  transition: background-color 0.2s;
}

#login:hover {
  background-color: #166fe5;
}

#frgotpass {
  color: #1877f2;
  font-size: 15px;
  text-align: center;
  margin-top: 18px;
}

#frgotpass:hover {
  text-decoration: underline;
}

#hr1 {
  border: none;
  border-top: 1px solid #dadde1;
  margin: 24px 0;
}

#crtnewacc {
  background-color: transparent;
  color: #1877f2;
  border: 1.5px solid #1877f2;
  border-radius: 24px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  align-self: center;
  transition: background-color 0.2s;
}

#crtnewacc:hover {
  background-color: #f0f7ff;
}

/* ================= FOOTER ================= */
.container-footer {
  padding-top: 15px;
  border-top: 1px solid #e4e6eb;
  text-align: center;
}

#p1 {
  color: #8a8d91;
  font-size: 13px;
}

/* ================= RESPONSIVE DESIGN ================= */
@media screen and (max-width: 1100px) {
  .hero-text h1 {
    font-size: 48px;
  }

  .image-box {
    max-width: 380px;
    height: 380px;
  }
}

@media screen and (max-width: 900px) {
  .container {
    padding: 15px 20px;
  }

  .container-body {
    flex-direction: column;
    gap: 40px;
  }

  .container-body-left {
    padding-right: 0;
    width: 100%;
  }

  .left-content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .image-box {
    max-width: 100%;
    height: 320px;
  }

  .container-body-right {
    border-left: none;
    padding-left: 0;
    width: 100%;
    height: auto;
  }
}
