:root {
  --oriun-purple: #60014a;
  --oriun-purple-2: #862165;
  --oriun-ink: #231e1f;
  --oriun-muted: #667085;
  --oriun-line: #e6e8ec;
  --oriun-soft: #f8f4f7;
}

html {
  font-size: 16px;
}

.public-body {
  background: #fff;
  color: var(--oriun-ink);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.oriun-public-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: linear-gradient(135deg, var(--oriun-purple), var(--oriun-purple-2));
  box-shadow: 0 12px 32px rgba(96, 1, 74, 0.18);
}

.oriun-public-navbar {
  min-height: 78px;
}

.oriun-public-navbar .main-menu li a.nav-link {
  color: rgba(255, 255, 255, 0.84) !important;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 0.85rem 1rem;
}

.oriun-public-navbar .main-menu li a.nav-link:hover,
.oriun-public-navbar .main-menu li a.nav-link:focus {
  color: #fff !important;
}

.oriun-menu-toggle {
  color: #fff;
}

.oriun-public-navbar .action-btns .btn {
  font-size: 14px;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
}

.offcanvas .offcanvas-body .main-menu li a.nav-link {
  font-size: 15px;
  font-weight: 500;
}

.oriun-public-header .logo-color {
  display: none !important;
}

.oriun-public-header .logo-white {
  display: block !important;
}

.public-alert {
  padding-top: 96px;
}

.oriun-navbar-brand img {
  max-height: 34px;
}

.oriun-navbar-cta {
  background: #fff;
  color: var(--oriun-purple);
  border-color: #fff;
  font-weight: 700;
}

.hero-band {
  min-height: calc(720px - 78px);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 96px 0 90px;
  background:
    linear-gradient(135deg, rgba(96, 1, 74, 0.98), rgba(134, 33, 101, 0.92)),
    url("/landing-assets/img/hero-dot-bg.png"),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.22), transparent 30%);
  background-size: cover, auto, auto;
  overflow: hidden;
  position: relative;
}

.hero-band::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -110px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, 0.08);
}

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

.hero-content h1 {
  color: #fff !important;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.hero-content .lead {
  color: rgba(255,255,255,0.88) !important;
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 680px;
}

.eyebrow {
  color: #a3edf0;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.public-section {
  padding: 86px 0;
}

.application-section {
  padding-top: 72px;
}

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

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

.panel,
.form-panel,
.result-panel,
.metric {
  background: #fff;
  border: 1px solid var(--oriun-line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.06);
}

.panel,
.form-panel,
.result-panel {
  padding: 24px;
}

.public-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(96, 1, 74, 0.10);
  box-shadow: 0 24px 60px rgba(96, 1, 74, 0.08);
}

.public-card .icon-box {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--oriun-purple), var(--oriun-purple-2));
  margin-bottom: 18px;
  font-size: 24px;
}

.panel h2,
.form-panel h2 {
  color: var(--oriun-ink);
  font-family: "Poppins", sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.panel p,
.page-heading p,
.result-panel p {
  color: var(--oriun-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.public-body h1,
.public-body h2,
.public-body h3,
.public-body h4,
.public-body h5,
.public-body h6 {
  color: #0b163f;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.public-body .page-heading h1 {
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  line-height: 1.16;
}

.public-body .form-label,
.public-body label {
  color: #0b163f;
  font-family: "Poppins", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
}

.public-body .form-control,
.public-body .form-select {
  font-family: "Poppins", sans-serif;
  font-size: 0.9375rem;
  min-height: 54px;
  padding: 0.75rem 1rem;
}

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

.page-heading.split {
  align-items: center;
}

.portal-body .page-heading h1,
.portal-body .panel h2 {
  color: #343a40;
}

.form-panel {
  max-width: 960px;
}

.application-form {
  max-width: 1200px;
}

.form-panel.compact {
  max-width: 420px;
}

.form-control,
.form-select {
  border-radius: 6px;
}

.btn-primary {
  background: var(--oriun-purple);
  border-color: var(--oriun-purple);
}

.btn-primary:hover {
  background: var(--oriun-purple-2);
  border-color: var(--oriun-purple-2);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.check-grid label {
  border: 1px solid var(--oriun-line);
  border-radius: 8px;
  padding: 12px;
  background: var(--oriun-soft);
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.credential-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.credential-box div,
.copy-line {
  background: var(--oriun-soft);
  border: 1px dashed #d7b7ce;
  border-radius: 8px;
  padding: 14px;
}

.credential-box span,
.metric span,
.list-row span,
.list-row small {
  display: block;
  color: var(--oriun-muted);
  font-size: 0.86rem;
}

.metric {
  padding: 18px;
}

.metric strong {
  display: block;
  color: #343a40;
  font-size: 1.7rem;
  margin-top: 6px;
}

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 28px;
  align-items: start;
  padding-top: 18px;
}

.list-stack {
  display: grid;
  gap: 10px;
}

.list-row {
  display: block;
  color: var(--oriun-ink);
  text-decoration: none;
  border: 1px solid var(--oriun-line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.section-title,
.inline-form {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.inline-form .form-select {
  max-width: 190px;
}

.inline-form .form-control {
  flex: 1;
}

.oriun-public-footer {
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.10), transparent 28%),
    linear-gradient(135deg, #60014a 0%, #4a0139 54%, #251b2c 100%);
  padding: 36px 0;
}

.oriun-public-footer .footer-logo {
  max-height: 38px;
  margin-bottom: 14px;
}

.oriun-public-footer .footer-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 440px;
}

.oriun-public-footer .footer-links {
  display: grid;
  gap: 8px;
}

.oriun-public-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.oriun-public-footer a:hover,
.oriun-public-footer a:focus {
  color: #fff;
}

.oriun-public-footer .footer-site {
  display: inline-block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.oriun-public-footer .footer-legal {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  line-height: 1.5;
}

.portal-title {
  letter-spacing: 0;
}

.portal-body {
  font-size: 14px;
}

.portal-body .navbar-header {
  background: linear-gradient(135deg, var(--oriun-purple), var(--oriun-purple-2));
}

.portal-body .navbar-brand-box {
  background: #251b2c;
}

.portal-body .logo-lg img {
  max-width: 132px;
}

.portal-body .vertical-menu {
  background: #251b2c;
}

.portal-body .main-content,
.portal-body .page-content {
  background: #f5f6f9;
}

.portal-body .card,
.portal-body .panel,
.portal-body .form-panel,
.portal-body .metric {
  border: 1px solid #e8e8ef;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.05);
}
}

.portal-body #sidebar-menu ul li a,
.portal-body #sidebar-menu ul li a i {
  color: rgba(255, 255, 255, 0.72);
}

.portal-body #sidebar-menu ul li a:hover,
.portal-body #sidebar-menu ul li a:hover i {
  color: #fff;
}

.portal-body .menu-title {
  color: rgba(255, 255, 255, 0.46) !important;
}

.oriun-auth-bg {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(134, 33, 101, 0.88), transparent 34%),
    radial-gradient(circle at bottom left, rgba(96, 1, 74, 0.55), transparent 28%),
    linear-gradient(135deg, #60014a 0%, #2a0021 78%);
}

.oriun-auth-card {
  border: none;
  border-radius: 22px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.oriun-auth-hero {
  background: linear-gradient(135deg, rgba(96, 1, 74, 0.96), rgba(134, 33, 101, 0.96));
}

.oriun-auth-logo {
  height: 48px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.oriun-auth-card .form-label {
  font-weight: 600;
  color: var(--oriun-purple);
}

.oriun-auth-card .form-control {
  border-radius: 12px;
  border-color: #e5d2df;
  padding: 0.68rem 1rem;
}

.oriun-auth-card .form-control:focus {
  border-color: var(--oriun-purple);
  box-shadow: 0 0 0 0.2rem rgba(96, 1, 74, 0.14);
}

.btn-oriun-auth {
  background-color: var(--oriun-purple);
  border-color: var(--oriun-purple);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
}

.btn-oriun-auth:hover,
.btn-oriun-auth:focus {
  background-color: #3d0130;
  border-color: #3d0130;
  color: #fff;
}

.auth-footer,
.auth-links,
.auth-links a {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 991.98px) {
  .portal-body {
    font-size: 13px;
  }

  .content-grid,
  .metric-grid,
  .two-column,
  .auth-layout,
  .credential-box,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .hero-band {
    min-height: auto;
    padding: 58px 0 64px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .public-section {
    padding: 52px 0;
  }

  .application-section {
    padding-top: 38px;
  }

  .form-panel,
  .result-panel,
  .panel {
    padding: 18px;
  }

  .page-heading h1 {
    font-size: 2.15rem;
    line-height: 1.12;
  }

  .page-heading,
  .section-title,
  .inline-form {
    align-items: stretch;
    flex-direction: column;
  }

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

  .form-actions .btn {
    width: 100%;
  }

  .navbar-brand-box {
    width: 180px !important;
  }

  .portal-body .main-content {
    margin-left: 0 !important;
  }

  .portal-body .vertical-menu {
    display: none;
  }
}

@media (max-width: 575.98px) {
  html,
  body {
    overflow-x: hidden;
  }

  .account-pages {
    margin-top: 2rem !important;
    padding-top: 1rem !important;
  }

  .oriun-auth-card {
    margin-inline: 0;
  }

  .oriun-public-navbar {
    min-height: 68px;
    padding-inline: 8px;
  }

  .oriun-navbar-brand img {
    max-height: 28px;
  }

  .application-form .row {
    --bs-gutter-y: 0.9rem;
  }

  .application-form textarea {
    min-height: 150px;
  }

  .check-grid label {
    padding: 10px;
  }

  .public-card {
    min-height: auto;
  }

  .hero-content .lead {
    font-size: 1.03rem;
  }

  .oriun-public-footer {
    padding: 28px 0;
    text-align: left;
  }

  .oriun-public-footer .footer-copy {
    max-width: none;
  }
}
