:root {
  --maroon: #78113f;
  --maroon2: #941d52;
  --ink: #202337;
  --muted: #697084;
  --line: #e7e8ef;
  --paper: #fff;
  --wash: #f7f7fa;
  --gold: #e4b75b;
  --green: #27794d;
  --blue: #315da8;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--wash);
  color: var(--ink);
  font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topline {
  background: #55102f;
  color: #fff;
  font-size: 12px;
  padding: 8px 5vw;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topline a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.head-inner {
  max-width: 1240px;
  margin: auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.seal {
  height: 64px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seal-img {
  height: 100%;
  width: auto;
  max-height: 64px;
  object-fit: contain;
  display: block;
}

.brand {
  min-width: 0;
}

.brand .local {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .02em;
}

.brand h1 {
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.15;
  margin: 3px 0;
  font-weight: 780;
  letter-spacing: -.035em;
}

.brand p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.head-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  border: 1px solid var(--line);
  background: white;
  padding: 10px 14px;
  border-radius: 9px;
  font-weight: 650;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn.primary {
  background: var(--maroon);
  border-color: var(--maroon);
  color: white;
}

.nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1240px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  align-items: center;
  overflow: auto;
}

.nav a {
  white-space: nowrap;
  padding: 15px 16px;
  color: #4c4e5e;
  font-size: 13px;
  font-weight: 650;
  border-bottom: 3px solid transparent;
}

.nav a.active,
.nav a:hover {
  color: var(--maroon);
  border-color: var(--maroon);
}

.page {
  flex: 1 0 auto;
  width: 100%;
  box-sizing: border-box;
  max-width: 1240px;
  margin: 30px auto;
  padding: 0 24px;
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

.intro {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 24px;
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--maroon);
  font-weight: 800;
}

.intro h2 {
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -.04em;
  margin: 6px 0 8px;
}

.intro p {
  margin: 0;
  color: var(--muted);
  max-width: 650px;
}

.search {
  display: flex;
  gap: 8px;
  min-width: min(100%, 330px);
  background: white;
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 12px;
  box-shadow: 0 5px 20px #17132b05;
}

.search input {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  padding: 8px 10px;
  font: inherit;
}

.search button {
  border: 0;
  border-radius: 8px;
  background: var(--maroon);
  color: #fff;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}

.quicklinks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.quick {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  gap: 13px;
  align-items: center;
  min-height: 100px;
  transition: .18s;
}

.quick:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px #23152b0b;
  border-color: #d7b4c5;
}

.quick-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: #f8eaf1;
  color: var(--maroon);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.quick:nth-child(2) .quick-icon {
  background: #eaf2ff;
  color: var(--blue);
}

.quick:nth-child(3) .quick-icon {
  background: #eaf6ee;
  color: var(--green);
}

.quick:nth-child(4) .quick-icon {
  background: #fff4df;
  color: #a66a06;
}

.quick strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.quick small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.arrow {
  margin-left: auto;
  color: #999;
  font-size: 20px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .85fr);
  gap: 18px;
  align-items: start;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.panel-head h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -.02em;
}

.panel-head a {
  color: var(--maroon);
  font-size: 12px;
  font-weight: 750;
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 14px 20px 0;
  flex-wrap: wrap;
}

.tab {
  border: 1px solid var(--line);
  background: white;
  color: #626779;
  border-radius: 20px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.tab.active {
  background: #f8eaf1;
  border-color: #e8c5d4;
  color: var(--maroon);
}

.notice {
  padding: 17px 22px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 13px;
  border-bottom: 1px solid #f0f0f4;
  align-items: center;
}

.notice:last-child {
  border-bottom: 0;
}

.doc-icon {
  height: 40px;
  width: 40px;
  background: #f6f1f4;
  color: var(--maroon);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.18s ease, background 0.18s ease;
}

.doc-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  display: block;
}

.notice h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 730;
}

.notice h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.notice h4 a:hover {
  color: var(--maroon);
  text-decoration: underline;
}

.notice .meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}

.pill {
  display: inline-block;
  background: #fff0d8;
  color: #885a00;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.pill.new {
  background: #fbe8ee;
  color: #9b194c;
}

.file {
  font-size: 11px;
  color: #6d7181;
  white-space: nowrap;
  padding-top: 3px;
}

.side-body {
  padding: 17px;
}

.side-link {
  display: flex;
  gap: 12px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 10px;
  align-items: center;
}

.side-link:last-child {
  margin-bottom: 0;
}

.side-link:hover {
  border-color: #d6b1c4;
  background: #fffafd;
}

.side-symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f8eaf1;
  color: var(--maroon);
  font-size: 18px;
  flex-shrink: 0;
}

.side-link strong {
  display: block;
  font-size: 13px;
}

.side-link small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.side-link .arrow {
  font-size: 17px;
}

.notice-empty {
  padding: 32px;
  text-align: center;
  color: var(--muted);
  display: none;
}

.info-strip {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #555b6e;
  font-size: 12px;
}

.info-strip b {
  color: var(--maroon);
}

footer {
  margin-top: auto;
  background: #241b2a;
  color: #fff;
}

.foot-inner {
  max-width: 1240px;
  margin: auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.foot-seal {
  height: 44px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.foot-logo {
  height: 100%;
  width: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.foot-brand strong {
  display: block;
  font-size: 14px;
}

.foot-brand span {
  display: block;
  color: #c8bfca;
  font-size: 12px;
  margin-top: 3px;
}

.foot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #ded6df;
  font-size: 12px;
}

.copyright {
  border-top: 1px solid #ffffff1c;
  padding: 12px 24px;
  text-align: center;
  color: #bcb2bf;
  font-size: 11px;
}

@media (max-width: 900px) {
  .quicklinks {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .intro {
    align-items: stretch;
    flex-direction: column;
  }

  .search {
    max-width: 100%;
    width: 100%;
  }

  .head-actions .btn:not(.primary) {
    display: none;
  }
}

@media (max-width: 540px) {
  .topline {
    padding: 8px 16px;
  }

  .head-inner {
    padding: 15px 16px;
    gap: 10px;
  }

  .seal {
    height: 48px;
    width: auto;
    flex-basis: auto;
  }

  .brand .local {
    font-size: 11px;
  }

  .brand p {
    font-size: 11px;
  }

  .head-actions .btn {
    font-size: 0;
    padding: 10px;
  }

  .head-actions .btn.primary {
    font-size: 11px;
  }

  .nav-inner {
    padding: 0 10px;
  }

  .nav a {
    padding: 13px 12px;
  }

  .page {
    padding: 0 14px;
    margin: 22px auto;
  }

  .quicklinks {
    gap: 9px;
  }

  .quick {
    padding: 13px;
    gap: 9px;
    min-height: 90px;
  }

  .quick-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .quick strong {
    font-size: 12px;
  }

  .quick small {
    font-size: 10px;
  }

  .panel-head {
    padding: 17px;
  }

  .notice {
    grid-template-columns: 34px 1fr;
    padding: 15px;
    gap: 10px;
  }

  .doc-icon {
    height: 34px;
    width: 34px;
  }

  .doc-icon svg {
    width: 17px;
    height: 17px;
  }

  .file {
    grid-column: 2;
  }

  .notice h4 {
    font-size: 13px;
  }

  .foot-inner {
    padding: 22px 16px;
  }
}

/* Visual refresh */
:root {
  --maroon: #71113b;
  --maroon2: #a12b5d;
  --gold: #efc46d;
  --wash: #f5f4f7;
}

body {
  background: linear-gradient(180deg, #fbf9fb 0, #f5f4f7 48%, #f8f7f9 100%);
}

.topline {
  background: linear-gradient(90deg, #3d0924, #6e123b 62%, #48102e);
}

.header {
  box-shadow: 0 5px 22px #28102108;
  position: relative;
  z-index: 2;
}

.brand h1 {
  color: #3a1830;
}

.nav {
  box-shadow: 0 7px 20px #28102106;
}

.nav a {
  transition: color .2s, border-color .2s;
}

.page {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1320px;
  margin: 24px auto 36px;
}

.breadcrumb {
  margin: 0 0 15px 3px;
  color: #858090;
}

.breadcrumb a:hover {
  color: var(--maroon);
  text-decoration: underline;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  min-height: 340px;
  padding: clamp(28px, 5vw, 58px);
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  background: #40172e url('./Assets/image/hero.png') center 43%/cover no-repeat;
  box-shadow: 0 18px 45px #3b10251c;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(53, 8, 34, .96) 0%, rgba(91, 14, 53, .88) 43%, rgba(65, 12, 42, .38) 76%, rgba(39, 11, 30, .2) 100%);
}

.hero:after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -150px;
  width: 390px;
  height: 390px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  box-shadow: 0 0 0 32px #ffffff0b, 0 0 0 68px #ffffff08;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
  color: white;
  z-index: 1;
}

.hero .eyebrow {
  color: #f4cc7d;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  letter-spacing: .15em;
}

.hero .eyebrow:before {
  content: "";
  height: 2px;
  width: 25px;
  background: var(--gold);
}

.hero h2 {
  font-size: clamp(31px, 4.3vw, 52px);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 14px 0 14px;
  max-width: 740px;
  color: #fff;
}

.hero p {
  color: #f7eaf1;
  font-size: clamp(14px, 1.3vw, 17px);
  max-width: 640px;
  line-height: 1.75;
  margin: 0 0 23px;
}

.hero-actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 17px;
  border-radius: 10px;
  background: #fff;
  color: #671038;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 18px #19071420;
  transition: transform .2s, box-shadow .2s;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px #19071430;
}

.hero-btn.secondary {
  background: #ffffff12;
  color: #fff;
  border: 1px solid #ffffff80;
  backdrop-filter: blur(8px);
}

.search-row {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 20px;
}

.search {
  width: min(100%, 480px);
  box-shadow: 0 9px 28px #25162a0a;
  border-radius: 13px;
}

.quicklinks {
  gap: 15px;
  margin: 0 0 27px;
}

.quick {
  border-radius: 16px;
  padding: 19px;
  background: linear-gradient(135deg, #fff 0%, #fff 70%, #fcf7fa 100%);
  box-shadow: 0 7px 23px #25162a06;
  position: relative;
  overflow: hidden;
}

.quick:after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  right: -35px;
  top: -35px;
  background: #7c16400a;
  transition: transform .2s;
}

.quick:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px #31152b12;
  border-color: #dfbdcd;
}

.quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #faeaf1, #f4dce7);
  font-size: 23px;
}

.content-grid {
  gap: 20px;
}

.panel {
  border-radius: 18px;
  box-shadow: 0 8px 30px #25162a08;
  border-color: #ebe6ed;
}

.panel-head {
  padding: 21px 23px;
  background: linear-gradient(100deg, #fff, #fdfafd);
}

.panel-head h3 {
  font-size: 18px;
}

.panel-head h3:before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 19px;
  background: var(--maroon2);
  border-radius: 4px;
  margin-right: 10px;
  vertical-align: -3px;
}

.tabs {
  padding: 15px 21px 0;
}

.tab {
  transition: all .15s;
}

.tab:hover {
  border-color: #d9a9bf;
  color: var(--maroon);
}

.notice {
  padding: 19px 22px;
  transition: background .15s;
}

.notice:hover {
  background: #fffbfd;
}

.notice:hover .doc-icon {
  background: linear-gradient(145deg, #f2d4e1, #e8c6d7);
  transform: translateY(-1px);
}

.doc-icon {
  background: linear-gradient(145deg, #f9edf2, #f2e2ea);
  font-size: 19px;
}

.pill {
  border-radius: 20px;
  padding: 4px 9px;
}

.side-body {
  padding: 18px;
}

.side-link {
  transition: transform .15s, border-color .15s, background .15s;
}

.side-link:hover {
  transform: translateX(2px);
  background: #fff8fb;
}

.side-symbol {
  background: linear-gradient(145deg, #f9edf2, #f2e2ea);
}

.info-strip {
  border-radius: 13px;
  background: linear-gradient(100deg, #fff, #fff9fc);
  box-shadow: 0 5px 18px #25162a05;
}

footer {
  background: linear-gradient(110deg, #211522, #3e1830 70%, #251421);
}

@media (max-width: 700px) {
  .hero {
    min-height: 390px;
    padding: 28px 23px;
    border-radius: 18px;
    background-position: 58% center;
  }

  .hero:before {
    background: linear-gradient(90deg, rgba(53, 8, 34, .94), rgba(75, 10, 44, .78) 75%, rgba(39, 11, 30, .48));
  }

  .hero h2 {
    font-size: 34px;
  }

  .search-row {
    justify-content: stretch;
  }

  .search {
    width: 100%;
  }
}

/* Archive / All Notices Page Styles */
.archive-header-banner {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 6px 24px rgba(37, 22, 42, 0.04);
}

.archive-header-banner .eyebrow {
  margin-bottom: 6px;
}

.archive-header-banner h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 6px 0 10px;
  letter-spacing: -0.03em;
  color: #3a1830;
}

.archive-header-banner p {
  margin: 0;
  color: var(--muted);
  max-width: 780px;
  line-height: 1.6;
}

.archive-toolbar {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.archive-search {
  width: 100%;
  max-width: 100%;
}

.archive-filters-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.archive-meta-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.results-count {
  font-size: 13px;
  color: var(--muted);
  font-weight: 650;
}

.reset-btn {
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.reset-btn:hover {
  border-color: #d9a9bf;
  color: var(--maroon);
}

.archive-panel {
  box-shadow: 0 8px 30px rgba(37, 22, 42, 0.06);
}

.notice-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: #626779;
  background: #f1edf3;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.notice-desc {
  margin: 8px 0 0;
  font-size: 13px;
  color: #555b6e;
  line-height: 1.55;
}

.notice-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #696e80;
  font-size: 12px;
  font-weight: 500;
}

.notice-date svg {
  stroke: var(--maroon);
  flex-shrink: 0;
}

.notice-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 130px;
}

.notice-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dfbdcd;
  color: var(--maroon);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s;
  white-space: nowrap;
}

.notice-btn:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(113, 17, 59, 0.18);
}

@media (max-width: 768px) {
  .notice {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
  }

  .notice-actions {
    grid-column: 2;
    align-items: flex-start;
    flex-direction: row;
    margin-top: 6px;
  }

  .archive-filters-row {
    flex-direction: column;
    align-items: stretch;
  }

  .archive-meta-controls {
    margin-left: 0;
    justify-content: space-between;
  }
}

/* Pagination Component */
.pagination-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  background: #faf9fb;
}

.pagination-info {
  font-size: 13px;
  color: var(--muted);
}

.pagination-info strong {
  color: var(--ink);
  font-weight: 700;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.page-btn:hover:not(:disabled):not(.active) {
  border-color: #d9a9bf;
  color: var(--maroon);
  background: #fff8fb;
  transform: translateY(-1px);
}

.page-btn.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: white;
  box-shadow: 0 3px 10px rgba(113, 17, 59, 0.25);
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f4f4f7;
  border-color: #e7e8ef;
}

.page-btn.page-nav {
  padding: 0 14px;
  font-weight: 700;
  color: #4c4e5e;
}

.page-btn.page-nav:hover:not(:disabled) {
  color: var(--maroon);
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 36px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 600px) {
  .pagination-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }

  .pagination-controls {
    width: 100%;
    justify-content: center;
  }

  .page-btn.page-nav {
    padding: 0 10px;
    font-size: 12px;
  }
}

/* View Notice Detail Page Styles */
.notice-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(290px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.notice-detail-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 42px;
  box-shadow: 0 10px 32px rgba(37, 22, 42, 0.05);
}

.notice-doc-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 2px solid #ecdde4;
  margin-bottom: 24px;
}

.notice-doc-emblem {
  height: 58px;
  width: auto;
  margin: 0 auto 10px;
  display: block;
  object-fit: contain;
}

.notice-doc-gov {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--maroon);
}

.notice-doc-dept {
  font-size: 18px;
  font-weight: 800;
  color: #241b2a;
  margin: 4px 0 2px;
}

.notice-doc-loc {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.notice-doc-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background: #fbf9fb;
  border-radius: 10px;
  border: 1px solid #f0e6eb;
  margin-bottom: 24px;
  font-size: 13px;
}

.notice-doc-meta-item strong {
  color: var(--ink);
}

.notice-doc-heading {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.35;
  color: #1f1422;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.notice-doc-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.notice-doc-body {
  font-size: 15px;
  line-height: 1.75;
  color: #3b3e4e;
}

.notice-doc-body p {
  margin: 0 0 16px;
}

.notice-doc-body ul,
.notice-doc-body ol {
  margin: 0 0 18px 22px;
  padding: 0;
}

.notice-doc-body li {
  margin-bottom: 8px;
}

.notice-table-wrapper {
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.notice-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.notice-table th {
  background: #fbf8fa;
  color: #49132d;
  font-weight: 750;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.notice-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f2f6;
  color: #4c4e5e;
}

.notice-table tr:last-child td {
  border-bottom: none;
}

.notice-attachment-card {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7fa 0%, #fff 100%);
  border: 1px solid #ecd0dc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.notice-attachment-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.notice-attachment-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fbeaf1;
  color: var(--maroon);
  font-size: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.notice-attachment-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.notice-sign-block {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding-top: 20px;
  border-top: 1px dashed #e2d1d9;
}

.notice-sign-title {
  font-weight: 800;
  color: #241b2a;
  font-size: 14px;
}

.notice-sign-sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.notice-copies-block {
  margin-top: 28px;
  padding: 16px 20px;
  background: #fbfbfd;
  border: 1px solid #ebebf2;
  border-radius: 12px;
  font-size: 12px;
  color: #63677b;
}

.notice-copies-block strong {
  display: block;
  margin-bottom: 8px;
  color: #222;
}

.notice-copies-block ol {
  margin: 0 0 0 18px;
  padding: 0;
}

.notice-sidebar-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(37, 22, 42, 0.04);
}

.notice-sidebar-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notice-sidebar-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 750;
  color: #2e1d2c;
}

.notice-sidebar-head a {
  font-size: 11px;
  color: var(--maroon);
  font-weight: 750;
}

.notice-sidebar-list {
  padding: 12px;
}

.notice-sidebar-item {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  margin-bottom: 6px;
}

.notice-sidebar-item:last-child {
  margin-bottom: 0;
}

.notice-sidebar-item:hover {
  background: #fff8fb;
  border-color: #f1d5e3;
  transform: translateX(2px);
}

.notice-sidebar-item.active {
  background: #fbeaf1;
  border-color: #ecd0dc;
}

.notice-sidebar-item h5 {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.35;
  color: #1f1422;
  font-weight: 700;
}

.notice-sidebar-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.recent-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.recent-card:hover {
  transform: translateY(-2px);
  border-color: #dfbdcd !important;
  box-shadow: 0 10px 24px rgba(37, 22, 42, 0.07);
}

@media (max-width: 900px) {
  .notice-detail-layout {
    grid-template-columns: 1fr;
  }

  .notice-detail-card {
    padding: 24px 20px;
  }

  .notice-attachment-card {
    flex-direction: column;
    align-items: stretch;
  }

  .notice-attachment-actions {
    justify-content: flex-start;
  }
}

@media print {

  .topline,
  .header,
  .nav,
  footer,
  .head-actions,
  .notice-sidebar,
  .breadcrumb,
  .notice-attachment-card {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .page {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  .notice-detail-layout {
    display: block !important;
  }

  .notice-detail-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .pdf-viewer-toolbar,
  .pdf-bottom-actions {
    display: none !important;
  }

  .pdf-frame-wrapper {
    height: 100vh !important;
  }
}

/* Embedded PDF Viewer Section & Bottom Actions */
.pdf-viewer-section {
  margin-top: 20px;
  border: 1px solid #dcdce6;
  border-radius: 14px;
  overflow: hidden;
  background: #2a2c33;
  box-shadow: 0 8px 26px rgba(37, 22, 42, 0.08);
}

.pdf-viewer-toolbar {
  background: #1f2127;
  color: #fff;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pdf-toolbar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #e5e7eb;
}

.pdf-toolbar-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #f3f4f6;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.pdf-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdf-tool-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.pdf-tool-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.pdf-frame-wrapper {
  position: relative;
  width: 100%;
  height: 680px;
  background: #525659;
}

.pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Actions Bar Directly Below PDF Viewer */
.pdf-bottom-actions {
  margin-top: 20px;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 4px 18px rgba(37, 22, 42, 0.04);
}

.pdf-meta-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.pdf-meta-note strong {
  color: var(--ink);
}

.pdf-action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-print {
  background: #fff;
  border: 1px solid #d6b1c4;
  color: var(--maroon);
  height: 42px;
  padding: 0 18px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  box-sizing: border-box;
  line-height: 1;
}

.btn-print:hover {
  background: #fff5f9;
  border-color: var(--maroon);
  color: var(--maroon);
  transform: translateY(-1px);
}

.btn-download {
  background: var(--maroon);
  border: 1px solid var(--maroon);
  color: #ffffff !important;
  height: 42px;
  padding: 0 18px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 4px 14px rgba(113, 17, 59, 0.22);
  box-sizing: border-box;
  line-height: 1;
}

.btn-download,
.btn-download *,
.btn-download span {
  color: #ffffff !important;
}

.btn-download svg {
  stroke: #ffffff !important;
}

.btn-download:hover {
  background: #8b1c4b;
  border-color: #8b1c4b;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(113, 17, 59, 0.3);
}

.notice-actions .btn-download {
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(110, 16, 46, 0.2);
}

.btn-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  display: block;
}

@media (max-width: 768px) {
  .pdf-frame-wrapper {
    height: 480px;
  }

  .pdf-bottom-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pdf-action-buttons {
    justify-content: stretch;
  }

  .pdf-action-buttons .btn-print,
  .pdf-action-buttons .btn-download {
    flex: 1;
    justify-content: center;
  }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-wrapper {
  max-width: 1040px;
  margin: 10px auto 40px;
  width: 100%;
}

.contact-header {
  margin-bottom: 26px;
}

.contact-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1f1422;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.contact-header p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Contact Info Side Card */
.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 26px;
  box-shadow: 0 4px 20px rgba(37, 22, 42, 0.04);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--maroon);
  background: #fdf2f6;
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.contact-info-title {
  font-size: 20px;
  font-weight: 800;
  color: #1e1322;
  margin: 0 0 4px 0;
}

.contact-info-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f6edf1;
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--maroon);
  margin-bottom: 4px;
}

.contact-item-val {
  font-size: 14.5px;
  line-height: 1.55;
  color: #2b202e;
  font-weight: 500;
}

.contact-item-val a {
  color: var(--maroon);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
  transition: color 0.15s ease;
}

.contact-item-val a:hover {
  color: #55102f;
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(37, 22, 42, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.contact-form-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-form-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #1e1322;
  margin: 0 0 4px 0;
}

.contact-form-header p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: #2e2332;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-label .req {
  color: #c92a2a;
}

.form-control {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 14px;
  color: #1e1322;
  background: #fbfbfd;
  border: 1.5px solid #dedee6;
  border-radius: 9px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
}

.form-control:focus {
  background: #ffffff;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(120, 17, 63, 0.12);
}

.form-control::placeholder {
  color: #9ba0af;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.btn-submit {
  background: var(--maroon);
  color: #ffffff;
  border: 1px solid var(--maroon);
  padding: 12px 28px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(120, 17, 63, 0.22);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-submit:hover {
  background: #8e1c4e;
  border-color: #8e1c4e;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(120, 17, 63, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Success Alert Banner */
.contact-alert-success {
  display: none;
  background: #ebfbee;
  border: 1px solid #b2f2bb;
  color: #2b8a3e;
  padding: 14px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  align-items: center;
  gap: 10px;
}

.contact-alert-success.active {
  display: flex;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .contact-info-card {
    height: auto;
    padding: 24px 20px;
  }
}

/* ==========================================================================
   Recruitment Portal & Auth Pages
   ========================================================================== */
.rec-auth-wrapper {
  max-width: 1140px;
  margin: 15px auto 40px;
  width: 100%;
}

.rec-portal-badge-strip {
  background: linear-gradient(90deg, #5e0d31, #78113f 60%, #941d52);
  color: #fff;
  border-radius: 12px;
  padding: 14px 22px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(94, 13, 49, 0.15);
}

.rec-portal-badge-strip .portal-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rec-portal-badge-strip .emblem-mini {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.rec-portal-badge-strip h2 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rec-portal-badge-strip span.sub {
  font-size: 12px;
  opacity: 0.88;
  display: block;
}

.rec-portal-badge-strip .portal-session {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.rec-layout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.rec-main-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(37, 22, 42, 0.04);
  overflow: hidden;
}

/* Tabs switcher */
.rec-tabs {
  display: flex;
  background: #f8f8fc;
  border-bottom: 1px solid var(--line);
  padding: 6px 8px 0;
  gap: 6px;
}

.rec-tab-btn {
  flex: 1;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.18s ease;
  border-radius: 8px 8px 0 0;
}

.rec-tab-btn:hover {
  color: var(--maroon);
  background: rgba(120, 17, 63, 0.04);
}

.rec-tab-btn.active {
  color: var(--maroon);
  background: #ffffff;
  border-bottom-color: var(--maroon);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
}

.rec-tab-pane {
  display: none;
  padding: 32px 30px;
}

.rec-tab-pane.active {
  display: block;
  animation: fadeInPane 0.22s ease-in;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.rec-form-title {
  margin: 0 0 6px 0;
  font-size: 21px;
  font-weight: 800;
  color: #1e1322;
}

.rec-form-sub {
  margin: 0 0 24px 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.rec-section-heading {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--maroon);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 14px 0;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}

.rec-captcha-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.rec-captcha-box {
  background: #271424;
  color: #ffd874;
  font-family: 'Courier New', Courier, monospace;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 5px;
  padding: 9px 18px;
  border-radius: 8px;
  user-select: none;
  border: 1px solid #4a1c3b;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.rec-captcha-refresh {
  background: #f6edf1;
  border: 1px solid #ead6e1;
  color: var(--maroon);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.18s ease;
}

.rec-captcha-refresh:hover {
  background: #eedce6;
}

.rec-input-addon {
  position: relative;
  display: flex;
  align-items: center;
}

.rec-input-addon .form-control {
  padding-right: 42px;
}

.rec-toggle-pw {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #798092;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rec-toggle-pw:hover {
  color: var(--maroon);
}

.rec-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #3b323f;
  line-height: 1.5;
  cursor: pointer;
}

.rec-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--maroon);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.rec-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rec-side-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 4px 18px rgba(37, 22, 42, 0.03);
}

.rec-side-card.advisory {
  background: #fffdfa;
  border-color: #f7e2b8;
}

.rec-side-title {
  font-size: 15px;
  font-weight: 800;
  color: #231627;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rec-steps-list {
  padding-left: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #433946;
  line-height: 1.5;
}

.rec-steps-list li strong {
  color: #1a121d;
}

.rec-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: #e6fcf5;
  color: #0ca678;
  font-size: 11px;
  font-weight: 800;
  border-radius: 4px;
  text-transform: uppercase;
}

.rec-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0ca678;
  animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* Modal for Registration Success & Forgot Password */
.rec-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 9, 22, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rec-modal-overlay.active {
  display: flex;
}

.rec-modal-box {
  background: #ffffff;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  padding: 32px 28px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: modalPop 0.22s ease-out;
  position: relative;
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.rec-modal-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ebfbee;
  color: #2b8a3e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.rec-modal-appno {
  background: #f7eef3;
  border: 1px dashed var(--maroon);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--maroon);
  letter-spacing: 1px;
  margin: 18px 0;
  display: inline-block;
  user-select: all;
}

@media (max-width: 900px) {
  .rec-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .rec-tab-pane {
    padding: 24px 18px;
  }
}