/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  animation: fadeIn 1s ease-in-out;
}

/* Animasi keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Layout utama */
.container {
  display: flex;
  height: 100vh;
}

/* ===================
   BAGIAN KIRI
=================== */
.left {
  flex-basis: 65%;
  position: relative;
  background: url("img/bgl.png") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2); /* efek soft */
}

.branding {
  position: relative;
  text-align: center;
  z-index: 1;
  animation: zoomIn 1.2s ease-out;
}

.branding .logos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.branding .logos img {
  height: 80px;
}

.logo-suspin {
  width: 500px;
  max-width: 95%;
  margin-bottom: 15px;
}

.branding h2 {
  font-size: 22px;
  color: #333;
  font-weight: 600;
}

/* ===================
   BAGIAN KANAN
=================== */
.right {
  flex-basis: 35%;
  background: url("img/bgrb.png") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-box {
  width: 100%;
  max-width: 350px;
  padding: 30px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  animation: slideInRight 1s ease-out;
}

.login-box .mini-logo {
  width: 120px;
  display: block;
  margin: 0 auto 15px;
}

.login-box h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

/* Form */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #444;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus {
  border-color: #009688;
  box-shadow: 0 0 5px rgba(0,150,136,0.5);
}

/* Tombol */
.btn {
  width: 100%;
  padding: 12px;
  border: none;
  background: #009688;
  color: white;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #00796b;
  transform: scale(1.03);
}
.password-wrapper {
  position: relative;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding: 10px 40px 10px 10px; /* space kanan untuk ikon */
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
  transition: 0.3s;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #666;
  user-select: none;
}

.toggle-password:hover {
  color: #009688;
}
