@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

.mt-title {
  font-family: 'Poppins', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #EF0107;
  margin-bottom: 4px;
}
.mt-underline {
  width: 90px;
  height: 3px;
  background: #EF0107;
  margin-bottom: 24px;
}
.mt-searchbox {
  max-width: 800px;
  margin: 0 auto 20px;
}
.mt-search-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  border: 1px solid #dde2e6;
  border-radius: 10px;
  outline: none;
  background: #fff;
}
.mt-search-input:focus { border-color: #EF0107; }
.mt-hint {
  font-size: 12px;
  color: #9aa2a9;
  margin-top: 8px;
  font-family: 'Poppins', sans-serif;
}
.mt-wrap {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}
.mt-empty {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 30px 20px;
  color: #9aa2a9;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
}
.mt-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
}
.mt-table th {
  text-align: left;
  padding: 16px 20px;
  background: #EF0107;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.mt-table th:first-child { border-top-left-radius: 12px; }
.mt-table th:last-child { border-top-right-radius: 12px; }
.mt-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #eef0f2;
  font-size: 14px;
  color: #2c3e50;
}
.mt-table tr:last-child td { border-bottom: none; }
.mt-table tr:nth-child(even) td { background: #fafbfc; }

.mt-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.badge-aktif    { background: #e3f7ef; color: #2fbf8f; }
.badge-nonaktif { background: #fbe9e8; color: #e0483e; }

.mt-form {
  max-width: 460px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
}
.mt-field { margin-bottom: 16px; }
.mt-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 6px;
}
.mt-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.mt-btn {
  width: 100%;
  padding: 14px;
  background: #EF0107;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.mt-btn:hover { background: #c50106; }
.mt-btn:disabled { opacity: 0.6; cursor: default; }

.mt-msg {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
}
.mt-msg-success { background: #e3f7ef; color: #1f8a63; }
.mt-msg-error   { background: #fbe9e8; color: #c0392b; }

.mt-hero {
  max-width: 800px;
  margin: 0 auto 24px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}
.mt-hero-title {
  font-size: 24px;
  font-weight: 800;
  color: #2c3e50;
}
.mt-hero-sub {
  font-size: 13px;
  color: #9aa2a9;
  margin-top: 6px;
}

.mt-tabs {
  max-width: 800px;
  margin: 0 auto 28px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.mt-tab {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 20px;
  border: 1px solid #EF0107;
  background: #fff;
  color: #EF0107;
  cursor: pointer;
}
.mt-tab.active {
  background: #EF0107;
  color: #fff;
}

.mt-tabpanel {
  max-width: 800px;
  margin: 0 auto;
}

.mt-page-wrap {
  min-height: 70vh;
  padding-bottom: 40px;
}

@media (max-width: 600px) {
  .mt-title { font-size: 20px; }
  .mt-search-input { padding: 11px 14px; font-size: 13px; }

  /* Tampilan kartu: header tabel disembunyikan, tiap baris jadi kartu */
  .mt-wrap { background: transparent; box-shadow: none; border-radius: 0; }
  .mt-table, .mt-table tbody, .mt-table tr, .mt-table td { display: block; width: 100%; }
  .mt-table thead { display: none; }

  .mt-table tr {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 6px 16px;
    margin-bottom: 12px;
  }
  .mt-table tr:nth-child(even) td { background: transparent; }

  .mt-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
  }
  .mt-table tr td:last-child { border-bottom: none; }

  .mt-table td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #9aa2a9;
    text-transform: uppercase;
  }

  .mt-badge { padding: 4px 10px; font-size: 11px; }
}

