/* Ponpes Orenz Mobile — mobile-first */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f1f5f9; color: #1e293b; min-height: 100vh;
}

/* Header gradient */
.hero {
  background: linear-gradient(135deg, #0f766e, #115e59);
  color: #fff; padding: 24px 20px 48px; border-radius: 0 0 28px 28px;
}
.hero-top { display: flex; align-items: center; gap: 14px; max-width: 560px; margin: 0 auto; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; border: 2px solid rgba(255,255,255,.5);
}
.hello { flex: 1; }
.salam { font-size: 13px; opacity: .85; }
.name { font-size: 19px; font-weight: 700; }
.badge {
  display: inline-block; margin-top: 6px; background: #f59e0b; color: #451a03;
  font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px;
}
.back { color: #fff; font-size: 26px; text-decoration: none; padding: 4px 10px 4px 0; }

.content { max-width: 560px; margin: -26px auto 0; padding: 0 16px 40px; }
.hint { color: #475569; font-size: 14px; margin: 0 4px 14px; }

/* Grid tombol menu */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile {
  background: #fff; border-radius: 16px; padding: 20px 12px; text-align: center;
  text-decoration: none; color: inherit; box-shadow: 0 2px 8px rgba(15,23,42,.06);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .08s ease; border: 1px solid #e2e8f0;
}
.tile:active { transform: scale(.96); }
.tile-icon { font-size: 34px; }
.tile-title { font-size: 14px; font-weight: 600; color: #0f172a; }

/* Login */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: linear-gradient(160deg, #0f766e, #134e4a); }
.login-card { background: #fff; border-radius: 24px; padding: 32px 24px; width: 100%; max-width: 380px; text-align: center; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.logo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 10px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.login-card h1 { font-size: 22px; margin-top: 8px; color: #134e4a; }
.sub { color: #64748b; font-size: 13px; margin: 4px 0 20px; }
.login-card input {
  width: 100%; padding: 14px; margin-bottom: 12px; border: 1.5px solid #cbd5e1;
  border-radius: 12px; font-size: 16px; outline: none;
}
.login-card input:focus { border-color: #0f766e; }
.login-card button, .btn-logout, .btn-back {
  width: 100%; padding: 14px; border: 0; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer;
}
.login-card button { background: #0f766e; color: #fff; }
.foot { margin-top: 14px; font-size: 12px; color: #94a3b8; }
.alert {
  background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; padding: 10px 14px;
  border-radius: 10px; font-size: 14px; margin-bottom: 14px; text-align: left;
}

/* Logout & kembali */
.logout { margin-top: 20px; }
.btn-logout { background: #f1f5f9; color: #b91c1c; border: 1.5px solid #fecaca; }
.btn-back { background: #e2e8f0; color: #0f172a; display: block; text-align: center; text-decoration: none; margin-top: 16px; }

/* Halaman info menu */
.card-info {
  background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 2px 8px rgba(15,23,42,.06);
  border: 1px solid #e2e8f0;
}
.info-text { font-size: 15px; line-height: 1.7; white-space: normal; }
.tile-link { display: inline-block; margin-top: 14px; background: #0f766e; color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px; }
.empty { grid-column: 1 / -1; color: #64748b; font-size: 14px; text-align: center; padding: 20px 0; }
