/* ======================================================
   BASE.CSS – Struktur utama & tombol umum
   ====================================================== */

/* 🌤️ Tampilan dasar */
html, body {
  font-size: 1rem;
  height: 100% !important;
  background: linear-gradient(to bottom, #eeeeee, #cccccc) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

body {
  font-family: sans-serif;
  padding: 30px;
  margin: 0;
  color: #222;
  top: 0 !important;
}

body.loaded { opacity: 1; }
body, button, input, textarea, select, label {
  font-size: inherit;
}

/* Tambah ruang ekstra di bawah halaman */
body::after {
  content: "";
  display: block;
  height: 30px;
}

/* Container utama */
.container {
  max-width: 500px;
  margin: auto;
  background: #f2f2f2;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  text-align: center;
}

/* Logo & header */
img.logo {
  width: 100px;
  border-radius: 50%;
  margin: 15px 0;
}

h1 {
  font-size: 20px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  max-width: 420px;
  text-align: center;
}

h1 a {
  color: #222;
  text-decoration: none;
}
h1 a:hover { text-decoration: underline; }

/* Paragraf */
p {
  color: #444;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  max-width: 420px;
  text-align: center;
}
p em {
  font-size: 0.9rem;
  color: #555;
}

/* 🔘 Tombol umum */
.btn {
  display: block;
  margin: 8px auto;
  padding: 12px 20px;
  background: #fff;
  color: #222;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #bbb;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 420px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 16px;
}

.btn:hover {
  background: #e6e6e6;
  scale: 1.03; /* lebih aman daripada transform: scale() */
}

/* Footer */
footer {
  margin-top: 30px;
  font-size: 0.75rem;
  color: #666;
  margin-left: auto;
  margin-right: auto;
  max-width: 420px;
  text-align: center;
}

/* Google Translate fix */
.goog-te-banner-frame.skiptranslate { display: none !important; }
.goog-te-gadget-icon { display: none !important; }

/* Cegah browser kecilkan teks otomatis */
html { -webkit-text-size-adjust: 100%; }