/* ==========================================================================
   Portal Rasmi BN - DUN N.15 Tanjung Lumpur
   Reka bentuk minimalis: kanvas putih, satu warna aksen (biru BN), garis halus
   ========================================================================== */

:root {
  --ink: #0b1730;
  --ink-2: #44506a;
  --ink-3: #7a869c;
  --line: #e6e9f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;

  --blue: #0b3d91;
  --blue-hover: #082f70;
  --blue-soft: #eaf0fb;
  --gold: #c9a227;

  --ok-bg: #ecfaf3;
  --ok-ink: #0b7a4f;
  --err-bg: #fdeeee;
  --err-ink: #b42323;

  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Butang ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink-3);
}

.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: .86rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: .6;
  cursor: wait;
  transform: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  max-width: 100%;
  padding-left: clamp(10px, 1.5vw, 20px);
  padding-right: 0;
}

.header-inner {
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  min-width: 0;
}

.header-right nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-flags-clock-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-state-flags {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  text-decoration: none;
}

.header-state-flags .brand-flag-malaysia,
.header-state-flags .brand-flag-pahang {
  height: 15px !important;
  width: auto !important;
  max-width: 30px !important;
  aspect-ratio: 2 / 1;
  border-radius: 2px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border: 1px solid rgba(15, 26, 48, 0.18);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform .2s var(--ease), box-shadow .2s;
}

.header-state-flags:hover .brand-flag-malaysia,
.header-state-flags:hover .brand-flag-pahang {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(11, 61, 145, 0.22);
}

.header-clock {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15, 26, 48, 0.04);
  transition: border-color .2s, box-shadow .2s;
}

.header-clock:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(15, 26, 48, 0.08);
}

.clock-icon-box {
  display: none;
}

.clock-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.25;
}

.clock-day-date {
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: .01em;
  white-space: nowrap;
}

.clock-digital-time {
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-flag-malaysia {
  height: 15px !important;
  width: auto !important;
  max-width: 30px !important;
  aspect-ratio: 1024 / 510;
  border-radius: 2px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border: 1px solid rgba(15, 26, 48, 0.18);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform .2s var(--ease), box-shadow .2s;
}

.brand-flag-pahang {
  height: 15px !important;
  width: auto !important;
  max-width: 30px !important;
  aspect-ratio: 898 / 447;
  border-radius: 2px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border: 1px solid rgba(15, 26, 48, 0.18);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform .2s var(--ease), box-shadow .2s;
}

.brand-logo-pahang {
  height: 36px !important;
  width: auto !important;
  max-width: 34px !important;
  aspect-ratio: 622 / 702;
  border-radius: 4px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform .2s var(--ease), box-shadow .2s;
}

.brand-logo-umno {
  height: 36px !important;
  width: auto !important;
  max-width: 36px !important;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform .2s var(--ease), box-shadow .2s;
}

.brand-logo {
  height: 36px !important;
  width: auto !important;
  max-width: 56px !important;
  aspect-ratio: 600 / 403;
  border-radius: 6px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(11, 61, 145, 0.18);
  transition: transform .2s var(--ease), box-shadow .2s;
}

.brand:hover .brand-flag-malaysia,
.brand:hover .brand-flag-pahang,
.brand:hover .brand-logo-pahang,
.brand:hover .brand-logo-umno,
.brand:hover .brand-logo {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(11, 61, 145, 0.22);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.brand-name {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-sub {
  display: block;
  font-size: .74rem;
  color: var(--ink-3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 100%;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* ---------- Butang Tab Log Masuk (Curved Cutout Tab - Reka Bentuk 'Fairway Golf') ---------- */
.nav-item-login {
  display: flex;
  align-items: flex-start;
  height: 72px;
  margin-right: 0;
}

.header-login-tab {
  display: inline-flex;
  align-items: stretch;
  height: 56px;
  position: relative;
  text-decoration: none;
  color: var(--blue);
  top: 0;
  transition: transform .2s var(--ease);
}

.tab-curve-left {
  display: block;
  width: 32px;
  height: 56px;
  flex-shrink: 0;
  margin-right: -1px;
  color: var(--blue);
  transition: color .2s var(--ease);
}

.tab-curve-left svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tab-content {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 14px 0 6px;
  background: var(--blue);
  border-radius: 0;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 61, 145, 0.22);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}

.tab-title {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #ffffff;
  white-space: nowrap;
}

.tab-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--blue);
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
  transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .2s;
}

.tab-icon-badge svg {
  display: block;
  transition: transform .25s var(--ease);
}

.tab-curve-right {
  display: block;
  width: 32px;
  height: 56px;
  flex-shrink: 0;
  margin-left: -1px;
  color: var(--blue);
  transition: color .2s var(--ease);
}

.tab-curve-right svg {
  display: block;
  width: 100%;
  height: 100%;
}

.header-login-tab:hover .tab-curve-left,
.header-login-tab:hover .tab-curve-right {
  color: var(--blue-hover);
}

.header-login-tab:hover .tab-content {
  background: var(--blue-hover);
  box-shadow: 0 6px 20px rgba(11, 61, 145, 0.32);
}

.header-login-tab:hover .tab-icon-badge {
  transform: scale(1.08);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.header-login-tab:hover .tab-icon-badge svg {
  transform: translate(1.5px, -1.5px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--blue);
  cursor: pointer;
  font-size: 1.15rem;
}

.mobile-nav-backdrop {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 30px 0 12px;
}

.hero .container {
  max-width: 1095px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 80px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8.5px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: '';
  width: 19px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  margin: 17px 0 19px;
  font-size: clamp(1.96rem, 4.08vw, 3.06rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
}

.hero h1 span {
  color: var(--blue);
}

.lead {
  max-width: 442px;
  font-size: .94rem;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 29px 0 34px;
}

.quote {
  max-width: 442px;
  padding-left: 15px;
  border-left: 2px solid var(--line);
}

.quote p {
  font-size: .83rem;
  color: var(--ink-2);
  font-style: italic;
}

.quote cite {
  display: block;
  margin-top: 7px;
  font-style: normal;
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-carousel-col {
  align-self: start;
  margin-top: -10px;
  width: 100%;
  min-width: 0;
  transform: translateX(10px);
}


/* ---------- Statistik ---------- */
.stats {
  border-bottom: 1px solid var(--line);
}

.stats-header {
  padding: 8px 0 10px;
}

.stats-title {
  font-size: .98rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1.3;
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.stat {
  padding: 20px 22px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: .78rem;
  color: var(--ink-3);
}

/* ---------- Seksyen ---------- */
.section {
  padding: 48px 0 96px;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(1.37rem, 2.86vw, 2.14rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
}

.section-head p {
  margin-top: 12px;
  font-size: .94rem;
  color: var(--ink-2);
}

/* Profil */
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.about-text {
  font-size: 1.08rem;
  color: var(--ink-2);
  line-height: 1.8;
}

/* ---------- Carousel ---------- */
.carousel-slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
}

.carousel-slides-track {
  display: flex;
  transition: transform .7s var(--ease);
}

.carousel-slide-item {
  position: relative;
  min-width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 340px;
}

.carousel-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 80px 48px 40px;
  color: #fff;
  background: linear-gradient(to top, rgba(8, 20, 46, .88), rgba(8, 20, 46, 0));
}

.slide-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.slide-title {
  max-width: 720px;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.slide-desc {
  max-width: 640px;
  margin-top: 8px;
  font-size: .96rem;
  color: #d3dbea;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: .85rem;
  display: grid;
  place-items: center;
  transition: background .2s, transform .2s var(--ease);
}

.carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.carousel-btn-prev {
  left: 20px;
}

.carousel-btn-next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  right: 48px;
  bottom: 24px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: width .3s var(--ease), background .3s;
}

.indicator-dot.active {
  width: 26px;
  background: #fff;
}

/* ---------- Hero Carousel Customizations ---------- */
.hero-carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 17px;
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(11, 23, 48, 0.16);
  border: 1px solid rgba(15, 26, 48, 0.08);
}

.hero-carousel-wrapper .carousel-slide-item {
  position: relative;
  min-width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 289px;
}

.hero-carousel-wrapper .carousel-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-carousel-wrapper .carousel-slide-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 37px 24px 20px;
  color: #fff;
  background: linear-gradient(to top, rgba(8, 20, 46, .94) 0%, rgba(8, 20, 46, .65) 65%, rgba(8, 20, 46, 0) 100%);
  pointer-events: none;
}

.hero-carousel-wrapper .slide-tag {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .20);
  border: 1px solid rgba(255, 255, 255, .35);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-carousel-wrapper .slide-title {
  font-size: clamp(0.95rem, 1.7vw, 1.19rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: #ffffff;
}

.hero-carousel-wrapper .slide-desc {
  margin-top: 5px;
  font-size: .75rem;
  line-height: 1.45;
  color: #e2e8f0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-carousel-wrapper .carousel-btn {
  width: 34px;
  height: 34px;
  font-size: .70rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-carousel-wrapper .carousel-btn-prev {
  left: 12px;
}

.hero-carousel-wrapper .carousel-btn-next {
  right: 12px;
}

.hero-carousel-wrapper .carousel-indicators {
  right: 20px;
  bottom: 17px;
  gap: 6px;
}

/* ---------- Semakan pengundi ---------- */
.lookup {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.lookup .section-head {
  margin-left: auto;
  margin-right: auto;
}

.lookup .eyebrow::before {
  display: none;
}

.lookup-form {
  display: flex;
  gap: 12px;
}

.lookup-input-wrapper {
  position: relative;
  flex: 1;
}

.lookup-input-wrapper i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
}

.lookup-input {
  width: 100%;
  height: 54px;
  padding: 0 20px 0 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}

.lookup-input::placeholder {
  color: var(--ink-3);
}

.lookup-input:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.lookup-form .btn {
  height: 54px;
  padding: 0 30px;
}

.lookup-hint {
  margin-top: 14px;
  font-size: .84rem;
  color: var(--ink-3);
}

.lookup-result-box {
  display: none;
  margin-top: 28px;
  text-align: left;
}

.result-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  animation: rise .5s var(--ease);
}

.result-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--ok-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.result-name {
  margin-top: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.result-ic {
  font-size: .9rem;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.result-item {
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--bg-soft);
}

.result-item small {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.result-item strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.result-item.primary {
  background: var(--blue);
  color: #fff;
}

.result-item.primary small {
  color: #b9c9ea;
}

.result-item.primary strong {
  font-size: 1.4rem;
}

.result-note {
  margin-top: 18px;
  font-size: .84rem;
  color: var(--ink-3);
  text-align: center;
}

.result-empty {
  background: var(--err-bg);
  color: var(--err-ink);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}

.result-empty strong {
  display: block;
  margin-bottom: 4px;
}

.result-empty p {
  font-size: .92rem;
}

/* ---------- Teras ---------- */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.agenda-card {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}

.agenda-card:hover {
  border-color: #c9d4ea;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -18px rgba(11, 61, 145, .35);
}

.agenda-icon-wrap {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.agenda-title {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}

.agenda-text {
  font-size: .93rem;
  color: var(--ink-2);
}

/* ---------- Aduan ---------- */
#aduan.section {
  padding: 30px 0 44px;
}

#aduan .container {
  max-width: 920px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

#aduan .contact-grid.contact-grid-single {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

#aduan .contact-grid.contact-grid-single .eyebrow {
  display: inline-flex;
  margin: 0;
}

#aduan .contact-grid.contact-grid-single .section-head {
  text-align: left;
  max-width: 100%;
  margin: 14px 0 0;
}

#aduan .contact-grid.contact-grid-single .section-head h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-top: 8px;
  text-align: left;
}

#aduan .contact-grid.contact-grid-single .section-head p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 10px 0 0;
  text-align: justify;
  text-justify: inter-word;
}

#aduan .contact-grid.contact-grid-single .contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.contact-grid.contact-grid-single .contact-item {
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(11, 23, 48, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  box-sizing: border-box;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.contact-grid.contact-grid-single .contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 68, 170, 0.3);
  box-shadow: 0 6px 18px rgba(0, 68, 170, 0.08);
}

.contact-grid.contact-grid-single .contact-item > div {
  flex: 1;
  min-width: 0;
}

.contact-grid.contact-grid-single .contact-item small {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 5px;
}

.contact-grid.contact-grid-single .contact-item p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  text-align: justify;
  text-justify: inter-word;
}

.contact-grid.contact-grid-single .contact-item p a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  transition: color .15s ease, text-decoration .15s ease;
}

.contact-grid.contact-grid-single .contact-item p a:hover {
  color: var(--blue-dark, #002e7a);
  text-decoration: underline;
}

.contact-grid.contact-grid-single .contact-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-top: 2px;
}

@media (max-width: 640px) {
  #aduan .contact-grid.contact-grid-single .contact-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #aduan .contact-grid.contact-grid-single .section-head p {
    text-align: justify;
    text-justify: inter-word;
  }
}

#aduan .section-head {
  margin-bottom: 20px;
}

#aduan .section-head h2 {
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 800;
  margin-top: 8px;
}

#aduan .section-head p {
  font-size: 0.78rem;
  line-height: 1.45;
  margin-top: 6px;
}

.contact-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.contact-item {
  display: flex;
  gap: 10px;
}

.contact-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
}

.contact-item small {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.2;
}

.contact-item p {
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.35;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}

.form-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.form-card .sub {
  margin: 3px 0 14px;
  font-size: 0.74rem;
  color: var(--ink-3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-group {
  margin-bottom: 10px;
}

.form-label {
  display: block;
  margin-bottom: 3px;
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--ink);
}

.form-control {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #d9deea;
  border-radius: 7px;
  font-size: 0.78rem;
  transition: border-color .2s, box-shadow .2s;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237a869c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

textarea.form-control {
  height: auto;
  min-height: 60px;
  padding: 7px 10px;
  resize: vertical;
}

.form-control:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.form-card .btn {
  height: 34px;
  padding: 0 16px;
  font-size: 0.78rem;
}

.notice {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  font-size: 0.76rem;
}

.notice-success {
  background: var(--ok-bg);
  color: var(--ok-ink);
}

.notice-error {
  background: var(--err-bg);
  color: var(--err-ink);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #9aa7bf;
  padding: 26px 0 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 16px;
}

.footer-brand .brand-mark {
  background: #fff;
  color: var(--blue);
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.footer-flag-malaysia {
  height: 19px !important;
  width: auto !important;
  max-width: 29px !important;
  aspect-ratio: 1024 / 510;
  border-radius: 3px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.footer-flag-pahang {
  height: 19px !important;
  width: auto !important;
  max-width: 29px !important;
  aspect-ratio: 898 / 447;
  border-radius: 3px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.footer-logo-pahang {
  height: 19px !important;
  width: auto !important;
  max-width: 18px !important;
  aspect-ratio: 622 / 702;
  border-radius: 3px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: #ffffff;
  padding: 1px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.footer-logo-umno {
  height: 19px !important;
  width: auto !important;
  max-width: 19px !important;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: #ffffff;
  padding: 1px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.footer-logo {
  height: 19px !important;
  width: auto !important;
  max-width: 30px !important;
  aspect-ratio: 600 / 403;
  border-radius: 3px;
  object-fit: contain;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.footer-brand h3 {
  margin: 6px 0 4px;
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
}

.footer-brand p {
  max-width: 380px;
  font-size: .75rem;
  line-height: 1.35;
}

.footer-col h4 {
  margin-bottom: 5px;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-col li+li {
  margin-top: 4px;
}

.footer-col a {
  font-size: .75rem;
  transition: color .2s;
}

.footer-col a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.socials a {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-size: .66rem;
  transition: background .2s, border-color .2s;
}

.socials a:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .4);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .70rem;
}

/* ---------- Animasi ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsif ---------- */
@media (max-width: 960px) {

  html,
  body {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE dan Edge */
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
    width: 0;
    height: 0;
  }

  .hero {
    padding: 24px 0 48px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-carousel-col {
    max-width: 100%;
    margin-top: 0;
    align-self: center;
    transform: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .stat:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .agenda-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .menu-toggle {
    display: none !important;
  }

  .mobile-nav-backdrop {
    display: none !important;
  }

  .header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 995;
    background: #ffffff;
  }

  .header-inner {
    position: relative;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .site-header .container {
    padding-right: 16px;
  }

  /* Navigasi mudah alih: Padam dropdown, buang Utama & Aduan, ganti dengan butang Log Masuk di pengepala */
  .nav-links {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Padam pautan Utama dan Aduan pada pelayar mudah alih */
  .nav-links li:not(.nav-item-login) {
    display: none !important;
  }

  .nav-item-login {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    width: auto !important;
  }

  .header-login-tab {
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    width: auto !important;
    text-decoration: none !important;
  }

  .tab-curve-left,
  .tab-curve-right {
    display: none !important;
  }

  .tab-content {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 38px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    background: var(--blue) !important;
    color: #ffffff !important;
    font-size: .88rem !important;
    font-weight: 600 !important;
    box-shadow: 0 3px 10px rgba(11, 61, 145, 0.28) !important;
    transition: background .2s, transform .15s, box-shadow .2s !important;
    white-space: nowrap !important;
    cursor: pointer !important;
  }

  .header-login-tab:hover .tab-content,
  .header-login-tab:active .tab-content {
    background: var(--blue-hover) !important;
    box-shadow: 0 5px 14px rgba(11, 61, 145, 0.38) !important;
    transform: translateY(-1px) !important;
  }

  .tab-title {
    font-size: .88rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    letter-spacing: .01em !important;
  }

  .tab-icon-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    margin-left: 2px !important;
  }

  .tab-icon-badge svg {
    width: 11px !important;
    height: 11px !important;
    stroke: #ffffff !important;
  }
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 18px;
  }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .header-flags-clock-group {
    gap: 8px;
  }

  .header-clock {
    padding: 4px 8px;
  }

  .clock-day-date {
    font-size: .65rem;
  }

  .clock-digital-time {
    font-size: .78rem;
  }
}

@media (max-width: 640px) {
  .header-clock {
    display: none;
  }

  .header-state-flags {
    gap: 2px;
  }

  .brand-logos {
    gap: 5px;
  }

  .brand-flag-malaysia,
  .brand-flag-pahang {
    height: 13px !important;
    max-width: 26px !important;
  }

  .brand-logo {
    height: 26px !important;
    max-width: 39px !important;
  }

  .brand-logo-pahang {
    height: 26px !important;
    max-width: 23px !important;
  }

  .brand-logo-umno {
    height: 26px !important;
    max-width: 26px !important;
  }

  .brand-name {
    font-size: .84rem;
  }

  .brand-sub {
    display: none;
  }

  .section {
    padding: 32px 0 64px;
  }

  .agenda-grid,
  .form-row,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .lookup-form {
    flex-direction: column;
  }

  .lookup-form .btn {
    width: 100%;
  }

  .carousel-slide-item {
    aspect-ratio: 4 / 5;
  }

  .hero-carousel-wrapper .carousel-slide-item {
    aspect-ratio: 16 / 10;
    min-height: 204px;
  }

  .hero-carousel-wrapper .carousel-slide-overlay {
    padding: 30px 15px 17px;
  }

  .hero-carousel-wrapper .slide-title {
    font-size: .90rem;
  }

  .hero-carousel-wrapper .slide-desc {
    display: none;
  }

  .carousel-slide-overlay {
    padding: 60px 24px 56px;
  }

  .carousel-indicators {
    right: 24px;
    bottom: 20px;
  }

  .carousel-btn {
    display: none;
  }

  .form-card {
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .brand-sub {
    display: none;
  }
}


/* ==========================================================================
   Popout Modal Log Masuk Petugas & Latar Belakang Kabur (Blur)
   ========================================================================== */
body.login-modal-open {
  overflow: hidden;
}

.site-header,
main,
.site-footer {
  transition: filter .28s var(--ease);
}

body.login-modal-open .site-header,
body.login-modal-open main,
body.login-modal-open .site-footer {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

.login-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(11, 23, 48, 0.55);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), visibility .25s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.login-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.login-modal-dialog {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(11, 23, 48, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transform: translateY(16px) scale(0.97);
  transition: transform .28s var(--ease);
}

.login-modal-backdrop.is-open .login-modal-dialog {
  transform: translateY(0) scale(1);
}

@keyframes loginModalShake {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-6px);
  }

  40%,
  80% {
    transform: translateX(6px);
  }
}

.login-modal-dialog.is-shaking {
  animation: loginModalShake .36s ease;
}

.login-modal-banner {
  position: relative;
  padding: 26px 28px 22px;
  background: linear-gradient(135deg, #0b3d91 0%, #072863 100%);
  color: #ffffff;
  overflow: hidden;
}

.login-modal-banner::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.login-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background .18s, transform .18s;
}

.login-modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}

.login-modal-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.login-modal-bn-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.login-modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #cfdaf2;
  position: relative;
  z-index: 1;
}

.login-modal-eyebrow::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--gold);
}

.login-modal-banner h2 {
  margin: 6px 0 4px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.02em;
  position: relative;
  z-index: 1;
}

.login-modal-banner p {
  font-size: .86rem;
  color: #cfdaf2;
  position: relative;
  z-index: 1;
}

.login-modal-body {
  padding: 24px 28px 28px;
}

.login-modal-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  margin-bottom: 18px;
  border-radius: 10px;
  font-size: .85rem;
  line-height: 1.45;
}

.login-modal-alert i {
  margin-top: 2px;
  flex-shrink: 0;
}

.login-alert-danger {
  background: #fdeded;
  color: #a52a2a;
}

.login-alert-warning {
  background: #fdf3dc;
  color: #86580a;
}

.login-alert-success {
  background: #e8f7f1;
  color: #0a6e4a;
}

.login-field-group {
  margin-bottom: 16px;
}

.login-field-label {
  display: block;
  margin-bottom: 6px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink);
}

.login-input-wrap {
  position: relative;
}

.login-input-wrap>i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  font-size: .9rem;
  pointer-events: none;
}

.login-input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 40px;
  background: #f8fafd;
  border: 1px solid #d5dbe7;
  border-radius: 10px;
  font-size: .94rem;
  color: var(--ink);
  transition: background .15s, border-color .15s, box-shadow .15s;
}

.login-input.has-toggle {
  padding-right: 46px;
}

.login-input:focus {
  outline: 0;
  background: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.login-toggle-pass {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  transition: color .15s, background .15s;
}

.login-toggle-pass:hover {
  color: var(--ink);
  background: #eef2f8;
}

.login-submit-btn {
  width: 100%;
  height: 48px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #ffffff;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, transform .18s var(--ease);
}

.login-submit-btn:hover {
  background: var(--blue-hover);
}

.login-submit-btn:disabled {
  opacity: .72;
  cursor: wait;
}

/* Toast notifikasi ringkas di laman utama (cth: selepas log keluar) */
.landing-toast {
  position: fixed;
  top: 88px;
  right: 20px;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 400px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(11, 23, 48, 0.16);
  border-left: 4px solid var(--blue);
  transition: opacity .3s ease, transform .3s ease;
}

.landing-toast-success {
  border-left-color: #0b7a4f;
}

.landing-toast-success i {
  color: #0b7a4f;
}

.landing-toast-close {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
}

@media (max-width: 480px) {
  .header-login-tab .tab-content {
    height: 34px !important;
    padding: 0 12px !important;
    gap: 6px !important;
  }

  .header-login-tab .tab-title {
    font-size: .80rem !important;
  }

  .header-login-tab .tab-icon-badge {
    width: 17px !important;
    height: 17px !important;
  }

  .header-login-tab .tab-icon-badge svg {
    width: 9px !important;
    height: 9px !important;
  }

  .login-modal-backdrop {
    padding: 16px;
  }

  .login-modal-dialog {
    max-width: 100%;
    border-radius: 18px;
    margin: auto 0;
  }

  .login-modal-banner {
    padding: 22px 20px 18px;
  }

  .login-modal-banner h2 {
    font-size: 1.3rem;
  }

  .login-modal-body {
    padding: 20px;
  }

  .landing-toast {
    left: 16px;
    right: 16px;
    max-width: none;
  }
}