@import url('https://fonts.googleapis.com/css2?family=Inknut+Antiqua:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inknut Antiqua', serif;
    line-height: 1.3;
    letter-spacing: 0;
}


body {
  min-height: 100vh;
  background: #1b1b1b;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 90%;
  max-width: 1100px;
  height: 550px;
  background: linear-gradient(
    to bottom,
    #6b5c2e 0%,
    #0f3d34 35%,
    #000000 100%
  );
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

/* Header */
.header {
  position: absolute;
  top: 15px;
  right: 20px;
}

.admin-login {
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.admin-login:hover {
  text-decoration: underline;
}

/* Content */
.content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.welcome {
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 40px;
}

/* Button */
.login-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  background: #e0e0e0;
  color: #000;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.login-btn:hover {
  background: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  .container {
    height: 450px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #0f2e26;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  width: 900px;
  height: 500px;
  display: flex;
  background: linear-gradient(
    to bottom,
    #1f5f4a 0%,
    #143f33 50%,
    #000000 100%
  );
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* LEFT IMAGE */
.login-image {
  width: 50%;
}

.login-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RIGHT FORM */
.login-form {
  width: 50%;
  padding: 40px;
  color: #fff;
}

.logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px auto; /* INI YANG PENTING */
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.login-form h2 {
  font-size: 20px;
  margin-bottom: 30px;
  font-weight: 500;
}

/* INPUT */
.input-group {
  margin-bottom: 15px;
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 14px;
}

.password-group {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

/* OPTIONS */
.options {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 25px;
}

.options a {
  color: #cdeee6;
  text-decoration: none;
}

/* BUTTON */
.btn-login {
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  border: none;
  background: #f5f5f5;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 20px;
}

/* DIVIDER */
.divider {
  text-align: center;
  font-size: 13px;
  color: #cdeee6;
  margin-bottom: 15px;
}

/* SIGN UP */
.signup-text {
  text-align: center;
  font-size: 13px;
}

.login-image {
  position: relative;   /* WAJIB */
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.login-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BUTTON BACK DI ATAS IMAGE */
.back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 5;           /* PASTI DI ATAS GAMBAR */

  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-decoration: none;

  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;

  transition: 0.3s ease;
}

.back-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

.password-group {
  position: relative;
}

.password-group input {
  width: 100%;
  padding-right: 18px; /* ruang buat icon mata */
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  opacity: 0.7;
}

.toggle-password:hover {
  opacity: 1;
}

