/* Reset & font */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f3f4f6;
}

/* Overlay dengan background image */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
    url("../img/landing_page.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Box modal */
.modal {
  background: #fff;
  width: 100%;
  max-width: 380px;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  animation: fadeIn 0.3s ease;
}

/* Animasi masuk */
@keyframes fadeIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Heading */
h2 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 1.4rem;
}

p.lead {
  text-align: center;
  color: #6b7280;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: 0.2s;
}

input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
  outline: none;
}

button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #1d4ed8;
}

/* Error message */
.error-msg {
  text-align: center;
  font-size: 0.85rem;
  color: #dc2626;
  margin-bottom: 10px;
}

/* Link daftar */
.login-link {
  margin-top: 14px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

.login-link a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.login-link a:hover {
  text-decoration: underline;
}
