/* ==========================================================================
   IKAFIKKES Unimus — stylesheet utama
   Palet diambil dari logo: biru #0174C4 (dominan), hijau #029441, pink #D0026F
   ========================================================================== */

:root {
  --blue: #0174C4;
  --blue-dark: #04578f;
  --blue-deep: #06304f;
  --blue-soft: #eaf4fc;
  --green: #029441;
  --green-dark: #02702f;
  --green-soft: #e7f7ee;
  --pink: #D0026F;
  --pink-dark: #a8025a;
  --pink-soft: #fdebf5;

  --ink: #0e2233;
  --ink-2: #274256;
  --muted: #5d7488;
  --line: #e3ecf3;
  --line-2: #eff5fa;
  --bg: #f7fafd;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(9, 40, 66, .06);
  --shadow-sm: 0 2px 8px rgba(9, 40, 66, .06);
  --shadow: 0 10px 28px -14px rgba(9, 40, 66, .28), 0 2px 8px rgba(9, 40, 66, .05);
  --shadow-lg: 0 26px 60px -28px rgba(6, 48, 79, .38);

  --container: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button { font-family: inherit; }

h1, h2, h3, h4 { line-height: 1.22; margin: 0; letter-spacing: -.02em; color: var(--ink); font-weight: 800; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.ico { width: 20px; height: 20px; flex: 0 0 auto; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 14.5px; font-weight: 650;
  cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(1, 116, 196, .35); outline-offset: 2px; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(1, 116, 196, .95); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }

.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 22px -12px rgba(2, 148, 65, .9); }
.btn-green:hover { background: var(--green-dark); color: #fff; }

.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 10px 22px -12px rgba(208, 2, 111, .9); }
.btn-pink:hover { background: var(--pink-dark); color: #fff; }

.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .24); color: #fff; }

.btn-outline { background: #fff; color: var(--blue-dark); border-color: var(--line); }
.btn-outline:hover { border-color: rgba(1, 116, 196, .45); color: var(--blue-dark); background: var(--blue-soft); }

.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--blue-deep);
  color: #cfe4f3;
  font-size: 12.8px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #cfe4f3; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar .ico { width: 15px; height: 15px; opacity: .85; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 26px; height: 26px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .1); color: #e6f1f9;
}
.socials a:hover { background: var(--blue); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: -.03em; color: var(--blue-deep); font-weight: 800; }
.brand-text span { font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 9px 12px; border-radius: 9px;
  font-size: 14px; font-weight: 550; color: var(--ink-2);
}
.main-nav a:hover { background: var(--blue-soft); color: var(--blue-dark); }
.main-nav a.active { color: var(--blue); font-weight: 700; }
.nav-login { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  align-items: center; justify-content: center; cursor: pointer;
  flex: 0 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(2, 148, 65, .55), transparent 62%),
    radial-gradient(760px 420px at 6% 6%, rgba(208, 2, 111, .38), transparent 60%),
    linear-gradient(135deg, #04578f 0%, #0174C4 52%, #0a86c9 100%);
  padding: 74px 0 92px;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--bg));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; margin-inline: auto; text-align: center; }
.hero-logo {
  width: 92px; height: 92px; object-fit: contain;
  margin: 0 auto 22px;
  padding: 8px; border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .6);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: 12.5px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-badge .ico { width: 15px; height: 15px; }
.hero h1 {
  color: #fff; font-size: clamp(30px, 4.6vw, 50px); font-weight: 800; letter-spacing: -.035em;
}
.hero h1 em { font-style: normal; color: #b6f2cf; }
.hero-sub {
  margin: 18px auto 0; max-width: 640px;
  font-size: 16.5px; color: #dcecf7;
}
.hero-search {
  margin: 32px auto 0; max-width: 620px;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 7px 7px 7px 18px;
  box-shadow: var(--shadow-lg);
}
.hero-search .ico { color: var(--muted); }
.hero-search input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: 15px; color: var(--ink); padding: 10px 4px;
}
.hero-search input::placeholder { color: #8fa4b5; }
.hero-actions { margin-top: 20px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 3;
  margin: -58px auto 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  max-width: var(--container);
  padding-inline: 22px;
}
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 20px; text-align: center;
  box-shadow: var(--shadow);
}
.stat-card strong { display: block; font-size: 27px; font-weight: 800; letter-spacing: -.03em; color: var(--blue); }
.stat-card span { font-size: 13px; color: var(--muted); font-weight: 550; }
.stat-card:nth-child(2) strong { color: var(--green); }
.stat-card:nth-child(3) strong { color: var(--pink); }

/* ---------- Section dasar ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 36px; flex-wrap: wrap;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 2.5px; border-radius: 2px; background: var(--blue); }
.eyebrow.green { color: var(--green); }
.eyebrow.green::before { background: var(--green); }
.eyebrow.pink { color: var(--pink); }
.eyebrow.pink::before { background: var(--pink); }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); }
.section-head p { color: var(--muted); font-size: 15px; margin-top: 10px; max-width: 560px; }
.section-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 650; color: var(--blue);
}
.section-link:hover { gap: 12px; }
.section-link .ico { width: 17px; height: 17px; transition: transform .18s ease; }

/* ---------- Kartu layanan ---------- */
.grid-layanan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-steps { margin-bottom: 36px; }
.tile {
  display: block;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-xs);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(1, 116, 196, .28); color: inherit; }
.tile-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.tile-icon .ico { width: 24px; height: 24px; }
.tone-blue .tile-icon { background: var(--blue-soft); color: var(--blue); }
.tone-green .tile-icon { background: var(--green-soft); color: var(--green); }
.tone-pink .tile-icon { background: var(--pink-soft); color: var(--pink); }
.tone-teal .tile-icon { background: #e6f6fa; color: #0b6b80; }
.tone-amber .tile-icon { background: #fdf2e2; color: #99650d; }
.tile h3 { font-size: 17.5px; margin-bottom: 8px; }
.tile p { font-size: 14.2px; color: var(--muted); }
.tile-more { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 650; color: var(--blue); }
.tile-more .ico { width: 15px; height: 15px; }

/* ---------- Agenda ---------- */
.grid-agenda { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event {
  display: flex; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow-xs);
  transition: box-shadow .2s ease, transform .18s ease;
}
.event:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.event-date {
  flex: 0 0 auto; width: 68px; border-radius: 14px;
  padding: 12px 6px; text-align: center; color: #fff;
}
.event-date strong { display: block; font-size: 24px; font-weight: 800; line-height: 1; }
.event-date span { font-size: 11.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; }
.event-date small { display: block; font-size: 10.5px; opacity: .8; margin-top: 3px; }
.tone-blue .event-date { background: linear-gradient(160deg, var(--blue), var(--blue-dark)); }
.tone-green .event-date { background: linear-gradient(160deg, #03ab4c, var(--green-dark)); }
.tone-pink .event-date { background: linear-gradient(160deg, #e30a7b, var(--pink-dark)); }
.tone-teal .event-date { background: linear-gradient(160deg, #0aa7c2, #076b80); }
.tone-amber .event-date { background: linear-gradient(160deg, #e8a318, #99650d); }
.event-tag { font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.tone-blue .event-tag { color: var(--blue); }
.tone-green .event-tag { color: var(--green); }
.tone-pink .event-tag { color: var(--pink); }
.tone-teal .event-tag { color: #0b6b80; }
.tone-amber .event-tag { color: #99650d; }
.event h3 { font-size: 15.5px; margin: 7px 0 8px; }
.event-meta { font-size: 12.8px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.event-meta .ico { width: 14px; height: 14px; }

/* ---------- Berita ---------- */
.grid-berita { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform .18s ease, box-shadow .2s ease;
}
.news:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-thumb { height: 152px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.news-thumb .ico { width: 44px; height: 44px; opacity: .55; }
.tone-blue .news-thumb { background: linear-gradient(135deg, #dceeff, #bfe0f6); color: var(--blue); }
.tone-green .news-thumb { background: linear-gradient(135deg, #ddf6e6, #bdeacd); color: var(--green); }
.tone-pink .news-thumb { background: linear-gradient(135deg, #fde3f0, #f9c6de); color: var(--pink); }
.news-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1 1 auto; gap: 9px; }
.news-tag { font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.tone-blue .news-tag { color: var(--blue); }
.tone-green .news-tag { color: var(--green); }
.tone-pink .news-tag { color: var(--pink); }
.news h3 { font-size: 16.5px; }
.news p { font-size: 14px; color: var(--muted); }
.news-foot { margin-top: auto; padding-top: 8px; font-size: 12.5px; color: #8298a9; display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ---------- Tentang / manfaat ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: center; }
.manfaat-list { display: grid; gap: 16px; margin-top: 26px; }
.manfaat-item { display: flex; gap: 14px; align-items: flex-start; }
.manfaat-check {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-soft); color: var(--green);
}
.manfaat-check .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.manfaat-item h4 { font-size: 15px; margin-bottom: 3px; }
.manfaat-item p { font-size: 13.8px; color: var(--muted); }

.card-member {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl); padding: 32px;
  color: #fff;
  background: linear-gradient(150deg, var(--blue-deep), #044b78 45%, #0174C4 100%);
  box-shadow: var(--shadow-lg);
}
.card-member::before,
.card-member::after { content: ""; position: absolute; border-radius: 50%; }
.card-member::before { width: 230px; height: 230px; right: -80px; top: -90px; background: radial-gradient(circle, rgba(2, 148, 65, .6), transparent 68%); }
.card-member::after { width: 200px; height: 200px; left: -70px; bottom: -80px; background: radial-gradient(circle, rgba(208, 2, 111, .5), transparent 68%); }
.card-member > * { position: relative; z-index: 2; }
.card-member .cm-label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #a9cfe9; font-weight: 700; }
.card-member h3 { color: #fff; font-size: 23px; margin: 10px 0 8px; }
.card-member p { color: #d5e8f5; font-size: 14.2px; }
.card-member .cm-rows { margin: 22px 0 24px; display: grid; gap: 12px; }
.cm-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; padding-bottom: 12px; border-bottom: 1px dashed rgba(255, 255, 255, .22); }
.cm-row span:first-child { color: #b6d6ea; }
.cm-row span:last-child { font-weight: 650; color: #fff; }
.cm-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.cm-logo img { width: 52px; height: 52px; background: #fff; border-radius: 13px; padding: 5px; }

/* ---------- CTA ---------- */
.cta-band {
  border-radius: var(--radius-xl);
  padding: 44px 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(110deg, #04578f, var(--blue) 55%, #0a86c9);
  color: #fff; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 220px at 92% 120%, rgba(208, 2, 111, .55), transparent 70%),
              radial-gradient(360px 200px at 98% -20%, rgba(2, 148, 65, .5), transparent 70%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.cta-band p { color: #d9ebf7; font-size: 14.8px; margin-top: 10px; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: #b9d2e4; padding: 62px 0 0; margin-top: 76px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 34px; padding-bottom: 44px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 48px; height: 48px; background: #fff; border-radius: 12px; padding: 4px; }
.footer-brand strong { color: #fff; font-size: 16px; display: block; letter-spacing: -.02em; }
.footer-brand span { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: #8fb4cd; }
.site-footer p { color: #a8c6da; font-size: 13.8px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #b9d2e4; font-size: 13.8px; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 13px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #b9d2e4; font-size: 13.6px; list-style: none; }
.footer-contact .ico { width: 16px; height: 16px; margin-top: 3px; opacity: .8; flex: 0 0 auto; }
.footer-contact a { color: #b9d2e4; }
.footer-contact a:hover { color: #fff; }
ul { margin: 0; padding: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.8px; color: #89aec8;
}
.footer-bottom a { color: #89aec8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Halaman login ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); }
.auth-wrap > * { min-width: 0; }
.auth-aside {
  position: relative; overflow: hidden; color: #fff;
  padding: 54px 56px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background:
    radial-gradient(720px 420px at 90% -6%, rgba(2, 148, 65, .55), transparent 60%),
    radial-gradient(600px 380px at 4% 96%, rgba(208, 2, 111, .5), transparent 62%),
    linear-gradient(150deg, #06304f, #04578f 55%, #0174C4);
}
.auth-aside > * { position: relative; z-index: 2; }
.auth-brand { display: flex; align-items: center; gap: 14px; }
.auth-brand img { width: 56px; height: 56px; background: #fff; border-radius: 14px; padding: 5px; }
.auth-brand strong { display: block; font-size: 17px; color: #fff; letter-spacing: -.02em; }
.auth-brand span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #a9cfe9; }
.auth-aside h1 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.035em; margin-bottom: 16px; }
.auth-aside h1 em { font-style: normal; color: #b6f2cf; }
.auth-aside p.lead { color: #d3e8f6; font-size: 15.4px; max-width: 460px; }
.auth-points { display: grid; gap: 14px; margin-top: 28px; max-width: 440px; }
.auth-point { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #dbeefb; }
.auth-point .ico { width: 18px; height: 18px; color: #8ce3b0; margin-top: 2px; }
.auth-aside .foot-note { font-size: 12.6px; color: #a6c8de; }

.auth-main {
  display: flex; align-items: center; justify-content: center;
  padding: 54px 32px; background: var(--bg);
}
.auth-card {
  width: 100%; max-width: 430px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 38px 36px 34px; box-shadow: var(--shadow);
}
.auth-card h2 { font-size: 24px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-top: 8px; }
.auth-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-dark);
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 18px;
}
.auth-badge .ico { width: 14px; height: 14px; }

.field { margin-top: 18px; }
/* '>' dipakai agar tidak menimpa label kartu pilihan (radio-card) */
.field > label { display: block; font-size: 13px; font-weight: 650; color: var(--ink-2); margin-bottom: 7px; }
.input-wrap {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  padding: 0 14px; transition: border-color .16s ease, box-shadow .16s ease;
}
.input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(1, 116, 196, .12); }
.input-wrap .ico { color: #90a7ba; width: 18px; height: 18px; }
.input-wrap input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: 14.6px; color: var(--ink); padding: 13px 0;
}
.btn-toggle-pass {
  background: none; border: 0; cursor: pointer; color: #90a7ba; padding: 4px;
  display: inline-flex; align-items: center; border-radius: 6px;
}
.btn-toggle-pass:hover { color: var(--blue); }
.auth-card form .btn { margin-top: 26px; }
.auth-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.check-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.check-inline input { accent-color: var(--blue); width: 15px; height: 15px; }
.auth-back { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2); text-align: center; font-size: 13.4px; }
.auth-back a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }

.alert {
  display: flex; gap: 11px; align-items: flex-start;
  border-radius: 12px; padding: 13px 15px; font-size: 13.6px; margin-top: 20px;
  border: 1px solid transparent;
}
.alert .ico { width: 17px; height: 17px; margin-top: 2px; }
.alert-error { background: #fdecef; border-color: #f7c9d3; color: #9c1230; }
.alert-success { background: var(--green-soft); border-color: #bfe8cd; color: #026c30; }
.alert-info { background: var(--blue-soft); border-color: #c6e2f6; color: var(--blue-dark); }

/* ---------- Panel admin ---------- */
.admin-shell { display: flex; min-height: 100vh; background: var(--bg); }
.admin-sidebar {
  width: 258px; flex: 0 0 258px;
  background: linear-gradient(180deg, #06304f, #053a5f 60%, #044b78);
  color: #c9dfef; padding: 22px 18px; position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 22px;
}
.admin-brand { display: flex; align-items: center; gap: 11px; padding: 4px 6px 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.admin-brand img { width: 42px; height: 42px; background: #fff; border-radius: 11px; padding: 4px; }
.admin-brand strong { color: #fff; font-size: 14.5px; display: block; letter-spacing: -.02em; }
.admin-brand span { font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: #8fb4cd; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav-label { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #7ea7c3; padding: 8px 10px 4px; font-weight: 700; }
.admin-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 10px;
  color: #c9dfef; font-size: 13.8px; font-weight: 550;
}
.admin-nav a .ico { width: 18px; height: 18px; opacity: .85; }
.admin-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.admin-nav a.active { background: #fff; color: var(--blue-dark); font-weight: 700; box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .7); }
.admin-nav a.active .ico { opacity: 1; color: var(--blue); }
.admin-nav a.soon { opacity: .55; cursor: default; }
.admin-nav a.soon:hover { background: transparent; color: #c9dfef; }
.badge-soon { margin-left: auto; font-size: 9.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .16); padding: 2px 7px; border-radius: 999px; }
.admin-sidebar-foot { margin-top: auto; font-size: 11.6px; color: #7ea7c3; padding: 12px 6px 0; border-top: 1px solid rgba(255, 255, 255, .12); }

.admin-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 14px 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 20;
}
.admin-topbar h1 { font-size: 18px; }
.admin-topbar .crumb { font-size: 12.5px; color: var(--muted); }
.admin-user { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.admin-avatar {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(140deg, var(--blue), var(--green));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 750; font-size: 14px;
}
.admin-user-meta { line-height: 1.25; }
.admin-user-meta strong { display: block; font-size: 13.4px; }
.admin-user-meta span { font-size: 11.6px; color: var(--muted); }
.admin-content { padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-xs);
}
.welcome {
  border-radius: var(--radius-lg); padding: 26px 28px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(115deg, #04578f, var(--blue) 62%, #0a86c9);
}
.welcome::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(360px 200px at 96% 130%, rgba(208, 2, 111, .5), transparent 70%),
              radial-gradient(300px 180px at 100% -30%, rgba(2, 148, 65, .5), transparent 70%);
}
.welcome > * { position: relative; z-index: 2; }
.welcome span.tag { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #b0d5ec; font-weight: 700; }
.welcome h2 { color: #fff; font-size: 24px; margin: 8px 0 10px; }
.welcome p { color: #d8ebf7; font-size: 14px; max-width: 620px; }

.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.admin-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-xs); }
.admin-stat-label { display: flex; align-items: center; gap: 8px; font-size: 12.4px; color: var(--muted); font-weight: 600; }
.admin-stat-label .ico { width: 15px; height: 15px; color: var(--blue); }
.admin-stat strong { display: block; font-size: 24px; letter-spacing: -.03em; margin-top: 8px; color: var(--ink); }
.admin-stat small { font-size: 11.6px; color: #93a9b9; }

.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.module {
  border: 1px dashed #cfe0ec; border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 9px; background: #fbfdff;
}
.module .tile-icon { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 4px; }
.module h4 { font-size: 14.6px; }
.module p { font-size: 13.2px; color: var(--muted); }
.pill-soon { align-self: flex-start; font-size: 10.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--pink-soft); color: var(--pink-dark); margin-top: auto; }

/* ---------- Responsif ---------- */
@media (max-width: 1080px) {
  .grid-layanan, .grid-agenda, .grid-berita, .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .main-nav a { padding: 9px 9px; font-size: 13.4px; }
}

/* Layar menengah: rapikan navigasi sebelum menjadi drawer */
@media (max-width: 1280px) {
  .main-nav a { padding: 8px 9px; font-size: 13.6px; }
  .header-actions .btn-outline { display: none; }
}

/* Header berubah jadi menu drawer sebelum navigasi mulai berdesakan */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-outline { display: none; }
  .site-header .container { position: relative; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 18px 18px; box-shadow: var(--shadow);
    display: none; margin-left: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 12px; font-size: 15px; }
  .main-nav .nav-login {
    display: flex; align-items: center; gap: 9px;
    color: var(--blue); font-weight: 700;
    border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 14px;
  }
  .main-nav .nav-login .ico { width: 17px; height: 17px; }
}

@media (max-width: 920px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -40px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .auth-wrap { grid-template-columns: minmax(0, 1fr); }
  .auth-aside { padding: 40px 30px; }
  .auth-points { display: none; }
  .admin-sidebar { display: none; }
  .admin-content { padding: 18px; }
  .admin-topbar { padding: 12px 18px; }
}

@media (max-width: 780px) {
  .topbar-left a:nth-child(2) { display: none; }
  .hero { padding: 52px 0 78px; }
  .hero-logo { width: 76px; height: 76px; border-radius: 20px; }
  .hero-search { padding-left: 14px; }
  .hero-search .btn { padding: 11px 16px; }
  .section { padding: 54px 0; }
  .cta-band { padding: 30px 26px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-bottom: 34px; }
  .site-footer { margin-top: 54px; }
}

@media (max-width: 620px) {
  .grid-layanan, .grid-agenda, .grid-berita, .module-grid, .admin-stats { grid-template-columns: minmax(0, 1fr); }
  .hero-stats { gap: 12px; padding-inline: 16px; }
  .stat-card { padding: 16px 14px; }
  .stat-card strong { font-size: 22px; }
  .brand-text span { display: none; }
  .brand img { width: 40px; height: 40px; }
  .auth-card { padding: 28px 22px; }
  .auth-aside { padding: 30px 20px; }
  .auth-main { padding: 30px 18px; }
  .section-head { margin-bottom: 26px; }
  .admin-user-meta { display: none; }
  .topbar .container { gap: 8px; }
  .socials { display: none; }
}

@media (max-width: 400px) {
  .header-actions { display: none; }
  .hero-search { padding: 6px 6px 6px 12px; }
  .hero-search .btn { padding: 9px 14px; font-size: 13px; }
  .brand-text strong { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Modul Master — tabel data & formulir CRUD
   ========================================================================== */
.crud-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }

.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-title { font-size: 17px; letter-spacing: -.02em; }
.panel-sub { font-size: 13.2px; color: var(--muted); margin-top: 5px; }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table thead th {
  background: #f4f9fd;
  text-align: left;
  font-size: 11.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table tbody td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafcfe; }
.data-table tbody tr.row-active { background: var(--blue-soft); box-shadow: inset 3px 0 0 var(--blue); }
.data-table .col-no { width: 58px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: center; }
.data-table .col-jenjang { width: 104px; }
.data-table .col-nama { font-weight: 600; color: var(--ink); }
.data-table .col-aksi { width: 168px; }
.table-empty { padding: 26px 16px; text-align: center; color: var(--muted); font-size: 13.6px; }

.chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; padding: 4px 10px; border-radius: 8px;
  font-size: 11.5px; font-weight: 750; letter-spacing: .04em;
  background: var(--blue-soft); color: var(--blue-dark);
}
.chip-d3, .chip-d4 { background: var(--green-soft); color: var(--green-dark); }
.chip-s1 { background: var(--blue-soft); color: var(--blue-dark); }
.chip-s2 { background: var(--pink-soft); color: var(--pink-dark); }
.chip-ners, .chip-profesi { background: #fdf2e2; color: #99650d; }

.row-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.form-inline { margin: 0; display: inline; }
.btn-icon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff;
  color: var(--ink-2); font-size: 12.5px; font-weight: 600;
  font-family: inherit; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-icon .ico { width: 14px; height: 14px; }
.btn-icon:hover { background: var(--blue-soft); border-color: rgba(1, 116, 196, .35); color: var(--blue-dark); }
.btn-icon.danger:hover { background: #fdecef; border-color: #f5c2cd; color: #a3122f; }

.req { color: var(--pink); }
.field-hint { font-size: 12px; color: #8298a9; margin-top: 6px; }
.field-error { font-size: 12.4px; color: #b3132f; margin-top: 6px; font-weight: 600; }
.select-wrap { position: relative; }
.select-wrap select {
  width: 100%; appearance: none;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff;
  font-family: inherit; font-size: 14.6px; color: var(--ink);
  padding: 12px 40px 12px 14px;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.select-wrap select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(1, 116, 196, .12); }
.select-wrap::after {
  content: ""; position: absolute; right: 15px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid #90a7ba; border-bottom: 2px solid #90a7ba;
  transform: rotate(45deg); pointer-events: none;
}
.form-actions { display: flex; align-items: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.form-actions .btn { flex: 1 1 auto; }
.form-actions .btn-outline { flex: 0 0 auto; }
#form-prodi { scroll-margin-top: 96px; }

@media (max-width: 1080px) {
  .crud-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table { font-size: 13.2px; }
  .data-table thead th, .data-table tbody td { padding: 10px 8px; }
  .data-table thead th { font-size: 10.5px; letter-spacing: .05em; }
  .data-table .col-aksi { width: auto; }
  .data-table .col-nama { word-break: break-word; }
  .btn-icon span { display: none; }
  .btn-icon { padding: 7px; }
  .btn-icon .ico { width: 16px; height: 16px; }
  .data-table .col-no { width: 34px; }
  .data-table .col-jenjang { width: 62px; }
  .chip { min-width: 40px; padding: 3px 7px; font-size: 10.5px; }
  .panel { padding: 18px 16px; }
  .admin-content { gap: 18px; }
}

/* ---------- Filter, paginasi, dan detail tabel wilayah ---------- */
.filter-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px; margin-bottom: 16px;
  background: #f7fbfe; border: 1px solid var(--line); border-radius: var(--radius);
}
.filter-select { flex: 1 1 200px; min-width: 0; }
.filter-select select { padding-top: 9px; padding-bottom: 9px; font-size: 13.4px; border-radius: 10px; }
.filter-search { flex: 1 1 200px; min-width: 0; border-radius: 10px; background: #fff; }
.filter-search input { padding: 9px 0; font-size: 13.4px; }
.filter-bar .btn { flex: 0 0 auto; }

.kode-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; padding: 3px 8px; border-radius: 7px;
  background: #f1f6fa; color: var(--ink-2);
  font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
}
.count-link {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-dark);
  font-size: 11.5px; font-weight: 700;
}
.count-link:hover { background: #d8ebf9; color: var(--blue-dark); }
.muted { color: var(--muted); font-size: 13px; }

.data-table .col-kode { width: 76px; }
.data-table .col-jumlah { width: 104px; }
.data-table .col-prov { width: 190px; color: var(--ink-2); font-size: 13.4px; }

.tipe-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  margin-right: 8px; vertical-align: middle;
}
.tipe-dot.is-kota { background: var(--pink); }
.tipe-dot.is-kab { background: var(--green); }

.pagination {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 16px; flex-wrap: wrap;
}
.page-info { font-size: 12.6px; color: var(--muted); }
.page-btns { display: flex; gap: 8px; }

#daftar, #form-provinsi, #form-kabkota { scroll-margin-top: 96px; }

@media (max-width: 640px) {
  .data-table .col-kode { width: 58px; }
  .data-table .col-jumlah { width: 78px; }
  .data-table .col-prov { width: auto; }
  .filter-bar { padding: 10px; gap: 8px; }
  .filter-bar .btn { flex: 1 1 auto; }
  .kode-chip { min-width: 28px; padding: 2px 6px; font-size: 10.5px; }
  .count-link { padding: 2px 7px; font-size: 10.5px; }
  .data-table tbody td, .data-table thead th { overflow-wrap: anywhere; }
  .data-table .col-prov { font-size: 12px; }
  .data-table .col-nama { font-size: 12.6px; }
  .tipe-dot { margin-right: 5px; }
}

/* ---------- Kartu modul yang bisa diklik (dashboard) ---------- */
.module-link { text-decoration: none; color: inherit; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.module-link:hover { border-color: rgba(1, 116, 196, .4); background: #fff; transform: translateY(-2px); color: inherit; }
.module-cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.4px; font-weight: 700; color: var(--blue);
}
.module-cta .ico { width: 14px; height: 14px; }

/* ==========================================================================
   Halaman publik: Form Pendaftaran Anggota
   ========================================================================== */
.page-form { background: var(--bg); }

.form-header {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.form-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 70px; flex-wrap: wrap;
}
.form-header .brand img { width: 42px; height: 42px; }

.form-main { padding: 34px 22px 60px; max-width: 880px; }
.form-intro { text-align: center; margin-bottom: 26px; }
.form-intro .hero-badge { margin-bottom: 14px; }
.form-title { font-size: clamp(22px, 3vw, 31px); letter-spacing: -.03em; }
.form-sub { color: var(--muted); font-size: 14.6px; margin-top: 10px; max-width: 620px; margin-inline: auto; }

/* Progres langkah */
.form-progress {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 auto 24px; max-width: 620px; flex-wrap: wrap;
}
.fp-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.8px; font-weight: 650; color: #93a9b9; white-space: nowrap;
}
.fp-step span {
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #eef4f9; color: #93a9b9; font-size: 11.5px; font-weight: 800;
}
.fp-step.is-active { color: var(--blue-dark); }
.fp-step.is-active span { background: var(--blue); color: #fff; }
.fp-step.is-done { color: var(--green-dark); }
.fp-step.is-done span { background: var(--green); color: #fff; }
.fp-line { flex: 1 1 auto; height: 2px; background: var(--line); border-radius: 2px; min-width: 14px; }

/* Kartu form */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 30px 32px; box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.form-card-narrow { max-width: 620px; margin-inline: auto; }
.form-section-title {
  display: flex; align-items: center; gap: 11px;
  font-size: 16.5px; margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}
.fs-num {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue-dark);
  font-size: 12.5px; font-weight: 800;
}

/* minmax(0, …) wajib: tanpa ini track grid tidak bisa menyusut di bawah
   min-content dan menyebabkan overflow horizontal di layar sempit. */
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.field-row .field { margin-top: 0; min-width: 0; }
.field { min-width: 0; }
.input-wrap, .select-wrap, .textarea-wrap { min-width: 0; }
.field-label { display: block; font-size: 13px; font-weight: 650; color: var(--ink-2); margin-bottom: 9px; }

.textarea-wrap { align-items: flex-start; padding-top: 11px; padding-bottom: 11px; }
.textarea-wrap .ico { margin-top: 2px; }
.textarea-wrap textarea {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: 14.6px; color: var(--ink);
  line-height: 1.6; resize: vertical; padding: 2px 0; min-height: 62px;
}
.input-wrap input[type="date"] { min-height: 20px; }

/* Pilihan Sudah / Belum bekerja */
.radio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field .radio-card {
  display: flex; align-items: center; gap: 11px;
  margin-bottom: 0; font-weight: 400; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px;
  cursor: pointer; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
  background: #fff;
}
.field .radio-card:hover { border-color: rgba(1, 116, 196, .4); background: #fbfdff; }
.field .radio-card input { accent-color: var(--blue); width: 17px; height: 17px; flex: 0 0 auto; margin: 0; }
.field .radio-card:has(input:checked) {
  border-color: var(--blue); background: var(--blue-soft);
  box-shadow: 0 0 0 3px rgba(1, 116, 196, .1);
}
.rc-body strong { display: block; font-size: 14px; }
.rc-body small { font-size: 11.8px; color: var(--muted); }

.kerja-panel {
  margin-top: 22px; padding: 20px 22px;
  background: #f8fbfe; border: 1px dashed #cfe0ec; border-radius: var(--radius);
}
.kerja-panel[hidden] { display: none; }
.kerja-panel .field:first-child { margin-top: 0; }

/* Tombol aksi */
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.form-actions-split { justify-content: space-between; }

/* ---------- Preview konfirmasi ---------- */
.preview-block { margin-top: 22px; }
.preview-block:first-of-type { margin-top: 18px; }
.preview-title {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-dark); margin-bottom: 12px; font-weight: 750;
}
.preview-title .ico { width: 16px; height: 16px; }
.preview-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.pv-row {
  background: #fff; padding: 11px 15px;
  display: flex; flex-direction: column; gap: 3px;
}
.pv-row.pv-full { grid-column: 1 / -1; }
.pv-row span { font-size: 11.6px; color: var(--muted); letter-spacing: .02em; }
.pv-row strong { font-size: 14px; color: var(--ink); font-weight: 650; line-height: 1.45; word-break: break-word; }
.pv-pass em { font-style: normal; font-weight: 500; font-size: 11.6px; color: var(--muted); }

/* ---------- Halaman sukses ---------- */
.sukses-icon {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-soft); color: var(--green);
}
.sukses-icon .ico { width: 32px; height: 32px; stroke-width: 2.4; }
.sukses-nomor {
  margin-top: 22px; padding: 18px 20px; border-radius: var(--radius);
  background: linear-gradient(135deg, #04578f, var(--blue) 70%);
  color: #fff; text-align: center;
  display: flex; flex-direction: column; gap: 5px; align-items: center;
}
.sukses-nomor span { font-size: 11.6px; letter-spacing: .07em; text-transform: uppercase; color: #c7e2f4; }
.sukses-nomor strong { font-size: 23px; letter-spacing: .02em; font-weight: 800; }
.badge-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 11.4px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
  margin-top: 6px;
}
.badge-status.is-menunggu { background: rgba(255, 255, 255, .18); color: #fff; }
.badge-status.is-aktif { background: var(--green-soft); color: var(--green-dark); }
.badge-status.is-ditolak { background: #fdecef; color: #a3122f; }
.sukses-detail { margin-top: 20px; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sd-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 15px; background: #fff; border-bottom: 1px solid var(--line-2); font-size: 13.6px; }
.sd-row:last-child { border-bottom: 0; }
.sd-row span { color: var(--muted); }
.sd-row strong { text-align: right; word-break: break-word; }

.form-footer { border-top: 1px solid var(--line); background: #fff; padding: 22px 0; text-align: center; font-size: 12.8px; color: var(--muted); }

/* Layar sangat sempit: sembunyikan garis penghubung agar progres tidak meluber */
@media (max-width: 400px) {
  .form-progress { gap: 6px 10px; }
  .fp-line { display: none; }
}

/* ---------- Responsif form ---------- */
@media (max-width: 720px) {
  .form-main { padding: 24px 16px 44px; }
  .form-card { padding: 22px 18px; border-radius: var(--radius-lg); }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .field-row .field { margin-top: 16px; }
  .field-row .field:first-child { margin-top: 0; }
  .radio-cards { grid-template-columns: minmax(0, 1fr); }
  .preview-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { flex: 1 1 auto; }
  .form-actions-split { flex-direction: column-reverse; }
  .form-actions-split .btn { width: 100%; }
  .fp-step { font-size: 11.4px; }
  .fp-step span { width: 21px; height: 21px; font-size: 10.5px; }
  .form-header .btn { padding: 8px 13px; font-size: 12.6px; }
  .kerja-panel { padding: 16px 15px; }
  .sd-row { flex-direction: column; gap: 3px; }
  .sd-row strong { text-align: left; }
}

/* ---------- Admin: Data Anggota ---------- */
.row-sub { display: block; font-size: 11.8px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.data-table .col-prodi { width: 170px; font-size: 13.2px; }
.data-table .col-taun { width: 70px; font-variant-numeric: tabular-nums; }
.data-table .col-status { width: 150px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.detail-grid .preview-block:first-child { grid-column: 1 / -1; }
.status-form {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2);
}
.status-form .btn:disabled { opacity: .55; cursor: default; transform: none; }
#detail { scroll-margin-top: 96px; }

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .data-table .col-prodi { width: auto; font-size: 11.6px; }
  .data-table .col-taun { width: 48px; font-size: 12px; }
  .data-table .col-status { width: auto; }
  .badge-status { font-size: 9.6px; padding: 3px 8px; letter-spacing: .02em; }
  .status-form { gap: 7px; }
  .status-form .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Area Anggota (menu keanggotaan)
   ========================================================================== */
.member-shell { display: flex; min-height: 100vh; background: var(--bg); }

.member-sidebar {
  width: 268px; flex: 0 0 268px;
  background: linear-gradient(180deg, #06304f, #053a5f 55%, #044b78);
  color: #c9dfef; padding: 22px 18px; position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 18px; overflow-y: auto;
}
.member-brand { display: flex; align-items: center; gap: 11px; padding: 4px 4px 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.member-brand img { width: 42px; height: 42px; background: #fff; border-radius: 11px; padding: 4px; }
.member-brand strong { color: #fff; font-size: 14.5px; display: block; letter-spacing: -.02em; }
.member-brand span { font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: #8fb4cd; }

.member-ident { display: flex; align-items: center; gap: 11px; padding: 2px 4px; }
.member-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12);
}
.member-avatar-inisial {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: #fff;
  background: linear-gradient(140deg, var(--blue), var(--green));
}
.member-ident-meta { min-width: 0; }
.member-ident-meta strong { color: #fff; font-size: 13.2px; display: block; line-height: 1.3; word-break: break-word; }
.member-nomor { font-size: 10.8px; color: #8fb4cd; letter-spacing: .03em; }

.member-nav { display: grid; gap: 3px; }
.member-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  color: #c9dfef; font-size: 13.6px; font-weight: 550;
}
.member-nav a .ico { width: 18px; height: 18px; opacity: .85; }
.member-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.member-nav a.active { background: #fff; color: var(--blue-dark); font-weight: 700; box-shadow: 0 8px 18px -12px rgba(0,0,0,.7); }
.member-nav a.active .ico { color: var(--blue); opacity: 1; }
.nav-badge {
  margin-left: auto; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--green); color: #fff; padding: 2px 7px; border-radius: 999px;
}

.member-sidebar-foot { margin-top: auto; display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.member-sidebar-foot .btn-outline { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #e8f2fa; }
.member-sidebar-foot .btn-outline:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.45); color: #fff; }
.member-link-publik { font-size: 11.8px; color: #8fb4cd; text-align: center; }
.member-link-publik:hover { color: #fff; }

.member-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.member-topbar {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 14px 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 20;
}
.member-topbar h1 { font-size: 18px; }
.member-crumb { font-size: 12.5px; color: var(--muted); }
.member-topbar-right { margin-left: auto; }

.member-badge {
  display: inline-flex; align-items: center; padding: 5px 13px; border-radius: 999px;
  font-size: 11.4px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase;
  background: #eef4f9; color: var(--ink-2);
}
.member-badge.is-aktif { background: var(--green-soft); color: var(--green-dark); }
.member-badge.is-verifikasi { background: var(--blue-soft); color: var(--blue-dark); }
.member-badge.is-menunggu { background: #fdf2e2; color: #99650d; }
.member-badge.is-nonaktif { background: #f1f3f5; color: #5a6b78; }
.member-badge.is-ditolak { background: #fdecef; color: #a3122f; }
.member-badge.light { background: rgba(255,255,255,.18); color: #fff; }

.member-content { padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.member-footer { margin-top: auto; padding: 18px 26px; border-top: 1px solid var(--line); font-size: 12.4px; color: var(--muted); background: #fff; }

/* Banner notifikasi kelengkapan */
.notif-banner {
  display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap;
  padding: 18px 20px; border-radius: var(--radius-lg);
  background: linear-gradient(115deg, #fff6e8, #fdeef4 70%);
  border: 1px solid #f6dfc4;
  box-shadow: 0 10px 24px -20px rgba(153, 101, 13, .5);
}
.notif-icon {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: #b8791a;
}
.notif-icon .ico { width: 20px; height: 20px; }
.notif-body { flex: 1 1 260px; min-width: 0; }
.notif-body strong { display: block; font-size: 14.6px; color: #7a4c07; }
.notif-body p { font-size: 13.6px; color: #8a6a3a; margin-top: 4px; }
.notif-body a { color: var(--pink-dark); font-weight: 700; text-decoration: underline; }
.notif-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Hero area anggota */
.member-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  border-radius: var(--radius-lg); padding: 26px 28px; color: #fff;
  background: linear-gradient(115deg, #04578f, var(--blue) 62%, #0a86c9);
  position: relative; overflow: hidden;
}
.member-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(360px 200px at 96% 130%, rgba(208,2,111,.5), transparent 70%),
              radial-gradient(300px 180px at 100% -30%, rgba(2,148,65,.5), transparent 70%);
}
.member-hero > * { position: relative; z-index: 2; }
.member-hero-tag { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #b0d5ec; font-weight: 700; }
.member-hero h2 { color: #fff; font-size: 23px; margin: 8px 0 8px; }
.member-hero p { color: #d8ebf7; font-size: 14px; max-width: 560px; }
.member-hero-nomor {
  display: flex; flex-direction: column; gap: 5px; align-items: flex-start;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius); padding: 15px 18px;
}
.member-hero-nomor span:first-child { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #c7e2f4; }
.member-hero-nomor strong { font-size: 19px; font-weight: 800; letter-spacing: .01em; color: #fff; }

.admin-stat strong.is-text { font-size: 15.5px; line-height: 1.35; }

/* Progres & langkah */
.progress-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 62px; padding: 6px 14px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-dark);
  font-size: 13px; font-weight: 800;
}
.progress-bar { height: 8px; border-radius: 999px; background: #eef4f9; overflow: hidden; margin-bottom: 20px; }
.progress-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--green)); transition: width .3s ease; }

.step-list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.step-item {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.step-item.is-done { background: #f8fdfa; border-color: #cfeadd; }
.step-mark {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: #eef4f9; color: var(--ink-2); font-size: 12.6px; font-weight: 800;
}
.step-mark .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.step-item.is-done .step-mark { background: var(--green); color: #fff; }
.step-body { flex: 1 1 auto; min-width: 0; }
.step-body strong { display: block; font-size: 14px; }
.step-body span { font-size: 12.6px; color: var(--muted); }
.step-done-tag { font-size: 11.4px; font-weight: 750; color: var(--green-dark); letter-spacing: .04em; text-transform: uppercase; }

/* Upload */
.upload-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }

.foto-pratinjau {
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); overflow: hidden; background: #f4f9fd; border: 1px solid var(--line);
  aspect-ratio: 1 / 1; max-width: 280px; margin: 0 auto;
}
.foto-pratinjau img { width: 100%; height: 100%; object-fit: cover; }
.foto-kosong {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 100%; min-height: 160px; color: #93a9b9; font-size: 13px;
}
.foto-kosong .ico { width: 40px; height: 40px; opacity: .6; }

.bukti-pratinjau {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #f4f9fd;
}
.bukti-pratinjau img { width: 100%; max-height: 340px; object-fit: contain; display: block; }

.file-drop {
  display: flex; align-items: center; gap: 13px;
  border: 1.5px dashed #c6d9e8; border-radius: var(--radius);
  padding: 16px 18px; cursor: pointer; background: #fbfdff;
  transition: border-color .16s ease, background .16s ease;
}
.file-drop:hover { border-color: rgba(1,116,196,.5); background: #f4faff; }
.file-drop input[type="file"] { display: none; }
.file-drop-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue);
}
.file-drop-icon .ico { width: 20px; height: 20px; }
.file-drop-text { min-width: 0; }
.file-drop-text strong { display: block; font-size: 14px; }
.file-drop-text small { font-size: 12.2px; color: var(--muted); }
.file-nama { font-size: 12.4px; color: var(--muted); margin-top: 8px; }
.file-nama.is-picked { color: var(--green-dark); font-weight: 650; }

.info-list { margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.info-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 15px; background: #fff; border-bottom: 1px solid var(--line-2); font-size: 13.4px; }
.info-row:last-child { border-bottom: 0; }
.info-row span { color: var(--muted); }
.info-row strong { text-align: right; }

.input-wrap.is-readonly { background: #f6f9fc; border-style: dashed; }
.input-wrap.is-readonly input { color: var(--ink-2); cursor: not-allowed; }
.input-wrap.is-readonly .ico { color: #b3c3d0; }

/* Direktori */
.filter-bar-dir .filter-select { flex: 1 1 150px; }
.table-dir .col-foto { width: 62px; }
.table-dir .col-angkatan { width: 86px; font-variant-numeric: tabular-nums; }
.table-dir .col-hp { width: 132px; font-size: 13px; }
.table-dir .col-email { width: 190px; font-size: 12.8px; word-break: break-word; }
.dir-foto {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block;
  background: var(--blue-soft); border: 1px solid var(--line);
}
.dir-foto-inisial {
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--blue-dark);
}

/* Verifikasi */
.data-table .col-aksi-lebar { width: 260px; }
.kode-chip.is-muted { background: #f1f3f5; color: #7d8f9c; font-weight: 600; }
.bukti-link { display: inline-flex; align-items: center; gap: 4px; font-size: 11.6px; font-weight: 650; color: var(--blue); text-decoration: underline; }
.bukti-link .ico { width: 12px; height: 12px; }
.row-sub-note { font-size: 11.4px; color: var(--muted); }
.row-sub .badge-status { font-size: 9.6px; padding: 2px 8px; display: inline-flex; vertical-align: middle; }
.row-sub { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 5px; }

/* Responsif area anggota */
@media (max-width: 1080px) {
  .upload-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .member-sidebar {
    position: static; width: 100%; flex: 1 1 auto; height: auto; overflow: visible;
    flex-direction: column;
  }
  .member-shell { flex-direction: column; }
  .member-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-sidebar-foot { margin-top: 12px; grid-template-columns: 1fr auto; align-items: center; }
  .member-brand { padding-bottom: 12px; }
  .member-topbar { position: static; }
  .member-content { padding: 18px; gap: 18px; }
  .member-footer { padding: 16px 18px; }
}
@media (max-width: 640px) {
  .member-nav { grid-template-columns: minmax(0, 1fr); }
  .member-hero { padding: 20px 18px; }
  .member-hero h2 { font-size: 19px; }
  .member-hero-nomor { width: 100%; }
  .notif-banner { padding: 15px 15px; }
  .notif-actions { width: 100%; }
  .notif-actions .btn { flex: 1 1 auto; }
  .step-item { flex-wrap: wrap; }
  .foto-pratinjau { max-width: 100%; }
  .table-dir .col-hp, .table-dir .col-email { width: auto; font-size: 11.6px; }
  .data-table .col-aksi-lebar { width: auto; }
  .data-table .col-angkatan { width: 58px; font-size: 12px; }
}

/* Berkas keanggotaan pada detail admin */
.berkas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.berkas-item { display: flex; flex-direction: column; gap: 7px; }
.berkas-label { font-size: 11.6px; color: var(--muted); letter-spacing: .02em; }
.berkas-item img {
  width: 100%; max-height: 240px; object-fit: contain;
  border: 1px solid var(--line); border-radius: 12px; background: #f7fbfe;
}
.berkas-kosong {
  display: flex; align-items: center; justify-content: center;
  min-height: 90px; border: 1px dashed #cfdde8; border-radius: 12px;
  background: #fafcfe; color: #93a9b9; font-size: 12.6px;
}
.berkas-note { font-size: 11.8px; color: var(--ink-2); }
@media (max-width: 640px) {
  .berkas-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Kolom tambahan tabel admin ---------- */
.data-table .col-tglbayar { width: 116px; white-space: nowrap; }
.tgl-kuat { font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink); }
.data-table .col-noanggota { width: 138px; }
.data-table .col-hp { width: 132px; font-size: 13px; font-variant-numeric: tabular-nums; }
.data-table .col-hp a { white-space: nowrap; }
.data-table .col-nama .row-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }

@media (max-width: 900px) {
  .data-table .col-noanggota { width: 118px; }
  .data-table .col-hp { width: 112px; font-size: 12px; }
  .data-table .col-nama .row-sub { max-width: 180px; }
}

@media (max-width: 640px) {
  .data-table .col-tglbayar { width: 92px; }
  .tgl-kuat { font-size: 11.8px; }
  .data-table .col-noanggota { width: 104px; }
  .data-table .col-hp { width: 104px; font-size: 11.4px; }
  .data-table .col-nama .row-sub { max-width: 130px; }
}

/* ---------- Penyesuaian tabel admin yang kolomnya banyak ---------- */
@media (max-width: 1100px) {
  .table-anggota thead th, .table-anggota tbody td,
  .table-verif thead th, .table-verif tbody td { padding: 8px 6px; }
  .table-anggota { font-size: 12.2px; }
  /* Tahun masuk disembunyikan agar 7 kolom lain tetap terbaca tanpa digulir */
  .table-anggota .col-taun { display: none; }
  /* kolom berlebar tetap dilonggarkan agar tabel tidak perlu digulir */
  .table-anggota .col-prodi,
  .table-anggota .col-status,
  .table-anggota .col-aksi,
  .table-anggota .col-taun { width: auto; }
  .table-anggota .col-nama .row-sub { max-width: 120px; }
  .table-anggota .col-noanggota .kode-chip { font-size: 10.5px; padding: 2px 6px; min-width: 0; }
  .table-verif .col-aksi-lebar { width: auto; }
  /* tombol aksi jadi ikon saja (label tetap ada sebagai tooltip) */
  .table-anggota .btn-icon span, .table-verif .btn-icon span { display: none; }
  .table-anggota .btn-icon, .table-verif .btn-icon { padding: 7px; }
  .table-verif .col-prodi { width: auto; }
}

@media (max-width: 900px) {
  .table-anggota thead th, .table-anggota tbody td,
  .table-verif thead th, .table-verif tbody td { padding: 9px 8px; }
  .table-anggota { font-size: 12.8px; }
  .table-anggota .col-prodi .muted { display: none; }
  .table-anggota .col-noanggota { width: auto; }
  .table-anggota .col-noanggota .kode-chip { font-size: 10.5px; padding: 2px 6px; min-width: 0; }
  .table-anggota .col-nama .row-sub { max-width: 130px; }
  .table-anggota .col-hp { width: auto; }
}

@media (max-width: 700px) {
  /* Tahun masuk disembunyikan agar kolom lebih ringkas di layar kecil */
  .table-anggota .col-taun { display: none; }
  .table-verif .col-aksi-lebar { width: auto; }
  .table-anggota .col-nama .row-sub { max-width: 120px; }
  .table-verif .col-angkatan { display: none; }
  .table-anggota thead th, .table-anggota tbody td,
  .table-verif thead th, .table-verif tbody td { padding: 8px 6px; }
  .table-anggota { font-size: 12px; }
  .table-anggota .col-hp, .table-verif .col-tglbayar { font-size: 11px; }
  .table-anggota .col-hp { width: 96px; }
}

/* ==========================================================================
   Modul Berita (admin + publik)
   ========================================================================== */
.chip-kat-berita { background: var(--blue-soft); color: var(--blue-dark); }
.chip-kat-liputan { background: var(--green-soft); color: var(--green-dark); }
.chip-kat-kegiatan { background: var(--pink-soft); color: var(--pink-dark); }
.chip-kat-pengumuman { background: #fdf2e2; color: #99650d; }

.crud-grid-berita { grid-template-columns: minmax(0, 1fr); }
.crud-grid-berita #form-berita { max-width: 820px; }
.data-table .col-kategori { width: 120px; }
.data-table .col-penulis { width: 170px; font-size: 12.8px; word-break: break-word; }
.data-table .col-tanggal { width: 100px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-berita .col-nama .row-sub { max-width: 340px; }

.berita-gambar-lama { margin-top: 12px; display: grid; gap: 6px; }
.berita-gambar-lama img {
  width: 100%; max-height: 190px; object-fit: cover;
  border: 1px solid var(--line); border-radius: 12px; background: #f7fbfe;
}
.berita-gambar-lama .muted { font-size: 11.8px; }
#form-berita { scroll-margin-top: 96px; }

/* Gambar pada kartu berita publik */
.news-thumb.is-gambar { padding: 0; }
.news-thumb.is-gambar img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.news { text-decoration: none; color: inherit; }
a.news:hover { color: inherit; }

/* Empty state */
.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 52px 24px; text-align: center;
  border: 1px dashed #cfdde8; border-radius: var(--radius-lg); background: #fbfdff;
}
.empty-state .ico { width: 42px; height: 42px; color: #9db6c8; }
.empty-state strong { font-size: 16px; }
.empty-state p { font-size: 13.8px; color: var(--muted); max-width: 420px; }
.empty-state .btn { margin-top: 8px; }

/* Hero ringkas untuk halaman dalam */
.hero-page { padding: 54px 0 62px; }
.hero-page .hero-inner { max-width: 760px; }
.hero-page h1 { font-size: clamp(26px, 3.8vw, 40px); }

/* Detail berita */
.berita-detail-wrap { max-width: 860px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12.8px; color: var(--muted); margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.crumb-current { color: var(--ink-2); font-weight: 600; }

.berita-detail-head { margin-bottom: 22px; }
.berita-detail-head h1 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.03em; margin: 12px 0 14px; }
.berita-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13.2px; color: var(--muted); }
.berita-meta span { display: inline-flex; align-items: center; gap: 7px; }
.berita-meta .ico { width: 15px; height: 15px; }

.berita-detail-gambar { margin: 0 0 24px; }
.berita-detail-gambar img {
  width: 100%; max-height: 440px; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.berita-ringkasan {
  font-size: 16.5px; line-height: 1.7; color: var(--ink-2);
  padding: 16px 20px; border-left: 4px solid var(--blue);
  background: var(--blue-soft); border-radius: 0 12px 12px 0; margin-bottom: 24px;
  font-weight: 500;
}
.berita-isi { font-size: 15.8px; line-height: 1.85; color: var(--ink-2); }
.berita-isi p { margin: 0 0 16px; }

.berita-detail-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line);
}
.berita-share { display: flex; align-items: center; gap: 8px; font-size: 12.8px; color: var(--muted); }
.berita-lainnya { margin-top: 44px; }

@media (max-width: 1080px) {
  .crud-grid-berita { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .data-table .col-kategori, .data-table .col-penulis { width: auto; }
  .data-table .col-tanggal { width: 78px; font-size: 11.8px; }
  .table-berita .col-nama .row-sub { max-width: 150px; }
  .berita-isi { font-size: 15px; }
  .berita-ringkasan { font-size: 15px; padding: 14px 16px; }
  .berita-detail-foot { flex-direction: column; align-items: stretch; }
}

/* Berita: penulis dipindah ke bawah judul pada layar menengah */
.row-sub-penulis { display: none; }

@media (max-width: 1100px) {
  .table-berita thead th, .table-berita tbody td,
  .table-berita { font-size: 12.2px; }
  .table-berita thead th, .table-berita tbody td { padding: 8px 6px; }
  .table-berita .col-penulis { display: none; }
  .row-sub-penulis { display: inline; color: var(--ink-2); font-weight: 600; }
  .table-berita .col-kategori { width: auto; }
  .table-berita .col-tanggal { width: auto; }
  .table-berita .col-aksi { width: auto; }
  /* tombol aksi jadi ikon saja agar tabel tidak perlu digulir */
  .table-berita .btn-icon span { display: none; }
  .table-berita .btn-icon { padding: 7px; }
  .table-berita .col-nama .row-sub { max-width: 200px; }
}
@media (max-width: 640px) {
  .table-berita { font-size: 11.4px; }
  .table-berita thead th, .table-berita tbody td { padding: 7px 4px; }
  .table-berita thead th { font-size: 9.6px; letter-spacing: 0; }
  .table-berita .col-tanggal { font-size: 10.4px; }
  .table-berita .col-nama .row-sub { max-width: 96px; }
  .table-berita .col-no { width: 26px; }
  .table-berita .chip { font-size: 9.4px; padding: 2px 5px; min-width: 0; }
}

/* Layar sangat sempit: ringkasan disembunyikan, tabel berita tetap utuh */
@media (max-width: 400px) {
  .table-berita .col-nama .row-sub { display: none; }
  .table-berita thead th, .table-berita tbody td { padding: 7px 3px; }
  .table-berita .col-kategori .chip { font-size: 9px; padding: 2px 4px; }
}

/* ==========================================================================
   Modul Agenda Kegiatan
   ========================================================================== */
.chip-tipe-seminar { background: var(--blue-soft); color: var(--blue-dark); }
.chip-tipe-webinar { background: var(--green-soft); color: var(--green-dark); }
.chip-tipe-pelatihan { background: var(--pink-soft); color: var(--pink-dark); }
.chip-tipe-konferensi { background: #e6f6fa; color: #0b6b80; }
.chip-tipe-kongres { background: #fdf2e2; color: #99650d; }
.chip-tipe-lainnya { background: #eef1f5; color: #4a5c6b; }

.field-group-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.8px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-2); margin: 22px 0 -6px;
  padding-bottom: 8px; border-bottom: 1px dashed var(--line);
}
.field-group-label .ico { width: 15px; height: 15px; color: var(--blue); }
.field-group-label .muted { text-transform: none; letter-spacing: 0; font-weight: 500; }

.input-suffix {
  flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--muted);
  padding-left: 8px; border-left: 1px solid var(--line);
}

/* Tabel agenda di admin */
.data-table .col-tipe { width: 108px; }
.data-table .col-waktu { width: 190px; font-size: 12.8px; }
.data-table .col-lokasi { width: 190px; font-size: 12.8px; word-break: break-word; }
.table-agenda .col-nama .row-sub { margin-top: 5px; }
.table-agenda .col-nama .chip, .table-agenda .col-nama .kode-chip { font-size: 9.6px; padding: 2px 7px; }

/* Daftar agenda publik */
.agenda-list { display: grid; gap: 16px; }
.agenda-item {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 22px; box-shadow: var(--shadow-xs);
  transition: box-shadow .2s ease, transform .16s ease;
}
.agenda-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.agenda-date { width: 74px; }
.agenda-body { flex: 1 1 auto; min-width: 0; }
.agenda-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.agenda-head h3 { font-size: 17px; margin: 0; }
.agenda-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13.2px; color: var(--muted); margin-top: 6px; }
.agenda-meta span { display: inline-flex; align-items: flex-start; gap: 6px; }
.agenda-meta .ico { width: 15px; height: 15px; margin-top: 2px; flex: 0 0 auto; }
.agenda-desc { font-size: 13.8px; color: var(--ink-2); margin-top: 10px; line-height: 1.7; }
.agenda-list.is-lewat .agenda-item { opacity: .78; background: #fbfcfd; }
.agenda-list.is-lewat .event-date { filter: grayscale(.45); }

@media (max-width: 900px) {
  .data-table .col-waktu, .data-table .col-lokasi { width: auto; }
}
@media (max-width: 640px) {
  .data-table .col-tipe { width: auto; }
  .table-agenda { font-size: 11.8px; }
  .table-agenda thead th, .table-agenda tbody td { padding: 8px 6px; }
  .table-agenda .col-lokasi { display: none; }
  .table-agenda .btn-icon span { display: none; }
  .table-agenda .btn-icon { padding: 7px; }
  .table-agenda .col-waktu { font-size: 11px; }
  .agenda-item { flex-direction: column; gap: 14px; padding: 16px; }
  .agenda-date { width: 100%; max-width: 78px; }
  .agenda-head h3 { font-size: 15.5px; }
  .agenda-meta { gap: 10px; font-size: 12.6px; }
}

/* Agenda admin: layar sempit — ringkas kolom tanpa kehilangan informasi penting */
@media (max-width: 480px) {
  .table-agenda thead th, .table-agenda tbody td { padding: 7px 3px; }
  .table-agenda { font-size: 10.6px; }
  .table-agenda thead th { font-size: 9px; letter-spacing: 0; }
  .table-agenda .col-no { width: 20px; }
  .table-agenda .col-nama .row-sub { display: none; }
  .table-agenda .col-waktu { font-size: 10px; }
  .table-agenda .chip { font-size: 8.6px; padding: 2px 4px; min-width: 0; }
  .table-agenda .btn-icon { padding: 6px; }
  .table-agenda .link-daftar-mini { padding: 4px; }
}

/* ==========================================================================
   Widget CS Support WhatsApp (tombol mengambang)
   ========================================================================== */
.cs-widget { position: fixed; right: 22px; bottom: 22px; z-index: 90; }

.cs-fab {
  position: relative;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 20px 13px 16px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #25D366, #029441);
  color: #fff; font-family: inherit; font-size: 14px; font-weight: 700;
  box-shadow: 0 14px 30px -12px rgba(2, 148, 65, .85), 0 4px 12px rgba(0,0,0,.12);
  transition: transform .16s ease, box-shadow .18s ease;
}
.cs-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(2, 148, 65, .95); }
.cs-fab:active { transform: translateY(0); }
.cs-fab:focus-visible { outline: 3px solid rgba(37, 211, 102, .5); outline-offset: 3px; }
.cs-fab-ico { display: inline-flex; }
.cs-fab-ico .ico { width: 20px; height: 20px; }
.cs-fab-dot {
  position: absolute; top: 2px; right: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #ff4d6d; border: 2px solid #fff;
  animation: csPulse 2s ease-in-out infinite;
}
@keyframes csPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: .75; }
}

/* Panel */
.cs-panel {
  position: absolute; right: 0; bottom: 72px;
  width: 336px; max-width: calc(100vw - 32px);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px -22px rgba(6, 48, 79, .45);
  overflow: hidden;
  animation: csIn .18s ease-out;
}
.cs-panel[hidden] { display: none; }
@keyframes csIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cs-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 16px;
  background: linear-gradient(120deg, #04578f, var(--blue) 60%, #029441);
  color: #fff;
}
.cs-head-ident { display: flex; align-items: center; gap: 11px; min-width: 0; }
.cs-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.2); color: #fff;
}
.cs-avatar .ico { width: 19px; height: 19px; }
.cs-head-ident strong { display: block; font-size: 14px; color: #fff; line-height: 1.25; }
.cs-status { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #d6ecdf; }
.cs-status i { width: 6px; height: 6px; border-radius: 50%; background: #7CF29C; display: inline-block; }
.cs-close {
  background: rgba(255,255,255,.16); border: 0; border-radius: 8px;
  width: 30px; height: 30px; flex: 0 0 auto; cursor: pointer; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.cs-close:hover { background: rgba(255,255,255,.3); }
.cs-close .ico { width: 16px; height: 16px; }

.cs-body { padding: 14px 16px 16px; }
.cs-intro { font-size: 12.8px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }

.cs-list { display: grid; gap: 9px; }
.cs-item {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: #fbfdff;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
  color: inherit; text-decoration: none;
}
.cs-item:hover { border-color: rgba(2,148,65,.5); background: #f2fdf6; transform: translateY(-1px); color: inherit; }
.cs-item-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #25D366, #029441); color: #fff;
  font-weight: 800; font-size: 14px;
}
.cs-item-body { flex: 1 1 auto; min-width: 0; }
.cs-item-body strong { display: block; font-size: 13.4px; color: var(--ink); }
.cs-item-body span { font-size: 12.2px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cs-item-go { flex: 0 0 auto; color: #9db6c8; display: inline-flex; }
.cs-item-go .ico { width: 16px; height: 16px; }
.cs-item:hover .cs-item-go { color: #029441; }

.cs-foot {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 11px; padding-top: 11px; border-top: 1px dashed var(--line-2);
  font-size: 11.8px; color: var(--muted); line-height: 1.55;
}
.cs-foot .ico { width: 14px; height: 14px; margin-top: 2px; flex: 0 0 auto; color: #9db6c8; }
.cs-foot a { color: var(--blue); word-break: break-word; }

.footer-cs-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .cs-widget { right: 14px; bottom: 14px; }
  .cs-fab { padding: 12px 16px 12px 13px; font-size: 13px; }
  .cs-fab .ico { width: 18px; height: 18px; }
  .cs-panel { width: calc(100vw - 28px); right: -8px; bottom: 66px; }
  .footer-cs-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-fab-dot { animation: none; }
  .cs-panel { animation: none; }
}

/* ---------- Link pendaftaran agenda ---------- */
.data-table .col-link { width: 84px; }
.link-daftar-mini {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-dark);
  font-size: 11.2px; font-weight: 750;
  text-decoration: none;
}
.link-daftar-mini:hover { background: #cdeed9; color: var(--green-dark); }
.link-daftar-mini .ico { width: 12px; height: 12px; }

/* Tombol daftar pada agenda publik */
.agenda-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.agenda-cta .btn { padding: 9px 18px; font-size: 13.4px; }
.agenda-cta-note {
  font-size: 11.6px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--green-dark);
}
.agenda-cta-note::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); margin-right: 6px; vertical-align: middle;
}

/* Tombol daftar pada kartu agenda di beranda */
.event-daftar {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 6px 13px; border-radius: 999px;
  background: var(--green); color: #fff;
  font-size: 12.2px; font-weight: 700; text-decoration: none;
  transition: background .16s ease, transform .16s ease;
}
.event-daftar:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.event-daftar .ico { width: 14px; height: 14px; }

@media (max-width: 640px) {
  .data-table .col-link { width: auto; }
  .table-agenda .col-link .link-daftar-mini span { display: none; }
  .agenda-cta .btn { width: 100%; justify-content: center; }
  .agenda-cta-note { font-size: 10.6px; }
}

/* Agenda admin: kolom Daftar ringkas agar tabel tidak perlu digulir */
@media (max-width: 1100px) {
  /* Lokasi dipindah ke bawah judul agar 6 kolom lain muat tanpa digulir */
  .table-agenda .col-lokasi { display: none; }
  .table-agenda .col-lokasi-mini { display: inline-flex; }
  .table-agenda .col-link { width: auto; }
  .table-agenda .link-daftar-mini { padding: 2px 7px; font-size: 10.4px; }
  .table-agenda .col-aksi { width: auto; }
}
@media (max-width: 640px) {
  .table-agenda .col-link .link-daftar-mini span { display: none; }
  .table-agenda .col-link .link-daftar-mini { padding: 5px; }
}

/* Lokasi versi ringkas (di bawah judul) — hanya tampil saat kolom Lokasi disembunyikan */
.col-lokasi-mini { display: none; font-size: 11px; color: var(--muted); margin-top: 3px; }
.col-lokasi-mini .ico { width: 11px; height: 11px; vertical-align: -1px; margin-right: 3px; }

/* 320px: sembunyikan kolom Tipe (masih terbaca dari judul) agar tabel pas */
@media (max-width: 360px) {
  .table-agenda .col-tipe { display: none; }
  .table-agenda thead th, .table-agenda tbody td { padding: 6px 3px; }
  .table-agenda { font-size: 10.2px; }
  .table-agenda .col-waktu { font-size: 9.6px; }
}

/* ---------- Jalan pintas antara login admin & login anggota ---------- */
.auth-admin-note {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px; padding: 12px 14px;
  border: 1px dashed var(--line); border-radius: 12px; background: #f8fbfe;
}
.auth-admin-note span { font-size: 12.6px; color: var(--muted); }
.auth-admin-note .btn { flex: 0 0 auto; }

.header-admin-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 34px; height: 34px; flex: 0 0 auto;
  color: var(--muted); border: 1px solid var(--line); border-radius: 9px;
  background: #fff;
}
.header-admin-link span { display: none; }   /* ikon saja agar header tidak meluber */
.header-admin-link:hover { color: var(--blue-dark); background: var(--blue-soft); border-color: rgba(1,116,196,.35); }
.header-admin-link .ico { width: 15px; height: 15px; }

/* Ruang header mulai sempit: rapatkan navigasi sedikit */
@media (max-width: 1500px) {
  .main-nav a { padding: 9px 10px; font-size: 13.6px; }
}

@media (max-width: 1180px) {
  .header-admin-link { display: none; }
}

/* ==========================================================================
   Modul Career (informasi lowongan kerja)
   ========================================================================== */

/* Chip bidang memakai tone yang sama dengan kotak tanggal agenda */
.chip-tone-blue  { background: var(--blue-soft);  color: var(--blue-dark); }
.chip-tone-green { background: var(--green-soft); color: var(--green-dark); }
.chip-tone-pink  { background: var(--pink-soft);  color: var(--pink-dark); }
.chip-tone-teal  { background: #e6f6fa; color: #0b6b80; }
.chip-tone-amber { background: #fdf2e2; color: #99650d; }

/* Kartu lowongan publik */
.career-item { align-items: flex-start; }
.career-date { text-align: center; }
.career-date-label {
  display: block; font-size: 9px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; opacity: .85; margin-bottom: 3px;
}
.career-posisi { font-size: 14.2px; font-weight: 650; color: var(--ink); margin-top: 4px; }
.career-jumlah {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.4px; font-weight: 700; color: var(--ink-2);
  background: #eef1f5; border-radius: 999px; padding: 3px 10px;
}
.career-jumlah .ico { width: 13px; height: 13px; }
.career-sisa { font-style: normal; font-weight: 700; color: var(--green-dark); }
.career-kualifikasi { max-width: 780px; }
.career-sumber { font-size: 11.8px; color: var(--muted); }

/* Poster: thumbnail kecil, klik untuk ukuran penuh */
.career-poster { flex: 0 0 auto; }
.career-poster-link { display: block; border-radius: 10px; line-height: 0; }
.career-poster-link img {
  width: 104px; height: 138px; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--line); background: #fff;
  transition: box-shadow .18s ease, transform .18s ease;
}
.career-poster-link:hover img { transform: translateY(-2px); box-shadow: var(--shadow); }
.career-poster-pdf {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  width: 104px; height: 138px; padding: 12px; text-align: center;
  border: 1px dashed rgba(1,116,196,.45); border-radius: 10px;
  background: var(--blue-soft); color: var(--blue-dark);
  font-size: 11.4px; font-weight: 750; line-height: 1.4;
}
.career-poster-pdf .ico { width: 20px; height: 20px; }

/* Tabel lowongan di admin */
.data-table .col-bidang { width: 168px; }
.data-table .col-batas { width: 108px; font-size: 12.8px; }
.data-table .col-status { width: 108px; }
.data-table .col-poster { width: 74px; }
.table-career .col-nama .row-sub { margin-top: 4px; }
.table-career .col-nama .chip { font-size: 9.6px; padding: 2px 7px; }
.table-career .col-lokasi-mini { display: none; }

/* Poster saat ini pada formulir admin */
.career-poster-lama {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 12px; padding: 12px;
  border: 1px solid var(--line); border-radius: 12px; background: #fbfcfd;
}
.career-poster-lama img {
  width: 78px; height: 104px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line); background: #fff;
}
.career-poster-file {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 8px;
  background: var(--blue-soft); color: var(--blue-dark);
  font-size: 12.2px; font-weight: 700;
}
.career-poster-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.career-poster-meta .muted { font-size: 11.8px; }
.career-poster-meta a { font-size: 12.4px; font-weight: 650; }

@media (max-width: 1100px) {
  .data-table .col-bidang, .data-table .col-batas, .data-table .col-status, .data-table .col-poster { width: auto; }
  .table-career .col-poster { display: none; }
  .table-career .col-lokasi-mini {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; color: var(--muted); margin-top: 3px;
  }
  .table-career .col-lokasi-mini .ico { width: 12px; height: 12px; }
  .table-career .btn-icon span { display: none; }
  .table-career .btn-icon { padding: 7px; }
}

@media (max-width: 640px) {
  .career-item { gap: 14px; }
  .career-poster { width: 100%; }
  .career-poster-link img { width: 100%; max-width: 132px; height: 170px; }
  .career-poster-pdf { width: 100%; max-width: 132px; height: 100px; }
  .career-kualifikasi { font-size: 13px; }
  .table-career { font-size: 11.4px; }
  .table-career thead th, .table-career tbody td { padding: 8px 6px; }
  .table-career .col-batas { font-size: 10.8px; }
  .table-career .col-nama .chip { font-size: 8.8px; padding: 2px 5px; }
}

@media (max-width: 480px) {
  .table-career { font-size: 10.6px; }
  .table-career thead th, .table-career tbody td { padding: 7px 3px; }
  .table-career .col-status { display: none; }
  .table-career .col-nama .row-sub { display: none; }
  .table-career .col-batas { font-size: 10px; }
  .table-career .chip { font-size: 8.4px; padding: 2px 4px; min-width: 0; }
}

/* ---------- Header: tambahan menu Career (8 item) ----------
   Area header sudah sangat ketat (lihat AGENTS.md). Mulai 1600px ke bawah,
   subjudul brand disembunyikan dan navigasi dirapatkan agar tidak meluber. */
@media (min-width: 1181px) and (max-width: 1700px) {
  .brand-text span { display: none; }
  .main-nav a { padding: 8px 8px; font-size: 13.2px; }
}

/* Layar sangat sempit: kolom bidang disembunyikan agar tabel lowongan tanpa gulir */
@media (max-width: 360px) {
  .table-career .col-bidang { display: none; }
  .table-career thead th, .table-career tbody td { padding: 6px 2px; }
  .table-career { font-size: 10px; }
}

/* Form hapus poster (berdiri sendiri di luar form utama, lihat AGENTS.md) */
.career-hapus-poster {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.career-hapus-poster .muted { font-size: 11.8px; }
