* {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  height: 100vh;
  background: #f4f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 800px;
  max-width: 95%;
  height: 420px;
  display: flex;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

/* ===== FORM ===== */
.login-box {
  flex: 1;
  padding: 40px;
}

.login-box h2 {
  margin-bottom: 20px;
}

.login-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.login-box button {
  width: 100%;
  padding: 12px;
  background: #1abc9c;
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.login-box button:hover {
  background: #16a085;
}

.error {
  background: #ffe6e6;
  color: #c0392b;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* ===== PANEL KANAN ===== */
.welcome-box {
  flex: 1;
  background: linear-gradient(135deg, #1abc9c, #16a085);
  color: #fff;
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.welcome-box h2 {
  margin-bottom: 15px;
}

.welcome-box p {
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
  }

  .welcome-box {
    order: -1;
    padding: 30px;
  }
}


/* ===== LOGO SIT ===== */
.logo {
  text-align: center;
  margin-bottom: 15px;
}

.logo img {
  width: 90px;
  height: auto;
}
.logo h3 {
  margin-top: 8px;
  font-size: 16px;
  color: #16a085;
  font-weight: 600;
}

/* ===== LOGO RESPONSIVE (HP) ===== */
@media (max-width: 600px) {
  .logo img {
    width: 70px;      /* perkecil logo di HP */
  }
}
