:root {
  --ink: #193d35;
  --dark: #10382f;
  --forest: #174c3e;
  --muted: #6f7e76;
  --lime: #d8f19b;
  --cream: #f7f8f3;
  --line: #e1e7df;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 16px 50px rgba(15, 53, 40, 0.08);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    15px/1.65 "Plus Jakarta Sans",
    sans-serif;
}
h1,
h2,
h3,
h4,
strong,
.brand,
.btn {
  font-family: "Plus Jakarta Sans", sans-serif;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h2 {
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1.13;
  letter-spacing: -0.065em;
  font-weight: 700;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
button,
a,
input,
textarea,
select {
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.25s,
    box-shadow 0.25s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #95b98a;
  outline-offset: 3px;
}
.topbar {
  height: 86px;
  padding: 0 clamp(22px, 5vw, 86px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #edf0e9;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.07em;
  white-space: nowrap;
}
.brand-light {
  font-weight: 500;
}
.topbar nav {
  display: flex;
  gap: 36px;
  font-size: 13px;
  font-weight: 700;
}
.topbar nav a:hover {
  color: #5c8d62;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px #0002;
}
.btn-dark {
  background: var(--dark);
  color: white;
}
.btn-lime {
  background: var(--lime);
  color: var(--dark);
}
.btn-quiet {
  background: transparent;
  color: var(--dark);
}
.btn-outline-light {
  border-color: #ffffff80;
  color: #fff;
  background: #ffffff12;
}
.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 23px;
  color: var(--dark);
}
.hero {
  position: relative;
  min-height: 640px;
  height: min(790px, 85vh);
  background: #31564b;
  overflow: hidden;
  color: #fff;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #245343, #839b79);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  animation: heroZoom 16s ease-out both;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 39, 30, 0.83) 0%,
      rgba(10, 43, 32, 0.48) 52%,
      rgba(10, 43, 32, 0.12) 100%
    ),
    linear-gradient(0deg, #082b2259, transparent 40%);
}
@keyframes heroZoom {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}
.hero-content {
  position: relative;
  max-width: 930px;
  padding: clamp(100px, 13vh, 165px) clamp(25px, 9vw, 150px) 120px;
}
.eyebrow {
  font:
    800 11px/1.6 "Plus Jakarta Sans",
    sans-serif;
  letter-spacing: 0.19em;
  color: #538064;
  display: inline-block;
  margin-bottom: 22px;
}
.eyebrow.light {
  color: #e3f5c2;
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 8px;
  box-shadow: 0 0 0 5px #d8f19b30;
}
.hero h1 {
  font-size: clamp(54px, 7.6vw, 116px);
  line-height: 1.02;
  letter-spacing: -0.075em;
  margin-bottom: 24px;
  font-weight: 700;
}
.hero h1 em,
.feature h2 em,
.connect h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.065em;
}
.hero-content p {
  font-size: clamp(16px, 1.7vw, 20px);
  max-width: 510px;
  color: #e4eee6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-bottom {
  position: absolute;
  bottom: 32px;
  left: clamp(25px, 9vw, 150px);
  right: clamp(25px, 9vw, 150px);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #e6f1e4;
}
.section {
  padding: 110px clamp(25px, 8vw, 130px);
}
.intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: end;
}
.intro h2 {
  margin-bottom: 0;
}
.serif {
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
}
.intro-copy {
  max-width: 430px;
}
.intro-copy p {
  font-size: 19px;
  color: #53675b;
  line-height: 1.9;
}
.text-link {
  display: inline-block;
  color: #1b6246;
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid #7a9f82;
  padding-bottom: 7px;
}
.text-link:hover {
  transform: translateX(4px);
}
.stats-wrap {
  padding: 0 clamp(25px, 8vw, 130px);
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #e9eee5;
  border-radius: 25px;
  padding: 38px 28px;
}
.stats > div {
  padding: 5px 25px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-right: 1px solid #cbd7cc;
}
.stats > div:last-child {
  border: 0;
}
.stats strong {
  font-size: clamp(36px, 5vw, 65px);
  letter-spacing: -0.08em;
  line-height: 1.1;
}
.stats span {
  color: #6a7b70;
  font-size: 13px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 35px;
}
.section-head h2 {
  margin-bottom: 0;
}
.section-head > p {
  max-width: 330px;
  color: var(--muted);
  margin: 0;
}
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.chip {
  border: 1px solid #d9e3d8;
  background: transparent;
  color: var(--dark);
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
}
.chip.active,
.chip:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.activity-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e9eee7;
  box-shadow: 0 5px 22px #0a36230a;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}
.activity-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow);
}
.activity-cover {
  height: 245px;
  background: linear-gradient(145deg, #49745a, #a3b99c);
  position: relative;
  overflow: hidden;
}
.activity-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.activity-card:hover img {
  transform: scale(1.06);
}
.activity-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #fff;
  border-radius: 50px;
  padding: 6px 13px;
  font-size: 11px;
  font-weight: 800;
}
.activity-body {
  padding: 24px;
}
.activity-body h3 {
  font-size: 21px;
  letter-spacing: -0.04em;
  line-height: 1.3;
  margin: 8px 0 14px;
}
.activity-meta {
  font-size: 12px;
  color: #718176;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.activity-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}
.activity-foot strong {
  font-size: 15px;
}
.circle-arrow {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: #edf4e5;
  font-size: 21px;
}
.activity-card:hover .circle-arrow {
  background: var(--lime);
  transform: rotate(45deg);
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  background: var(--dark);
  color: #fff;
}
.feature-image {
  min-height: 450px;
  background: linear-gradient(140deg, #648975, #a3b69a);
  background-size: cover;
  background-position: center;
}
.feature-copy {
  padding: clamp(50px, 7vw, 110px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.feature h2 {
  font-size: clamp(42px, 5vw, 74px);
}
.feature p {
  color: #d1e0d6;
  max-width: 430px;
  font-size: 17px;
}
.feature .btn {
  margin-top: 20px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  background: #dce8d9;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img {
  transform: scale(1.09);
}
.gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, #102e2ad9);
  color: white;
  padding: 35px 16px 15px;
  font-size: 13px;
  font-weight: 700;
}
.connect {
  background: #e6f0dc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.connect .eyebrow {
  color: #39734f;
}
.connect h2 {
  font-size: clamp(42px, 5vw, 76px);
}
.connect-heading p {
  max-width: 420px;
  color: #526c59;
}
.connect-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.connect-card {
  background: #fff;
  border: 1px solid #d5e3cf;
  border-radius: 18px;
  padding: 22px 25px;
  text-align: left;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0 15px;
}
.connect-card:hover {
  transform: translateX(7px);
  box-shadow: var(--shadow);
}
.connect-icon {
  grid-row: span 2;
  font-size: 25px;
  background: #e7f2df;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.connect-card strong {
  font-size: 16px;
}
.connect-card > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
footer {
  background: #0c3028;
  color: #fff;
  padding: 60px clamp(25px, 8vw, 130px) 28px;
}
.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-top {
  padding-bottom: 55px;
}
.footer-top .brand-mark {
  background: #d8f19b;
  color: var(--dark);
}
.footer-top p {
  color: #bbd0c3;
}
.footer-bottom {
  border-top: 1px solid #ffffff29;
  padding-top: 25px;
  font-size: 12px;
  color: #adc3b6;
}
.footer-bottom div {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.empty {
  grid-column: 1/-1;
  border: 1px dashed #c9d8c9;
  border-radius: 18px;
  padding: 42px;
  text-align: center;
  color: var(--muted);
  background: #ffffff85;
}
dialog {
  border: 0;
  border-radius: 24px;
  width: min(560px, calc(100% - 28px));
  max-height: 88vh;
  overflow: auto;
  padding: 30px;
  box-shadow: 0 30px 100px #102b2590;
  color: var(--ink);
}
dialog::backdrop {
  background: #0b2e27b8;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 30px;
  letter-spacing: -0.05em;
  margin: 5px 0 14px;
}
dialog p {
  color: var(--muted);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header .eyebrow {
  margin: 0;
}
.icon-button {
  border: 0;
  border-radius: 50%;
  background: #edf2ec;
  width: 35px;
  height: 35px;
}
.form-stack {
  display: grid;
  gap: 15px;
}
.form-stack label,
.field-label {
  font-weight: 700;
  font-size: 12px;
  display: grid;
  gap: 6px;
}
.form-stack input,
.form-stack textarea,
.form-stack select,
.field-input {
  width: 100%;
  border: 1px solid #d9e3d8;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--dark);
  outline: 0;
}
.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus {
  border-color: #629a74;
  box-shadow: 0 0 0 3px #a4c8a844;
}
.form-stack textarea {
  resize: vertical;
  min-height: 110px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-stack .btn {
  width: 100%;
  margin-top: 10px;
}
.note {
  background: #f0f5ec;
  padding: 15px;
  border-radius: 12px;
  font-size: 12px;
  color: #5e7164;
}
.google-signin {
  min-height: 46px;
  margin: 16px 0;
}
.status {
  display: inline-block;
  border-radius: 40px;
  background: #edf2e7;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: capitalize;
  color: #46654b;
}
.status.pending,
.status.new {
  background: #fff1d6;
  color: #9a6720;
}
.status.rejected,
.status.cancelled {
  background: #fbe5e4;
  color: #a23b3b;
}
.status.approved,
.status.published,
.status.verified {
  background: #dff5e4;
  color: #276f41;
}
#toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  background: #153d34;
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: 0.25s;
}
#toast.show {
  opacity: 1;
  transform: translateY(0);
}
.admin-body {
  background: #f5f7f3;
}
.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #10382f;
  color: #d4e6d8;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .brand {
  font-size: 19px;
  color: white;
  margin: 0 8px 50px;
}
.sidebar .brand-mark {
  background: var(--lime);
  color: var(--dark);
}
.sidebar-caption {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #91b2a1;
  margin: 0 12px 16px;
  font-weight: 800;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.side-link {
  width: 100%;
  display: flex;
  gap: 14px;
  align-items: center;
  border: 0;
  background: transparent;
  color: #b8d1c3;
  padding: 12px 14px;
  border-radius: 11px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}
.side-link:hover,
.side-link.active {
  background: #ffffff18;
  color: white;
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 14px;
  padding: 12px;
}
.sidebar-bottom .text-link {
  color: #d8f19b;
}
.admin-main {
  min-width: 0;
}
.admin-header {
  height: 78px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  font-size: 12px;
  color: #7a8a7e;
}
.admin-header strong {
  color: var(--dark);
}
.admin-content {
  padding: 42px clamp(20px, 4vw, 64px);
}
.admin-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.admin-title h1 {
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.2;
  letter-spacing: -0.06em;
  margin: 0 0 8px;
}
.admin-title p {
  color: var(--muted);
  margin: 0;
}
.admin-title .eyebrow {
  margin-bottom: 9px;
}
.admin-panel {
  min-height: 300px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 18px;
}
.metric strong {
  font-size: 42px;
  letter-spacing: -0.06em;
  display: block;
}
.metric span {
  color: var(--muted);
  font-size: 12px;
}
.panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 25px;
  margin-bottom: 20px;
  overflow: auto;
}
.panel-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  min-width: 650px;
}
.data-table th {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #8b9b8f;
  text-transform: uppercase;
  background: #f8faf7;
}
.data-table th,
.data-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #eaf0e9;
  vertical-align: middle;
}
.data-table tr:last-child td {
  border: 0;
}
.data-table td strong {
  display: block;
}
.data-table td small {
  color: #8a9b8f;
}
.mini-btn {
  border: 1px solid #d7e4d8;
  background: #fff;
  color: var(--dark);
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 700;
}
.mini-btn:hover {
  background: #eaf4e5;
}
.danger {
  color: #b13c3c;
}
.admin-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.admin-tools input,
.admin-tools select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  min-width: 160px;
}
.thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  background: #e6ede3;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.media-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.media-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
}
.media-card > div {
  padding: 12px;
}
.media-card strong {
  font-size: 12px;
  display: block;
  overflow-wrap: anywhere;
}
.media-card .mini-btn {
  margin: 5px 4px 0 0;
}
.settings-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.settings-sections .panel-card {
  margin: 0;
}
.toggle-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}
.toggle-line input {
  width: 18px;
  height: 18px;
  accent-color: #1a5c46;
}
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1050px) {
  .topbar nav {
    gap: 17px;
  }
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-shell {
    grid-template-columns: 210px 1fr;
  }
  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 70px;
    padding: 0 20px;
  }
  .topbar nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 22px;
    box-shadow: var(--shadow);
    flex-direction: column;
  }
  .topbar nav.open {
    display: flex;
  }
  .topbar .btn-dark {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .hero {
    min-height: 640px;
    height: 77vh;
  }
  .hero-content {
    padding: 135px 25px 100px;
  }
  .hero h1 {
    font-size: clamp(54px, 12vw, 82px);
  }
  .hero-bottom {
    left: 25px;
    right: 25px;
  }
  .hero-bottom span:first-child {
    display: none;
  }
  .section {
    padding: 75px 24px;
  }
  .intro,
  .feature,
  .connect {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .intro-copy p {
    font-size: 16px;
  }
  .stats-wrap {
    padding: 0 24px;
  }
  .stats {
    padding: 25px 10px;
  }
  .stats > div {
    padding: 5px 12px;
  }
  .stats span {
    font-size: 11px;
  }
  .section-head {
    display: block;
  }
  .section-head > p {
    margin-top: 18px;
  }
  .activity-grid {
    grid-template-columns: 1fr;
  }
  .activity-cover {
    height: 265px;
  }
  .feature-image {
    min-height: 300px;
  }
  .feature-copy {
    padding: 60px 24px;
  }
  .gallery-grid {
    gap: 10px;
  }
  .connect {
    padding: 70px 24px;
  }
  .footer-top,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }
  .admin-shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    z-index: 40;
    transform: translateX(-100%);
    transition: transform 0.25s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .admin-header {
    padding: 0 20px;
    gap: 12px;
    justify-content: flex-start;
  }
  .admin-header #adminUser {
    margin-left: auto;
  }
  .admin-content {
    padding: 28px 18px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .media-grid,
  .settings-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-title {
    align-items: start;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 450px) {
  .brand {
    font-size: 18px;
  }
  .nav-actions .btn-quiet {
    padding: 8px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats > div:last-child {
    display: none;
  }
  .stats > div:nth-child(2) {
    border: 0;
  }
  .gallery-grid,
  .media-grid,
  .settings-sections {
    grid-template-columns: 1fr 1fr;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric {
    padding: 18px;
  }
  .metric strong {
    font-size: 30px;
  }
  dialog {
    padding: 22px;
  }
  .admin-title {
    display: block;
  }
  .admin-title #pageActions {
    margin-top: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Community Health 2026: warm teal, sand and calm typography */
:root {
  --ink: #173e42;
  --dark: #14545b;
  --forest: #176b70;
  --muted: #60787b;
  --lime: #e5bb78;
  --cream: #faf8f3;
  --line: #e5e9e4;
  --white: #fff;
  --shadow: 0 16px 50px rgba(20, 84, 91, 0.08);
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.012em;
}
h1,
h2,
h3,
h4,
strong,
.brand,
.btn,
.eyebrow {
  font-family: "Plus Jakarta Sans", sans-serif;
}
h2 {
  letter-spacing: -0.045em;
}
.hero {
  background: #176b70;
}
.hero-photo {
  background: linear-gradient(120deg, #175b62, #7ea8a0);
}
.hero-shade {
  background: linear-gradient(
    90deg,
    rgba(12, 56, 60, 0.88),
    rgba(12, 56, 60, 0.36) 70%,
    rgba(12, 56, 60, 0.16)
  );
}
.brand-mark {
  background: #176b70;
  color: #f4d5a3;
}
.btn-lime {
  background: #e5bb78;
  color: #173e42;
}
.eyebrow {
  color: #397d80;
}
.eyebrow.light {
  color: #f5d8a7;
}
.topbar nav a:hover {
  color: #176b70;
}
.activity-card:hover,
.connect-card:hover {
  transform: translateY(-5px);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 2026 visual refresh: violet, coral and porcelain. No teal/green palette. */
:root {
  --ink: #27243b;
  --dark: #423475;
  --forest: #5d4a9c;
  --muted: #706b80;
  --lime: #ffb5a3;
  --cream: #faf9fd;
  --line: #e8e4f0;
  --white: #fff;
  --shadow: 0 16px 45px rgba(52, 37, 92, 0.11);
}
body {
  font-family: Inter, Arial, sans-serif;
  letter-spacing: -0.018em;
  background: var(--cream);
  color: var(--ink);
}
h1,
h2,
h3,
h4,
strong,
.brand,
.btn,
.eyebrow {
  font-family: Inter, Arial, sans-serif;
}
h2 {
  letter-spacing: -0.045em;
}
.brand-mark {
  background: #57469b;
  color: #fff;
}
.topbar {
  background: #fff;
}
.topbar nav a:hover {
  color: #6855b0;
}
.btn-dark {
  background: #51418c;
  color: #fff;
}
.btn-lime {
  background: #ffb5a3;
  color: #29203f;
}
.eyebrow {
  color: #7660ae;
}
.eyebrow.light {
  color: #ffe1d7;
}
.live-dot {
  background: #ffb5a3;
  box-shadow: 0 0 0 5px #ffb5a333;
}
.hero {
  background: linear-gradient(125deg, #3d316c, #6c5ca2);
  min-height: 590px;
  height: auto;
  isolation: isolate;
}
.hero-photo {
  background: linear-gradient(125deg, #3d316c, #6c5ca2);
  z-index: -2;
}
.hero-shade {
  background: linear-gradient(
    100deg,
    rgba(34, 25, 72, 0.88),
    rgba(69, 51, 115, 0.52)
  );
  z-index: -1;
}
.hero-content {
  box-sizing: border-box;
  max-width: 1050px;
  padding: clamp(88px, 10vw, 130px) clamp(24px, 8vw, 120px) 115px;
}
.hero h1 {
  font-size: clamp(46px, 6.1vw, 82px);
  line-height: 1.12;
  letter-spacing: -0.065em;
  max-width: 830px;
  overflow-wrap: break-word;
  margin: 0 0 23px;
}
.hero-content p {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  max-width: 580px;
  color: #f3edff;
}
.hero-actions {
  margin-top: 28px;
  gap: 14px;
  align-items: center;
}
.hero-actions .btn {
  min-height: 48px;
  padding: 12px 23px;
  line-height: 1.3;
  font-size: 13px;
  gap: 14px;
}
.hero-bottom {
  bottom: 24px;
}
.btn-outline-light {
  border-color: #e5ddff80;
  color: #fff;
}
.stats {
  background: #f0ebfa;
}
.feature-copy,
.connect,
footer,
.sidebar {
  background: #423475;
}
.feature {
  background: #423475;
}
.connect-card {
  border-color: #e7e0f1;
}
.connect-icon {
  background: #f2e9fa;
}
.text-link {
  color: #57469b;
  border-color: #b3a6d5;
}
.status.approved,
.status.published,
.status.verified {
  background: #ede6ff;
  color: #54408b;
}
.toggle-line input {
  accent-color: #6855b0;
}
.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus {
  border-color: #7c69bb;
  box-shadow: 0 0 0 3px #b9a7ed55;
}
#toast {
  background: #423475;
}
.sidebar .brand-mark,
.footer-top .brand-mark {
  background: #ffb5a3;
  color: #2d2349;
}
.admin-body {
  background: #faf9fd;
}
@media (max-width: 760px) {
  .hero {
    min-height: 570px;
    height: auto;
  }
  .hero-content {
    padding: 100px 24px 100px;
  }
  .hero h1 {
    font-size: clamp(42px, 10vw, 66px);
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .btn {
    font-size: 12px;
    padding: 12px 17px;
  }
  .hero-bottom {
    left: 24px;
    right: 24px;
  }
  .hero-content p {
    font-size: 16px;
  }
}
@media (max-width: 380px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* Susun atur borang yang kemas dan responsif */
.page-layout {
  width: min(100% - 48px, 1040px);
  max-width: 1040px;
  margin: 0 auto;
  padding: 58px 0 90px;
  box-sizing: border-box;
}
.page-layout .page-back {
  display: inline-flex;
  margin-bottom: 30px;
  font-size: 13px;
  text-decoration: none;
}
.page-layout > .eyebrow {
  display: block;
  margin-bottom: 10px;
}
.page-layout > h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  margin: 0 0 30px;
  letter-spacing: -0.04em;
}
.page-sheet {
  background: white;
  border: 1px solid #e8e5ed;
  border-radius: 22px;
  padding: clamp(22px, 4vw, 44px);
  box-shadow: 0 10px 35px #29203f08;
}
.page-sheet .form-stack {
  gap: 22px;
}
.page-sheet .form-grid {
  gap: 18px;
}
.page-sheet .form-stack label {
  font-size: 13px;
  line-height: 1.5;
}
.page-sheet .form-stack input,
.page-sheet .form-stack select,
.page-sheet .form-stack textarea {
  min-height: 48px;
  font-size: 14px;
}
.page-sheet .form-stack .btn {
  width: auto;
  min-width: 190px;
  justify-self: start;
  padding: 14px 24px;
  margin-top: 8px;
}
.profile-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  padding: 0 0 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid #eeeaf2;
}
.profile-intro strong {
  font-size: 18px;
}
.profile-intro span {
  color: #716b7c;
  font-size: 14px;
}
.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.payment-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 1px solid #e8e5ed;
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
  background: #faf9fd;
  text-align: center;
}
.payment-qr img {
  max-width: 280px;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: white;
  border-radius: 12px;
  padding: 10px;
}
.payment-settings[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .page-layout {
    width: calc(100% - 32px);
    padding: 30px 0 70px;
  }
  .page-sheet {
    padding: 20px;
  }
  .page-sheet .form-grid {
    grid-template-columns: 1fr;
  }
  .page-sheet .form-stack .btn {
    width: 100%;
  }
}

/* Registration method selection */
.join-options {
  max-width: 740px;
  margin: 26px 0;
}
.join-choice {
  display: flex !important;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid #dedce8;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  margin: 10px 0;
}
.join-choice:hover {
  border-color: #7562b2;
  box-shadow: 0 6px 22px rgba(46, 33, 85, 0.08);
}
.join-choice input {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px;
  margin: 3px 0 0 !important;
}
.join-choice span {
  display: grid;
  gap: 6px;
}
.join-choice small {
  font-size: 14px;
  line-height: 1.5;
  color: #615c6b;
}
.join-choice:has(input:checked) {
  border-color: #574497;
  background: #f8f6ff;
}
/* Panel pentadbir tanpa sidebar */
.admin-shell[hidden],
.admin-gate[hidden],
#editorMain[hidden],
#editorGate[hidden],
#reportFields[hidden],
#feeBox[hidden],
#qrBox[hidden] {
  display: none !important;
}
.admin-shell {
  display: block;
  min-height: 100vh;
}
.admin-main {
  margin-left: 0 !important;
  width: 100% !important;
  min-width: 0;
}
.admin-header {
  padding: 18px clamp(18px, 4vw, 60px);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e9e6ef;
}
.admin-header .brand {
  font-weight: 800;
  letter-spacing: -0.06em;
}
.admin-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 48px);
}
.admin-topnav {
  display: flex;
  overflow-x: auto;
  gap: 5px;
  padding: 12px clamp(18px, 4vw, 60px);
  background: #fff;
  border-bottom: 1px solid #eee;
  scrollbar-width: thin;
}
.admin-topnav .side-link {
  display: inline-flex;
  white-space: nowrap;
  width: auto;
  padding: 12px 17px;
  border-radius: 12px;
  color: #514b62;
  background: transparent;
  font-weight: 650;
}
.admin-topnav .side-link.active,
.admin-topnav .side-link:hover {
  background: #f0ecfa;
  color: #493b85;
}
.admin-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #faf9fd;
}
.gate-card {
  width: min(100%, 440px);
  padding: 42px 34px;
  border: 1px solid #e8e4f0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px #251d4b10;
  display: grid;
  gap: 16px;
}
.gate-card h1 {
  font-size: 30px;
  margin: 12px 0 0;
}
.gate-card p {
  line-height: 1.6;
  color: #6d687a;
}
.gate-card .brand {
  font-weight: 800;
  font-size: 22px;
}
.editor-layout {
  width: min(100% - 36px, 940px);
  margin: 30px auto 90px;
}
.editor-layout > main {
  margin-top: 35px;
}
.editor-layout h1 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.05em;
}
.editor-layout .panel-card {
  padding: clamp(20px, 4vw, 38px);
  border-radius: 22px;
}
.editor-layout .form-stack {
  gap: 24px;
}
.editor-layout label {
  display: grid;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
}
.editor-layout input,
.editor-layout select,
.editor-layout textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #dcd8e6;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  background: white;
}
.editor-layout input[type="checkbox"] {
  width: 19px;
}
.editor-layout input[type="file"] {
  padding: 16px;
  background: #faf9fd;
}
.editor-layout .toggle-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.editor-layout small {
  font-weight: 400;
  color: #777181;
}
.editor-layout #reportFields {
  border-top: 1px solid #e8e5ef;
  padding-top: 20px;
}
.editor-layout .admin-tools {
  margin-top: 10px;
}
.activity-cover .default-cover {
  height: 100%;
  min-height: 190px;
  width: 100%;
  background:
    radial-gradient(circle at 72% 25%, #e7c7ec 0 10%, transparent 11%),
    linear-gradient(135deg, #51418c, #8f83b7 52%, #d5c7e8);
  position: relative;
}
.activity-cover .default-cover:after {
  content: "✳";
  font-size: 86px;
  color: #ffffff60;
  position: absolute;
  right: 25px;
  bottom: 8px;
}
.star-input {
  display: flex;
  gap: 8px;
  align-items: center;
}
.star-input button {
  border: 0;
  background: transparent;
  color: #d09a39;
  font-size: 40px;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.2s;
}
.star-input button:hover {
  transform: scale(1.2);
}
.rating-stars {
  color: #d09a39;
  font-size: 23px;
  letter-spacing: 3px;
}
@media (max-width: 720px) {
  .admin-header {
    flex-wrap: wrap;
  }
  .admin-topnav {
    padding: 10px 16px;
  }
  .admin-content {
    padding: 20px 16px;
  }
  .editor-layout {
    width: calc(100% - 28px);
  }
  .editor-layout .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-title {
    flex-wrap: wrap;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .star-input button {
    transition: none;
  }
}

/* 2026-11-08: shared inline checkbox layout (public pages, admin and editor).
   Overrides generic form labels rendered as CSS grid and full-width inputs. */
.page-sheet .form-stack label.toggle-line,
.form-stack label.toggle-line,
.editor-layout .form-stack label.toggle-line,
.settings-sections label.toggle-line,
label.toggle-line {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap;
  gap: 12px !important;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.page-sheet .form-stack label.toggle-line input[type="checkbox"],
.form-stack label.toggle-line input[type="checkbox"],
.editor-layout .form-stack label.toggle-line input[type="checkbox"],
.settings-sections label.toggle-line input[type="checkbox"],
label.toggle-line input[type="checkbox"] {
  appearance: auto;
  display: inline-block !important;
  position: static !important;
  flex: 0 0 19px !important;
  width: 19px !important;
  min-width: 19px !important;
  max-width: 19px !important;
  height: 19px !important;
  min-height: 19px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 4px;
  accent-color: #6855b0;
  vertical-align: middle;
}
label.toggle-line > span {
  display: inline;
  flex: 1 1 auto;
  min-width: 0;
}

/* Sidebar only appears inside the authenticated admin shell. Login remains sidebar-free. */
.admin-shell:not([hidden]) {
  display: grid !important;
  grid-template-columns: 250px minmax(0, 1fr) !important;
  min-height: 100vh;
}
.admin-shell .admin-main {
  margin-left: 0 !important;
  width: auto !important;
  min-width: 0;
}
.admin-shell .sidebar {
  display: flex;
  flex-direction: column;
  background: #423475;
  color: #fff;
}
.admin-shell .sidebar .side-link {
  color: #e7e0f7;
  width: 100%;
}
.admin-shell .sidebar .side-link.active,
.admin-shell .sidebar .side-link:hover {
  background: #ffffff24;
  color: #fff;
}
.admin-shell .sidebar .sidebar-caption {
  color: #d0c3ef;
}
.admin-shell .sidebar .text-link {
  color: #fff;
}
.admin-shell .sidebar-toggle {
  display: none;
}
@media (max-width: 760px) {
  .admin-shell:not([hidden]) {
    display: block !important;
  }
  .admin-shell .sidebar {
    position: fixed;
    z-index: 60;
    top: 0;
    bottom: 0;
    left: 0;
    width: 260px;
    transform: translateX(-100%);
    transition: transform 0.25s;
  }
  .admin-shell .sidebar.open {
    transform: translateX(0);
  }
  .admin-shell .sidebar-toggle {
    display: inline-flex;
  }
  .admin-shell .admin-header {
    flex-wrap: wrap;
  }
}

/* Accessibility: high-contrast copy on the violet Jom Sertai Kami section.
   Keep the white action cards' text dark. */
section.connect,
section.connect .connect-heading {
  color: #fff;
}
section.connect .connect-heading h2,
section.connect .connect-heading h2 em,
section.connect .connect-heading h2 *,
section.connect .connect-heading p {
  color: #fff !important;
}
section.connect .connect-heading p {
  color: #e9e3f5 !important;
}
section.connect .connect-heading .eyebrow {
  color: #ffe1d7 !important;
}
section.connect .connect-actions .connect-card,
section.connect .connect-actions .connect-card strong {
  color: #251d3b !important;
}
section.connect .connect-actions .connect-card > span:last-child {
  color: #645d73 !important;
}

/* Centered notices replace corner toasts */
.notice-dialog {
  border: 0;
  border-radius: 22px;
  padding: 0;
  width: min(420px, calc(100vw - 32px));
  max-width: 100%;
  box-shadow: 0 25px 85px #11182755;
  background: #fff;
  color: #1c1731;
}
.notice-dialog::backdrop {
  background: rgba(18, 14, 38, 0.55);
  backdrop-filter: blur(5px);
}
.notice-inner {
  padding: 32px;
  text-align: center;
}
.notice-inner h2 {
  color: #241b43;
  font-size: 1.4rem;
  margin: 12px 0;
}
.notice-inner p {
  color: #4e4960;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.notice-inner button {
  margin-top: 18px;
  min-width: 140px;
}
.notice-symbol {
  display: grid;
  place-items: center;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: #eee7fa;
  color: #513b91;
  font-size: 26px;
}
.identity-gate {
  background: #f7f5fb;
  border: 1px solid #e9e4f1;
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}
.identity-gate p {
  margin: 0 0 14px;
}
#toast {
  display: none !important;
}

/* Ensure the public feedback section respects the admin visibility setting. */
#testimonials[hidden] {
  display: none !important;
}
#testimonials:not([hidden]) {
  display: block !important;
}
#testimonialGrid .rating-stars {
  color: #d79c33;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
}

/* Pastikan elemen tersembunyi tidak menahan pengesahan borang. */
[hidden],
.editor-layout [hidden],
.form-stack [hidden] {
  display: none !important;
}
.editor-layout .toggle-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.editor-layout .toggle-line input[type="checkbox"] {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  padding: 0;
  margin: 0;
}

/* Activity cards: full-card navigation, expandable Sertai button, consistent images */
.activity-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  min-width: 0;
}
.activity-card-link:focus-visible {
  outline: 3px solid #7866b5;
  outline-offset: 4px;
}
.activity-card-link .activity-cover {
  height: auto;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.activity-card-link .activity-cover > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.activity-card-link .circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 42px;
  height: 42px;
  min-width: 42px;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 999px;
  transition:
    width 0.3s ease,
    gap 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}
.activity-card-link .join-label {
  display: block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  transition:
    max-width 0.3s ease,
    opacity 0.25s ease;
}
.activity-card-link .join-arrow {
  display: block;
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
}
.activity-card-link:hover .circle-arrow,
.activity-card-link:focus-visible .circle-arrow {
  width: 105px;
  gap: 9px;
  transform: none;
  background: var(--lime);
}
.activity-card-link:hover .join-label,
.activity-card-link:focus-visible .join-label {
  max-width: 50px;
  opacity: 1;
}
.activity-card-link:hover .join-arrow,
.activity-card-link:focus-visible .join-arrow {
  transform: none;
}
/* Activity detail banner, not the homepage card cover */
.page-banner {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  margin: 0 0 24px;
}
@media (max-width: 760px) {
  .activity-card-link .activity-cover {
    aspect-ratio: 16/10;
  }
  .page-banner {
    aspect-ratio: 4/3;
    border-radius: 14px;
  }
}
@media (hover: none) {
  .activity-card-link .circle-arrow {
    width: 105px;
    gap: 9px;
  }
  .activity-card-link .join-label {
    max-width: 50px;
    opacity: 1;
  }
}

/* Halaman butiran aktiviti tanpa kad luaran */
.page-sheet:has(.activity-detail) {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.activity-detail {
  max-width: 950px;
}
.activity-detail .page-banner {
  width: 100%;
  height: clamp(220px, 40vw, 450px);
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 26px;
}
.activity-detail .activity-description {
  font-size: 16px;
  line-height: 1.85;
  color: #4b4658;
  white-space: pre-line;
  margin: 18px 0 28px;
}
.activity-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 23px 0;
  margin: 20px 0 28px;
  border-top: 1px solid #e1dce8;
  border-bottom: 1px solid #e1dce8;
}
.activity-facts > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.activity-facts span,
.registration-summary span {
  font-size: 12px;
  color: #726b80;
}
.activity-facts strong {
  font-size: 15px;
  overflow-wrap: anywhere;
}
.activity-action {
  margin-top: 30px;
  padding: 25px 0;
  border-top: 1px solid #e1dce8;
  max-width: 760px;
}
.activity-action h2 {
  font-size: clamp(22px, 3vw, 29px);
  margin: 0 0 10px;
}
.activity-action p {
  line-height: 1.7;
}
.activity-action .btn {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  margin-top: 12px;
}
.activity-alert {
  padding: 18px 0;
}
.registration-success .notice-inner {
  max-width: 460px;
  text-align: center;
}
.registration-summary {
  text-align: left;
  background: #f8f7fb;
  border-radius: 14px;
  padding: 16px;
  margin: 18px 0;
  display: grid;
  gap: 12px;
}
.registration-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.registration-summary strong {
  font-size: 13px;
  text-align: right;
  overflow-wrap: anywhere;
}
.success-check {
  display: inline-grid;
  place-items: center;
  background: #e9f4ed;
  color: #176b48;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 25px;
}
.registration-success .mini-btn {
  display: block;
  margin: 12px auto 0;
}
.postcode-hint {
  display: block;
  color: #615c6b;
  margin-top: 6px;
  font-size: 12px;
}
@media (max-width: 650px) {
  .activity-facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .activity-detail .page-banner {
    height: 240px;
  }
  .activity-action {
    padding-top: 20px;
  }
}
/* Lencana bilangan baharu pada sidebar */
.side-link {
  position: relative;
}
.side-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 100px;
  background: #eee7ff;
  color: #423475;
  font-size: 11px;
  font-weight: 800;
}
.side-count[hidden] {
  display: none !important;
}

/* Paparan akaun pengguna di penjuru kanan atas */
.account-wrap {
  position: relative;
  min-width: 0;
}
.account-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e8e2f2;
  background: #fff;
  border-radius: 40px;
  padding: 6px 12px 6px 6px;
  cursor: pointer;
  color: #29203f;
  font: inherit;
  max-width: 260px;
  text-align: left;
}
.account-trigger:hover,
.account-trigger:focus-visible {
  background: #f7f4fc;
  border-color: #b8a7d9;
}
.account-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #51418c;
  color: white;
  font-weight: 800;
}
.account-identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.account-identity strong {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-identity small {
  font-size: 10px;
  color: #766b85;
}
.account-menu[hidden] {
  display: none !important;
}
.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 240px;
  max-width: calc(100vw - 30px);
  background: #fff;
  border: 1px solid #e8e2f2;
  box-shadow: 0 14px 36px #29203f20;
  border-radius: 15px;
  padding: 8px;
  z-index: 100;
}
.account-menu-heading {
  padding: 10px 12px 12px;
  border-bottom: 1px solid #eee9f4;
  margin-bottom: 5px;
  display: grid;
  gap: 4px;
  overflow-wrap: anywhere;
}
.account-menu-heading strong {
  font-size: 12px;
}
.account-menu-heading small {
  font-size: 11px;
  color: #756d81;
}
.account-menu a,
.account-menu button {
  display: block;
  width: 100%;
  text-align: left;
  text-decoration: none;
  border: 0;
  background: none;
  color: #29203f;
  padding: 11px 12px;
  border-radius: 9px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.account-menu a:hover,
.account-menu button:hover {
  background: #f5f0fb;
}
.account-menu button {
  color: #a13a49;
  border-top: 1px solid #eee9f4;
  border-radius: 0;
  margin-top: 4px;
}
@media (max-width: 760px) {
  .account-trigger {
    max-width: 170px;
  }
  .account-identity strong {
    max-width: 88px;
  }
  .account-avatar {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 768px) {
  .brand-logo {
    width: 32px;
    height: 32px;
  }
}
