:root {
  color: #12203a;
  background: #f4f7fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
}

a {
  color: inherit;
}

.login-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(440px, 1.08fr) minmax(460px, 0.92fr);
}

.brand-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 4.5vw, 68px);
  color: #f8fbff;
  background:
    radial-gradient(circle at 80% 19%, rgba(91, 146, 255, 0.34), transparent 30%),
    radial-gradient(circle at 10% 92%, rgba(189, 246, 96, 0.16), transparent 28%),
    linear-gradient(145deg, #07142b 0%, #0c2247 58%, #0b3155 100%);
}

.brand-panel::before,
.brand-panel::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(-13deg);
}

.brand-panel::before {
  top: 17%;
  right: -170px;
  width: 520px;
  height: 520px;
  border-radius: 44px;
}

.brand-panel::after {
  right: 14%;
  bottom: -210px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-mark svg {
  width: 30px;
  fill: none;
  stroke: #c4f76a;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.brand span:last-child {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.24rem;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 5px;
  color: #a9bad3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-copy {
  width: min(100%, 650px);
  margin: clamp(50px, 8vh, 100px) 0;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(196, 247, 106, 0.25);
  border-radius: 999px;
  color: #d8fb9d;
  background: rgba(196, 247, 106, 0.08);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-copy h1 {
  max-width: 650px;
  margin: 24px 0 20px;
  font-size: clamp(2.65rem, 5vw, 5.25rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.brand-copy > p {
  max-width: 610px;
  margin: 0;
  color: #bac8dc;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.7;
}

.benefit-list {
  display: grid;
  gap: 16px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 13px;
  align-items: start;
  color: #bdcbe0;
  font-size: 0.96rem;
  line-height: 1.55;
}

.benefit-list strong {
  color: #fff;
}

.benefit-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #07142b;
  background: #c4f76a;
  font-size: 0.82rem;
  font-weight: 900;
}

.brand-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #91a5c0;
  font-size: 0.78rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c4f76a;
  box-shadow: 0 0 0 5px rgba(196, 247, 106, 0.1);
}

.form-panel {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vw, 76px);
  background:
    radial-gradient(circle at 100% 0, rgba(69, 123, 243, 0.08), transparent 28%),
    #f5f7fb;
}

.mobile-brand {
  display: none;
}

.login-card {
  width: min(100%, 470px);
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid #e4e9f1;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(20, 43, 77, 0.11);
}

.access-pill {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #355279;
  background: #edf3fb;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3c78ed;
}

.login-card h2 {
  margin: 24px 0 9px;
  color: #101d33;
  font-size: clamp(2rem, 4vw, 2.65rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.intro {
  margin: 0 0 28px;
  color: #60708a;
  font-size: 0.98rem;
  line-height: 1.6;
}

.notice {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 20px;
  padding: 13px 14px;
  border: 1px solid #d9e6f8;
  border-radius: 12px;
  color: #385675;
  background: #f2f7fd;
}

.notice > span {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #3c78ed;
  font-size: 0.74rem;
  font-weight: 900;
}

.notice p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.sso-button {
  min-height: 54px;
  display: grid;
  grid-template-columns: 24px 1fr 18px;
  gap: 12px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid #cfd8e6;
  border-radius: 13px;
  color: #15243b;
  background: #fff;
  box-shadow: 0 3px 10px rgba(25, 50, 83, 0.05);
  font-size: 0.94rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sso-button:hover {
  border-color: #7ea4ed;
  box-shadow: 0 7px 18px rgba(52, 100, 188, 0.12);
  transform: translateY(-1px);
}

.sso-button:focus-visible,
.legal-links a:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(60, 120, 237, 0.34);
  outline-offset: 3px;
}

.sso-button svg {
  width: 22px;
}

.arrow {
  color: #71819b;
  font-size: 1.1rem;
}

.auth-note {
  margin: 12px 3px 0;
  color: #7b899e;
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
}

.separator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 28px 0;
  color: #9aa6b7;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.separator::before,
.separator::after {
  height: 1px;
  content: "";
  background: #e6eaf0;
}

.security-note {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 13px;
  align-items: start;
}

.security-note svg {
  width: 28px;
  fill: #eef4ff;
  stroke: #3b74dc;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.security-note p {
  margin: 0;
  color: #687890;
  font-size: 0.82rem;
  line-height: 1.55;
}

.security-note strong {
  color: #263851;
}

.help-copy {
  margin: 26px 0 0;
  padding-top: 23px;
  border-top: 1px solid #e8ecf2;
  color: #7c899b;
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
}

.legal-links {
  width: min(100%, 470px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  color: #8793a4;
  font-size: 0.73rem;
}

.legal-links a {
  text-underline-offset: 3px;
}

.directory-body {
  min-height: 100vh;
  color: #14223a;
  background: #f4f7fb;
}

.portal-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 76px);
  border-bottom: 1px solid rgba(215, 224, 237, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  text-decoration: none;
}

.portal-brand strong {
  color: #62718a;
  font-weight: 680;
}

.portal-brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #c4f76a;
  background: #0c2247;
  font-weight: 900;
}

.portal-header nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.portal-header nav a {
  padding: 10px 13px;
  border-radius: 10px;
  color: #52637d;
  font-size: 0.84rem;
  font-weight: 720;
  text-decoration: none;
}

.portal-header nav a:hover,
.portal-header nav a[aria-current="page"] {
  color: #132746;
  background: #edf3fb;
}

.directory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: end;
  padding: clamp(52px, 8vw, 108px) clamp(20px, 7vw, 110px) clamp(46px, 7vw, 82px);
  color: #f8fbff;
  background:
    radial-gradient(circle at 82% 16%, rgba(89, 150, 255, 0.28), transparent 31%),
    radial-gradient(circle at 12% 100%, rgba(196, 247, 106, 0.13), transparent 27%),
    linear-gradient(145deg, #07142b, #0c244a 62%, #0b3155);
}

.directory-hero > div {
  max-width: 830px;
}

.directory-eyebrow {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(196, 247, 106, 0.24);
  border-radius: 999px;
  color: #dcffa0;
  background: rgba(196, 247, 106, 0.08);
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.directory-hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.5rem, 5.4vw, 5.4rem);
  letter-spacing: -0.057em;
  line-height: 0.98;
}

.directory-hero p {
  max-width: 760px;
  margin: 0;
  color: #bdcbe0;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}

.hero-login {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.83rem;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.directory-content {
  width: min(1460px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 74px;
}

.tender-filters {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) minmax(170px, 0.8fr) minmax(170px, 0.8fr) auto auto;
  gap: 12px;
  align-items: end;
  margin: -27px 0 46px;
  padding: 18px;
  border: 1px solid #e0e7f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 42, 76, 0.1);
}

.tender-filters label {
  display: grid;
  gap: 7px;
}

.tender-filters label > span {
  color: #66758b;
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tender-filters input {
  width: 100%;
  min-height: 45px;
  padding: 0 13px;
  border: 1px solid #d7e0eb;
  border-radius: 10px;
  color: #17263e;
  background: #fbfcfe;
  font: inherit;
  font-size: 0.86rem;
}

.tender-filters input:focus {
  border-color: #3c78ed;
  outline: 3px solid rgba(60, 120, 237, 0.13);
}

.tender-filters button,
.clear-filters {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 790;
  white-space: nowrap;
}

.tender-filters button {
  border: 0;
  color: #fff;
  background: #194eaf;
  cursor: pointer;
}

.clear-filters {
  color: #61718a;
  text-decoration: none;
}

.result-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.result-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

.result-count {
  color: #6e7d92;
  font-size: 0.76rem;
  font-weight: 720;
}

.privacy-chip {
  padding: 8px 11px;
  border: 1px solid #d9e5d1;
  border-radius: 999px;
  color: #46602f;
  background: #f3f9ed;
  font-size: 0.7rem;
  font-weight: 780;
}

.tender-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tender-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #e0e6ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(24, 48, 79, 0.045);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tender-card:hover {
  border-color: #c6d4e8;
  box-shadow: 0 18px 38px rgba(24, 48, 79, 0.09);
  transform: translateY(-2px);
}

.tender-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.open-label,
.region-label {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.open-label {
  color: #286029;
  background: #eaf7e6;
}

.region-label {
  color: #51627b;
  background: #edf2f8;
}

.publisher {
  margin: 22px 0 8px;
  color: #4770a8;
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.tender-card h3 {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: -0.026em;
  line-height: 1.25;
}

.tender-card h3 a {
  text-decoration: none;
}

.project-label {
  margin: 9px 0 0;
  color: #53647d;
  font-size: 0.86rem;
  font-weight: 690;
}

.tender-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 15px 0 0;
  color: #66758a;
  font-size: 0.83rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.trade-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.trade-list li {
  padding: 6px 9px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  color: #4f617a;
  background: #f8fafc;
  font-size: 0.69rem;
  font-weight: 710;
}

.tender-card-footer {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 23px;
}

.tender-card-footer > span {
  display: grid;
  gap: 4px;
}

.tender-card-footer small {
  color: #8794a6;
  font-size: 0.63rem;
  font-weight: 780;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tender-card-footer strong {
  color: #33465f;
  font-size: 0.75rem;
  line-height: 1.35;
}

.tender-card-footer a {
  color: #1f59b9;
  font-size: 0.76rem;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
}

.empty-tenders {
  display: grid;
  justify-items: center;
  padding: clamp(48px, 8vw, 90px) 24px;
  border: 1px dashed #cfd9e7;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.empty-tenders > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #3865a8;
  background: #edf3fb;
  font-size: 1.6rem;
}

.empty-tenders h2 {
  margin: 20px 0 8px;
  font-size: 1.35rem;
}

.empty-tenders p {
  max-width: 560px;
  margin: 0;
  color: #6b7a90;
  font-size: 0.88rem;
  line-height: 1.6;
}

.empty-tenders a,
.next-page {
  margin-top: 20px;
  color: #174caa;
  font-size: 0.8rem;
  font-weight: 800;
  text-underline-offset: 3px;
}

.next-page {
  width: max-content;
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.portal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  justify-content: space-between;
  padding: 28px clamp(20px, 7vw, 110px);
  border-top: 1px solid #dfe6ef;
  color: #7a889c;
  background: #fff;
  font-size: 0.72rem;
}

.tender-detail-shell {
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto;
  padding: 50px 0 90px;
}

.back-link {
  color: #5d6e86;
  font-size: 0.8rem;
  font-weight: 740;
  text-decoration: none;
}

.tender-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
  margin-top: 28px;
}

.tender-detail-main {
  padding: clamp(26px, 5vw, 55px);
  border: 1px solid #e0e6ef;
  border-radius: 23px;
  background: #fff;
}

.tender-detail-main h1 {
  max-width: 850px;
  margin: 10px 0 0;
  font-size: clamp(2.1rem, 5vw, 4.3rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.detail-project {
  margin: 16px 0 0;
  color: #53647d;
  font-size: 1.05rem;
  font-weight: 680;
}

.detail-summary {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #e8edf3;
}

.detail-summary p {
  margin: 0;
  color: #526278;
  font-size: 1rem;
  line-height: 1.75;
  white-space: pre-line;
}

.tender-detail-main section {
  margin-top: 33px;
}

.tender-detail-main section h2 {
  margin: 0;
  font-size: 1rem;
}

.detail-trades {
  margin-top: 13px;
}

.tender-action-card {
  position: sticky;
  top: 98px;
  display: grid;
  padding: 27px;
  border: 1px solid #d8e2ee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 17px 45px rgba(20, 43, 77, 0.09);
}

.tender-action-card > span {
  color: #7a8799;
  font-size: 0.69rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tender-action-card > strong {
  margin-top: 8px;
  color: #152943;
  font-size: 1.1rem;
  line-height: 1.35;
}

.tender-action-card p {
  margin: 22px 0;
  color: #69788c;
  font-size: 0.81rem;
  line-height: 1.62;
}

.tender-action-card a {
  min-height: 49px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: #174fae;
  font-size: 0.8rem;
  font-weight: 820;
  text-decoration: none;
}

.tender-action-card small {
  margin-top: 15px;
  color: #8a96a7;
  font-size: 0.67rem;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .directory-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-login {
    width: max-content;
  }

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

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

@media (max-width: 780px) {
  .portal-header {
    min-height: 64px;
  }

  .portal-header nav a:first-child {
    display: none;
  }

  .directory-hero {
    padding-top: 52px;
    padding-bottom: 60px;
  }

  .directory-content {
    width: min(100% - 28px, 1460px);
  }

  .tender-filters {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }

  .result-heading {
    align-items: start;
    flex-direction: column;
  }

  .tender-grid,
  .tender-detail {
    grid-template-columns: 1fr;
  }

  .tender-action-card {
    position: static;
  }
}

@media (max-width: 520px) {
  .portal-header {
    padding: 0 15px;
  }

  .portal-brand > span:last-child {
    display: none;
  }

  .portal-header nav a {
    padding-right: 8px;
    padding-left: 8px;
  }

  .directory-hero h1 {
    font-size: 2.55rem;
  }

  .hero-login {
    width: 100%;
    justify-content: space-between;
  }

  .tender-card {
    padding: 20px;
  }

  .tender-detail-shell {
    width: calc(100% - 28px);
    padding-top: 32px;
  }

  .tender-detail-main,
  .tender-action-card {
    padding: 22px;
    border-radius: 18px;
  }

  .portal-footer {
    flex-direction: column;
  }
}

@media (max-width: 920px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    display: none;
  }

  .form-panel {
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: space-between;
    padding: 24px;
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    color: #15243b;
    font-size: 0.92rem;
  }

  .mobile-brand strong {
    color: #62718a;
    font-weight: 650;
  }

  .mobile-brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #c4f76a;
    background: #0c2247;
    font-weight: 900;
  }

  .login-card {
    margin: 28px 0;
  }

  .legal-links {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .form-panel {
    padding: 18px;
    background: #f7f9fc;
  }

  .login-card {
    padding: 27px 22px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(20, 43, 77, 0.09);
  }

  .login-card h2 {
    margin-top: 20px;
  }

  .legal-links {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
