@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");
@import url("https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css");

:root {
  --primary-color: #5560a9;
  --secondary-color: #3b4269;
  --text-color-light: #f0f2f5;
  --text-color-dark: #2c3e50;
  --input-bg: #4c527f;
  --button-bg: #4a548c;
  --button-hover-bg: #5a659e;
  --shadow: rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  /* Perubahan background menjadi gradien */
  background-image: linear-gradient(to right, #0e6e9f 0%, #02b3ff 45%);
  color: var(--text-color-light);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

.login-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  /* Background container dibuat transparan */
  background: transparent;
}

.left-section {
  flex: 1.5;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(31, 43, 72, 0.5), rgba(44, 62, 80, 0.5));
}

.left-section .content {
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* Menengahkan semua elemen anak secara horizontal */
}

.left-section .welcome-text {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.left-section .logo {
  display: flex;
  align-items: baseline;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}

.left-section .logo-text {
  color: var(--text-color-light);
}

.left-section .portal-text {
  font-size: 1.5rem;
  margin-left: 0.5rem;
  letter-spacing: 2px;
}

.left-section .tagline {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 400;
}

.left-section .description {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #b0c4de;
}

.right-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  background: rgba(44, 62, 80, 0.5);
  backdrop-filter: blur(10px);
}

.login-box {
  background-color: #fff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.login-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.input-group {
  margin-bottom: 1.5rem;
  text-align: left;
  position: relative;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.input-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--text-color-light);
  border: 1px solid transparent;
  border-radius: 8px;
  /* color: var(--text-color-light); */
  font-size: 1rem;
  /* cursor: pointer; */
  transition: border-color 0.3s ease;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 75%;
  transform: translateY(-50%);
  cursor: pointer;
}

.password-toggle i {
  font-size: 1.2rem;
  color: #b0c4de;
}

.login-button {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--button-bg);
  border: none;
  border-radius: 8px;
  color: var(--text-color-light);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.login-button:hover {
  background-color: var(--button-hover-bg);
}

.forgot-password {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: var(--primary-color);
}

.signup-link {
  margin-top: 2rem;
  font-size: 0.9rem;
}

.signup-link span {
  color: var(--primary-color);
}

.signup-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.signup-link a:hover {
  color: #7d8ac6;
}
.logo-image {
  width: 100px; /* Atur lebar gambar menjadi 100px */
  height: auto; /* Biarkan tinggi menyesuaikan proporsional */
  margin-bottom: 10px; /* Tambahkan jarak di bawah gambar */
}

.login-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
}

.login-card img.logo {
  display: block;
  margin: 0 auto 1rem auto;
  max-height: 80px;
}

.login-card h3 {
  margin-bottom: 0.5rem;
  text-align: center;
  color: #0b2545;
}
