* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #f5f8fc;
  color: #17324f;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.mp-app {
  --blue: #1555a2;
  --blue-dark: #0d3c80;
  --navy: #08285e;
  --orange: #ff7200;
  --green: #138a5b;
  --red: #c33d3d;
  --purple: #7357b5;
  --border: #e1e7ef;
  --muted: #718196;
}

.mp-login-view {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    linear-gradient(
      135deg,
      #08285e,
      #1555a2
    );
}

.mp-login-card {
  display: grid;
  grid-template-columns:
    minmax(300px, .9fr)
    minmax(320px, 1fr);
  width: min(880px, 100%);
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 30px 90px rgba(0,0,0,.25);
}

.mp-login-brand {
  padding: 42px 38px;
  background: #f5f8fc;
}

.mp-logo {
  width: 220px;
  height: auto;
  object-fit: contain;
}

.mp-login-brand > span {
  display: block;
  margin-top: 30px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.mp-login-brand h1 {
  margin: 7px 0 10px;
  color: var(--navy);
  font-size: 32px;
}

.mp-login-brand p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.mp-login-form {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 42px 38px;
}

.mp-login-form label,
.mp-form label {
  display: grid;
  gap: 7px;
  color: #36506d;
  font-size: 12px;
  font-weight: 700;
}

.mp-login-form input,
.mp-form input,
.mp-form select,
.mp-form textarea,
.mp-filter-row input,
.mp-filter-row select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d6e0eb;
  border-radius: 10px;
  background: #fff;
  color: #17324f;
  outline: none;
}

.mp-btn {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  font-weight: 750;
  text-decoration: none;
}

.mp-btn-primary {
  background: var(--blue);
  color: #fff;
}

.mp-btn-primary:hover {
  background: var(--blue-dark);
}

.mp-btn-outline {
  border: 1px solid #d7e1ec;
  background: #fff;
  color: var(--blue-dark);
}

.mp-btn-disabled {
  background: #edf1f5;
  color: #7f8c99;
  cursor: not-allowed;
}

.mp-btn-wide {
  width: 100%;
}

.mp-btn-small {
  min-height: 31px;
  padding: 0 10px;
  font-size: 11px;
}

.mp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.mp-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  max-width: 1540px;
  margin: 0 auto;
  padding: 11px 28px;
}

.mp-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.mp-brand img {
  width: 112px;
  height: 38px;
  object-fit: contain;
}

.mp-brand strong,
.mp-brand span {
  display: block;
}

.mp-brand strong {
  color: var(--navy);
}

.mp-brand span {
  color: var(--muted);
  font-size: 10px;
}

.mp-nav {
  display: flex;
  gap: 3px;
  justify-content: center;
}

.mp-nav button {
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4d627a;
  font-size: 12px;
  font-weight: 750;
}

.mp-nav button.is-active,
.mp-nav button:hover {
  background: #edf5ff;
  color: var(--blue);
}

.mp-account {
  display: flex;
  gap: 11px;
  align-items: center;
}

.mp-account > div {
  text-align: right;
}

.mp-account strong,
.mp-account span {
  display: block;
}

.mp-account strong {
  color: var(--navy);
  font-size: 12px;
}

.mp-account span {
  color: var(--muted);
  font-size: 10px;
}

.mp-menu-toggle {
  display: none;
}

.mp-main {
  max-width: 1540px;
  margin: 0 auto;
  padding: 26px 28px 50px;
}

.mp-hero {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: center;
  padding: 29px 31px;
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      var(--blue-dark),
      var(--blue)
    );
  color: #fff;
}

.mp-eyebrow,
.mp-page-heading > div > span,
.mp-panel-heading > div > span,
.mp-modal-dialog header span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.mp-hero h1 {
  margin: 6px 0 9px;
  font-size: 30px;
}

.mp-hero p {
  max-width: 760px;
  margin: 0;
  line-height: 1.65;
  opacity: .9;
}

.mp-member-card {
  min-width: 230px;
  padding: 17px 19px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 13px;
  background: rgba(255,255,255,.09);
}

.mp-member-card span,
.mp-member-card strong,
.mp-member-card small {
  display: block;
}

.mp-member-card span,
.mp-member-card small {
  opacity: .75;
  font-size: 10px;
}

.mp-member-card strong {
  margin: 5px 0;
}

.mp-summary-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 17px 0;
}

.mp-summary-3 {
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
}

.mp-summary-grid article {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fff;
}

.mp-summary-grid span {
  color: var(--muted);
  font-size: 11px;
}

.mp-summary-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 25px;
}

.mp-dashboard-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(320px, .7fr);
  gap: 17px;
}

.mp-panel {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fff;
}

.mp-panel-heading,
.mp-page-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.mp-panel-heading {
  padding: 17px 18px;
  border-bottom: 1px solid var(--border);
}

.mp-page-heading {
  margin-bottom: 17px;
}

.mp-page-heading h1,
.mp-panel-heading h2 {
  margin: 4px 0;
  color: var(--navy);
}

.mp-page-heading p,
.mp-panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.mp-page-heading > div > span,
.mp-panel-heading > div > span {
  color: var(--blue);
}

.mp-card-list,
.mp-service-mini-list {
  padding: 13px;
}

.mp-schedule-card {
  padding: 16px;
  border: 1px solid #e3e9f1;
  border-radius: 13px;
  background: #fff;
}

.mp-card-list .mp-schedule-card +
.mp-schedule-card {
  margin-top: 10px;
}

.mp-schedule-card.is-compact {
  padding: 13px;
}

.mp-schedule-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.mp-schedule-top > span:first-child {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
}

.mp-schedule-card h3 {
  margin: 7px 0;
  color: var(--navy);
  font-size: 16px;
}

.mp-schedule-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.mp-schedule-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #607389;
  font-size: 10px;
}

.mp-schedule-info {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.mp-schedule-info span {
  padding: 8px;
  border-radius: 8px;
  background: #f6f8fb;
  color: var(--muted);
  font-size: 10px;
}

.mp-schedule-info strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 11px;
}

.mp-schedule-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.mp-service-mini {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #e4e9ef;
  border-radius: 10px;
  background: #fff;
  text-align: left;
}

.mp-service-mini +
.mp-service-mini {
  margin-top: 8px;
}

.mp-service-mini strong,
.mp-service-mini span {
  display: block;
}

.mp-service-mini strong {
  color: var(--navy);
  font-size: 12px;
}

.mp-service-mini div > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.mp-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.mp-tabs button {
  padding: 9px 13px;
  border: 1px solid #dce4ed;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 750;
}

.mp-tabs button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.mp-schedule-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.mp-table-wrap {
  overflow-x: auto;
}

.mp-table {
  width: 100%;
  border-collapse: collapse;
}

.mp-table th {
  padding: 12px 13px;
  border-bottom: 1px solid var(--border);
  background: #f7f9fc;
  color: #62758d;
  text-align: left;
  font-size: 10px;
  white-space: nowrap;
}

.mp-table td {
  padding: 12px 13px;
  border-bottom: 1px solid #edf1f5;
  vertical-align: middle;
  font-size: 12px;
}

.mp-table td small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.mp-badge {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef2f6;
  color: #526579;
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.mp-badge-aktif,
.mp-badge-hadir,
.mp-badge-selesai,
.mp-badge-disetujui {
  background: #e8f8f1;
  color: var(--green);
}

.mp-badge-baru,
.mp-badge-menunggu,
.mp-badge-terdaftar,
.mp-badge-belum-hadir {
  background: #fff4df;
  color: #9c6500;
}

.mp-badge-dibaca {
  background: #eaf3ff;
  color: var(--blue);
}

.mp-badge-diproses {
  background: #f1edff;
  color: var(--purple);
}

.mp-badge-ditolak,
.mp-badge-dibatalkan,
.mp-badge-tidak-hadir {
  background: #fff0f0;
  color: var(--red);
}

.mp-filter-row {
  display: grid;
  grid-template-columns:
    minmax(280px, 1fr)
    190px
    160px;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.mp-response-ready {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.mp-muted {
  color: var(--muted);
  font-size: 10px;
}

.mp-document-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.mp-document-card {
  padding: 17px;
  border: 1px solid #e3e9f1;
  border-radius: 12px;
}

.mp-document-card > span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
}

.mp-document-card h3 {
  margin: 6px 0;
  color: var(--navy);
}

.mp-document-card p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 11px;
}

.mp-profile {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 20px;
}

.mp-profile-photo {
  display: flex;
  width: 130px;
  height: 160px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 13px;
  background: #eaf0f6;
  color: var(--blue);
  font-weight: 900;
}

.mp-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-profile-content h2 {
  margin: 0;
  color: var(--navy);
}

.mp-profile-number {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font-weight: 800;
}

.mp-profile-grid,
.mp-detail-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
}

.mp-profile-grid article,
.mp-detail-grid > div {
  padding: 10px;
  border: 1px solid #e3e9f0;
  border-radius: 9px;
}

.mp-profile-grid span,
.mp-detail-grid span,
.mp-detail-box span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
}

.mp-profile-grid strong,
.mp-detail-grid strong {
  font-size: 11px;
}

.mp-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
}

.mp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4,18,42,.72);
  backdrop-filter: blur(5px);
}

.mp-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(720px, calc(100% - 30px));
  max-height: calc(100vh - 30px);
  margin: 15px auto;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}

.mp-modal-dialog header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 19px;
  border-bottom: 1px solid var(--border);
}

.mp-modal-dialog header span {
  color: var(--blue);
}

.mp-modal-dialog header h2 {
  margin: 4px 0 0;
  color: var(--navy);
}

.mp-modal-dialog header > button {
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 9px;
  background: #f0f4f8;
  font-size: 24px;
}

.mp-modal-body {
  overflow-y: auto;
  padding: 18px 19px;
}

.mp-form {
  display: grid;
  gap: 14px;
}

.mp-form-note {
  padding: 10px 12px;
  border-radius: 9px;
  background: #fff7e8;
  color: #8a6100;
  font-size: 11px;
  line-height: 1.5;
}

.mp-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.mp-service-detail {
  display: grid;
  gap: 13px;
}

.mp-service-detail-top {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mp-detail-box {
  padding: 13px;
  border: 1px solid #e4e9ef;
  border-radius: 10px;
}

.mp-detail-box p {
  margin: 0;
  line-height: 1.65;
  white-space: pre-wrap;
}

.mp-detail-box.is-response {
  border-color: #cfeadd;
  background: #f1faf6;
}

.mp-empty {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.mp-loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,22,48,.48);
  backdrop-filter: blur(3px);
}

.mp-loader-card {
  display: flex;
  gap: 13px;
  min-width: 320px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}

.mp-loader-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.mp-spinner {
  width: 27px;
  height: 27px;
  border: 3px solid #dce6f1;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: mp-spin .7s linear infinite;
}

@keyframes mp-spin {
  to {
    transform: rotate(360deg);
  }
}

.mp-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9200;
  max-width: 430px;
  padding: 12px 15px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 15px 40px rgba(0,0,0,.18);
}

.mp-toast.is-success {
  background: var(--green);
}

.mp-modal-open {
  overflow: hidden;
}

@media (max-width: 1000px) {
  .mp-header-inner {
    grid-template-columns:
      auto auto 1fr;
  }

  .mp-menu-toggle {
    display: block;
    justify-self: end;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: #eef4fa;
  }

  .mp-nav {
    position: absolute;
    top: 66px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
  }

  .mp-nav.is-open {
    display: flex;
  }

  .mp-account {
    grid-column: 3;
    grid-row: 1;
  }

  .mp-dashboard-grid,
  .mp-schedule-grid {
    grid-template-columns: 1fr;
  }

  .mp-summary-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .mp-document-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .mp-login-card {
    grid-template-columns: 1fr;
  }

  .mp-login-brand {
    padding: 28px 24px;
  }

  .mp-login-form {
    padding: 28px 24px;
  }

  .mp-header-inner {
    padding: 10px 16px;
  }

  .mp-brand div {
    display: none;
  }

  .mp-brand img {
    width: 96px;
  }

  .mp-account > div {
    display: none;
  }

  .mp-main {
    padding: 18px 16px 40px;
  }

  .mp-hero,
  .mp-page-heading,
  .mp-panel-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .mp-member-card {
    width: 100%;
    min-width: 0;
  }

  .mp-summary-grid,
  .mp-summary-3,
  .mp-document-grid,
  .mp-profile-grid,
  .mp-detail-grid,
  .mp-filter-row {
    grid-template-columns: 1fr;
  }

  .mp-profile {
    grid-template-columns: 1fr;
  }

  .mp-schedule-info {
    grid-template-columns: 1fr;
  }
}
\n\n.mp-field-help {\n  display: block;\n  margin-top: 2px;\n  color: var(--muted);\n  font-size: 10px;\n  font-weight: 500;\n}\n\n.mp-form input[type=\"file\"] {\n  padding: 9px;\n  background: #f8fafc;\n}\n

/* =========================================================
   PORTAL ANGGOTA V3 - EDIT PROFIL & PAS FOTO
   ========================================================= */

.mp-profile-edit-photo {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e3e9f1;
  border-radius: 12px;
  background: #f8fafc;
}

.mp-profile-edit-photo-preview {
  display: flex;
  width: 105px;
  height: 130px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 11px;
  background: #eaf0f6;
  color: var(--blue);
  font-weight: 900;
}

.mp-profile-edit-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-profile-edit-photo strong {
  color: var(--navy);
}

.mp-profile-edit-photo p {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 11px;
}

.mp-profile-edit-photo input[type="file"] {
  display: block;
  width: 100%;
  margin-bottom: 9px;
  padding: 9px;
  border: 1px solid #d6e0eb;
  border-radius: 9px;
  background: #fff;
}

.mp-profile-edit-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mp-profile-edit-grid label {
  display: grid;
  gap: 6px;
  color: #36506d;
  font-size: 12px;
  font-weight: 700;
}

.mp-profile-edit-grid input,
.mp-profile-edit-grid textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #d6e0eb;
  border-radius: 9px;
  background: #fff;
  color: #17324f;
  outline: none;
  resize: vertical;
}

.mp-profile-edit-grid input:disabled {
  background: #f1f4f7;
  color: #7a8897;
}

.mp-profile-span-2 {
  grid-column: span 2;
}

.mp-form-note.is-info {
  background: #edf5ff;
  color: #315d8c;
}

.mp-field-help {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

@media (max-width: 680px) {
  .mp-profile-edit-photo,
  .mp-profile-edit-grid {
    grid-template-columns: 1fr;
  }

  .mp-profile-span-2 {
    grid-column: auto;
  }

  .mp-profile-edit-photo-preview {
    width: 100%;
    max-width: 160px;
    height: 190px;
  }
}


/* =========================================================
   PORTAL ANGGOTA V4 - BUKTI PEMBAYARAN KEGIATAN
   ========================================================= */

.mp-payment-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.mp-payment-proof-info {
  padding: 13px 14px;
  border: 1px solid #e1e7ef;
  border-radius: 11px;
  background: #f8fafc;
}

.mp-payment-proof-info > span,
.mp-payment-existing > span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
}

.mp-payment-proof-info > strong {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
}

.mp-payment-existing {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  padding: 11px 13px;
  border: 1px solid #dce7f2;
  border-radius: 10px;
  background: #f4f8fd;
}

.mp-payment-existing > span {
  margin: 0;
}

@media (max-width: 680px) {
  .mp-payment-existing {
    align-items: flex-start;
    flex-direction: column;
  }

  .mp-payment-actions {
    min-width: 145px;
  }
}


/* =========================================================
   PORTAL ANGGOTA V5 - STATUS & DETAIL KEGIATAN
   ========================================================= */

.mp-activity-detail {
  display: grid;
  gap: 14px;
}

.mp-activity-detail-head {
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.mp-activity-detail-code {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}

.mp-activity-detail-head h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
}

.mp-activity-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mp-activity-notice {
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.mp-activity-notice.is-neutral {
  border: 1px solid #dfe6ee;
  background: #f5f7fa;
  color: #53677d;
}

.mp-activity-notice.is-success {
  border: 1px solid #bfe3cc;
  background: #effaf3;
  color: #237241;
}

.mp-activity-notice.is-warning {
  border: 1px solid #f2d39b;
  background: #fff8e9;
  color: #8a5c05;
}

.mp-activity-notice.is-danger {
  border: 1px solid #efb6b6;
  background: #fff1f1;
  color: #a23434;
}

.mp-activity-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

@media (max-width: 680px) {
  .mp-activity-detail-actions .mp-btn,
  .mp-activity-detail-actions a.mp-btn {
    width: 100%;
    justify-content: center;
  }
}


/* =========================================================
   PORTAL ANGGOTA V6 - DOKUMEN ANGGOTA
   ========================================================= */

.mp-document-summary {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.mp-document-summary article {
  padding: 14px 16px;
  border: 1px solid #e1e7ef;
  border-radius: 12px;
  background: #fff;
}

.mp-document-summary span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.mp-document-summary strong {
  color: var(--navy);
  font-size: 24px;
}

.mp-document-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 16px;
}

.mp-document-toolbar > div:first-child > span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}

.mp-document-toolbar h2 {
  margin: 3px 0 0;
  color: var(--navy);
  font-size: 18px;
}

.mp-document-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mp-document-filter-button {
  appearance: none;
  padding: 7px 10px;
  border: 1px solid #d8e1eb;
  border-radius: 8px;
  background: #fff;
  color: #58708a;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.mp-document-filter-button:hover,
.mp-document-filter-button.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.mp-document-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 16px;
  border: 1px solid #e1e7ef;
  border-radius: 13px;
  background: #fff;
}

.mp-document-card.is-waiting {
  background: #fbfcfd;
}

.mp-document-card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.mp-document-type {
  color: var(--blue);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .05em;
}

.mp-document-status {
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
  white-space: nowrap;
}

.mp-document-status.is-available {
  background: #eaf8ef;
  color: #21703e;
}

.mp-document-status.is-pending {
  background: #fff5df;
  color: #8a5a00;
}

.mp-document-status.is-unavailable {
  background: #f4e9e9;
  color: #9d3434;
}

.mp-document-icon {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 11px;
  border-radius: 11px;
  background: #edf4fc;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.mp-document-card h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.35;
}

.mp-document-subtitle {
  margin: 0 0 7px;
  color: #63778e;
  font-size: 11px;
}

.mp-document-description {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.mp-document-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  margin-bottom: 10px;
}

.mp-document-meta > span:first-child {
  color: var(--muted);
  font-size: 10px;
}

.mp-document-card-actions {
  margin-top: auto;
  padding-top: 10px;
}

.mp-document-card-actions .mp-btn {
  width: 100%;
  justify-content: center;
}

.mp-document-card-actions .mp-btn:disabled {
  cursor: not-allowed;
  opacity: .6;
}

@media (max-width: 900px) {
  .mp-document-summary {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .mp-document-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .mp-document-summary {
    grid-template-columns: 1fr 1fr;
  }

  .mp-document-summary article {
    padding: 12px;
  }

  .mp-document-filter {
    width: 100%;
  }

  .mp-document-filter-button {
    flex: 1 1 auto;
  }
}
