html {
  scroll-behavior: smooth;
}

body {
  background: #f5f7fb;
  color: #172033;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.main-header .navbar {
  border: 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0;
}

.content-wrapper {
  background: #f5f7fb;
  min-height: calc(100vh - 120px);
}

.intro-header {
  background: linear-gradient(135deg, #10233f 0%, #1d5b68 55%, #2f7c6f 100%);
  color: #fff;
  min-height: 640px;
  padding: 110px 20px 90px;
  position: relative;
}

.intro-header:after {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  height: 460px;
  position: absolute;
  right: -160px;
  top: -180px;
  width: 460px;
}

.abcen1 {
  position: relative;
  z-index: 1;
}

.h1_home {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 18px 0 12px;
}

.h3_home {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 400;
}

.home_button1,
.home_button2 {
  border: 0;
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
  font-weight: 700;
  padding: 13px 26px;
}

.home_button1 {
  background: #17a673;
  color: #fff;
}

.home_button2 {
  background: #fff;
  color: #10233f;
}

.content-section-b,
.public-content {
  padding: 42px 0;
}

.public_pages {
  margin: 0 auto;
  max-width: 1180px;
}

.box,
.small-box {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.box.box-solid > .box-header,
.box-header {
  border-radius: 8px 8px 0 0;
}

.small-box {
  overflow: hidden;
}

.small-box h3 {
  font-size: 30px;
  font-weight: 800;
}

.main-footer {
  background: #111827;
  border: 0;
  color: #d1d5db;
  padding: 26px 0;
}

.main-footer a {
  color: #f9fafb;
  display: inline-block;
  margin: 0 14px 10px 0;
}

.skin-blue .main-header .logo,
.skin-blue-light .main-header .logo,
.skin-green .main-header .logo,
.skin-green-light .main-header .logo,
.skin-purple .main-header .logo,
.skin-purple-light .main-header .logo,
.skin-red .main-header .logo,
.skin-red-light .main-header .logo,
.skin-yellow .main-header .logo,
.skin-yellow-light .main-header .logo,
.skin-white .main-header .logo,
.skin-white-light .main-header .logo {
  background: #10233f;
  color: #fff;
  font-weight: 800;
}

.main-sidebar,
.left-side {
  box-shadow: 10px 0 30px rgba(15, 23, 42, 0.08);
}

.sidebar-menu > li > a {
  font-weight: 700;
}

.content-header > h1 {
  color: #111827;
  font-weight: 800;
}

.box-body {
  color: #172033;
}

.table,
table {
  border-color: #e5e7eb;
}

.table > thead > tr > th,
.table > tbody > tr > td {
  border-color: #e5e7eb;
}

.btn,
.btn-flat {
  border-radius: 6px;
  font-weight: 700;
}

.adm-viewable-slot {
  align-items: center;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  display: inline-flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.adm-managed-ad-label {
  background: rgba(17, 24, 39, 0.72);
  border-radius: 4px;
  color: #fff;
  font: 700 10px/1 Arial, Helvetica, sans-serif;
  left: 4px;
  opacity: 0.78;
  padding: 3px 5px;
  position: absolute;
  text-decoration: none;
  top: 4px;
  z-index: 5;
}

.adm-managed-ad-label:hover,
.adm-managed-ad-label:focus {
  color: #fff;
  opacity: 1;
  text-decoration: none;
}

.content-wrapper .content {
  padding: 24px;
}

.content-header {
  padding: 22px 24px 0;
}

.content-header > h1 {
  letter-spacing: 0;
}

.sidebar-menu > li.header {
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-sidebar .user-panel {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
  .intro-header {
    min-height: 520px;
    padding: 80px 15px 60px;
  }

  .h1_home {
    font-size: 36px;
  }

  .home_button1,
  .home_button2 {
    display: block;
    margin: 10px auto;
    max-width: 260px;
  }
}

/* Public marketplace home */
.adm-home-hidden-state {
  display: none;
}

.adm-public-home {
  background: #f7f9fc;
  color: #132033;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.adm-hero {
  align-items: stretch;
  background:
    linear-gradient(120deg, rgba(9, 24, 45, 0.92), rgba(19, 74, 95, 0.82)),
    url("../images/home/publishers.jpg") center/cover no-repeat;
  color: #fff;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  min-height: 680px;
  padding: 104px max(24px, calc((100vw - 1180px) / 2)) 72px;
}

.adm-hero__content {
  align-self: center;
  max-width: 720px;
}

.adm-eyebrow {
  color: #10b981;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.adm-hero h1,
.adm-section h2,
.adm-final-cta h2 {
  letter-spacing: 0;
}

.adm-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 900;
  line-height: 0.98;
  margin: 0 0 24px;
  max-width: 780px;
}

.adm-hero__lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.55;
  margin: 0 0 30px;
  max-width: 690px;
}

.adm-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin: 0 0 24px;
}

.adm-hero__actions--left {
  margin-top: 26px;
}

.adm-btn {
  align-items: center;
  border-radius: 7px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.adm-btn:hover,
.adm-btn:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.adm-btn--primary {
  background: #10b981;
  box-shadow: 0 16px 34px rgba(16, 185, 129, 0.28);
  color: #fff;
}

.adm-btn--primary:hover,
.adm-btn--primary:focus {
  background: #0f9f7a;
  color: #fff;
}

.adm-btn--light {
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
  color: #10233f;
}

.adm-btn--outline {
  background: transparent;
  border: 1px solid #b9c7d9;
  color: #132033;
}

.adm-hero__meta {
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
}

.adm-hero__meta span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 10px;
}

.adm-hero__panel {
  align-self: center;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.adm-live-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(4, 17, 33, 0.24);
  color: #132033;
  min-height: 126px;
  padding: 22px;
}

.adm-live-card--wide {
  grid-column: 1 / -1;
}

.adm-live-card--accent {
  background: #0f172a;
  color: #fff;
}

.adm-live-card span {
  color: #64748b;
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.adm-live-card--accent span {
  color: #9fb5cf;
}

.adm-live-card strong {
  display: block;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
}

.adm-section {
  padding: 76px max(24px, calc((100vw - 1180px) / 2));
}

.adm-section--split {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
}

.adm-section h2 {
  color: #101827;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 18px;
}

.adm-section p {
  color: #5b6b80;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.adm-section__head {
  max-width: 760px;
}

.adm-flow,
.adm-kpi-stack {
  display: grid;
  gap: 12px;
}

.adm-flow div,
.adm-kpi-stack div,
.adm-tech-grid div,
.adm-feature-row div {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.adm-flow div {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 46px 1fr;
  padding: 16px;
}

.adm-flow b {
  align-items: center;
  background: #10233f;
  border-radius: 6px;
  color: #fff;
  display: flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.adm-flow span {
  color: #243449;
  font-size: 15px;
  font-weight: 800;
}

.adm-format-grid,
.adm-tech-grid,
.adm-feature-row {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.adm-format-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.adm-format-grid article {
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 8px;
  min-height: 218px;
  padding: 22px;
}

.adm-format-grid article span {
  color: #10b981;
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 20px;
}

.adm-format-grid h3,
.adm-tech-grid h3,
.adm-feature-row h3 {
  color: #132033;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
}

.adm-format-grid p,
.adm-tech-grid p,
.adm-feature-row p {
  font-size: 15px;
}

.adm-section--dark {
  background: #101827;
  color: #fff;
}

.adm-section--dark h2,
.adm-section--dark h3 {
  color: #fff;
}

.adm-section--dark p {
  color: #c5d1df;
}

.adm-section--dark .adm-feature-row div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.adm-feature-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.adm-feature-row div,
.adm-tech-grid div {
  padding: 22px;
}

.adm-kpi-stack div {
  padding: 24px;
}

.adm-kpi-stack span {
  color: #64748b;
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.adm-kpi-stack strong {
  color: #132033;
  display: block;
  font-size: 24px;
  font-weight: 900;
}

.adm-tech-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.adm-section--chart {
  background: #edf3f9;
}

.adm-chart-shell {
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  margin-top: 28px;
  overflow-x: auto;
  padding: 20px;
}

.adm-final-cta {
  background:
    linear-gradient(120deg, rgba(16, 24, 39, 0.92), rgba(15, 78, 90, 0.88)),
    url("../images/home/advertisers.jpg") center/cover no-repeat;
  color: #fff;
  padding: 84px 24px;
  text-align: center;
}

.adm-final-cta h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 auto 16px;
  max-width: 900px;
}

.adm-final-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  margin: 0 auto 26px;
  max-width: 680px;
}

.adm-final-cta .adm-hero__actions {
  justify-content: center;
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .adm-hero,
  .adm-section--split {
    grid-template-columns: 1fr;
  }

  .adm-hero__panel {
    max-width: 720px;
  }

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

@media (max-width: 760px) {
  .adm-hero {
    min-height: auto;
    padding: 74px 18px 48px;
  }

  .adm-hero__lead {
    font-size: 17px;
  }

  .adm-hero__panel,
  .adm-format-grid,
  .adm-tech-grid,
  .adm-feature-row {
    grid-template-columns: 1fr;
  }

  .adm-section {
    padding: 54px 18px;
  }

  .adm-btn {
    width: 100%;
  }

  .adm-hero__meta span {
    width: 100%;
  }
}

/* ADIMPAKT brand layer */
.adm-brand-logo {
  align-items: center;
  display: flex !important;
  height: 54px !important;
  line-height: 1 !important;
  margin-right: 22px;
  max-width: 220px;
  padding: 4px 0 !important;
}

.adm-brand-logo img {
  display: block;
  height: 46px;
  object-fit: contain;
  object-position: left center;
  width: 190px;
}

.adm-app-logo {
  align-items: center;
  display: flex;
  height: 54px;
  justify-content: center;
  overflow: hidden;
}

.adm-app-logo img {
  display: block;
  height: 42px;
  max-width: 168px;
  object-fit: contain;
}

.logo-mini img {
  border-radius: 5px;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.adm-page-logo {
  align-items: center;
  background: #171514;
  border: 1px solid rgba(224, 185, 111, .32);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(23, 21, 20, .14);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  padding: 18px;
}

.adm-page-logo img {
  display: block;
  max-height: 86px;
  max-width: min(360px, 92%);
  object-fit: contain;
}

.adm-page-logo span {
  color: #f4ead8;
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .adm-page-logo {
    padding: 14px;
  }

  .adm-page-logo img {
    max-height: 66px;
  }

  .adm-page-logo span {
    font-size: 12px;
  }
}

.main-header .navbar,
.main-header .logo,
.skin-blue .main-header .navbar,
.skin-blue-light .main-header .navbar,
.skin-green .main-header .navbar,
.skin-green-light .main-header .navbar,
.skin-purple .main-header .navbar,
.skin-purple-light .main-header .navbar,
.skin-red .main-header .navbar,
.skin-red-light .main-header .navbar,
.skin-yellow .main-header .navbar,
.skin-yellow-light .main-header .navbar {
  background: #171514 !important;
}

.main-header .logo,
.skin-blue .main-header .logo,
.skin-blue-light .main-header .logo,
.skin-green .main-header .logo,
.skin-green-light .main-header .logo,
.skin-purple .main-header .logo,
.skin-purple-light .main-header .logo,
.skin-red .main-header .logo,
.skin-red-light .main-header .logo,
.skin-yellow .main-header .logo,
.skin-yellow-light .main-header .logo,
.skin-white .main-header .logo,
.skin-white-light .main-header .logo {
  background: #11100f !important;
  color: #f4d28d !important;
}

.main-header .navbar a,
.navbar-nav > li > a {
  color: #f4ead8 !important;
}

.main-header .navbar a:hover,
.main-header .navbar a:focus,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
  background: rgba(224, 185, 111, 0.14) !important;
  color: #f4d28d !important;
}

.main-header .navbar .dropdown-menu {
  border-color: #e8dcc5;
  box-shadow: 0 18px 42px rgba(23, 21, 20, 0.16);
}

.main-header .navbar .dropdown-menu a {
  color: #171514 !important;
}

.main-header .navbar .dropdown-menu a:hover,
.main-header .navbar .dropdown-menu a:focus {
  background: #fbf1dc !important;
  color: #8a5f25 !important;
}

.sidebar-menu > li:hover > a,
.sidebar-menu > li.active > a {
  border-left-color: #d8ad65;
}

.adm-public-home {
  background: #f7f4ee;
}

.adm-hero {
  background:
    linear-gradient(120deg, rgba(18, 17, 16, 0.93), rgba(52, 45, 34, 0.84)),
    url("../images/brand/adimpakt-mark-transparent.png") 88% 50%/42% auto no-repeat;
}

.adm-eyebrow,
.adm-format-grid article span {
  color: #c99749;
}

.adm-btn--primary,
.btn-primary,
.btn-info {
  background: linear-gradient(135deg, #d9b56d, #a97732) !important;
  border-color: #a97732 !important;
  color: #171514 !important;
}

.adm-btn--primary:hover,
.adm-btn--primary:focus,
.btn-primary:hover,
.btn-primary:focus,
.btn-info:hover,
.btn-info:focus {
  background: linear-gradient(135deg, #efce86, #b98539) !important;
  border-color: #8a5f25 !important;
  color: #171514 !important;
}

.adm-live-card--accent,
.adm-section--dark,
.adm-final-cta {
  background-color: #171514;
}

.adm-flow b,
.small-box.bg-green,
.small-box.bg-aqua,
.small-box.bg-yellow,
.small-box.bg-red,
.small-box.bg-light-blue,
.small-box.bg-green-active {
  background: linear-gradient(135deg, #2a2520, #171514) !important;
  color: #f4ead8 !important;
}

.small-box .icon {
  color: rgba(216, 173, 101, 0.42);
}

.box.box-primary,
.box.box-info,
.box.box-success,
.box.box-warning {
  border-top-color: #c99749 !important;
}

@media (max-width: 760px) {
  .adm-brand-logo img {
    width: 154px;
  }
}

/* Modern responsive layer */
:root {
  --adm-bg: #f7f4ee;
  --adm-panel: #ffffff;
  --adm-text: #171514;
  --adm-muted: #706a60;
  --adm-border: #e8dcc5;
  --adm-soft: #fbf1dc;
  --adm-primary: #c99749;
  --adm-primary-dark: #8a5f25;
  --adm-accent: #e0b96f;
  --adm-danger: #dc2626;
  --adm-shadow: 0 14px 34px rgba(23, 21, 20, 0.10);
}

body {
  background: var(--adm-bg);
}

a {
  color: var(--adm-primary);
}

a:hover,
a:focus {
  color: var(--adm-primary-dark);
}

.wrapper,
.content-wrapper,
.right-side {
  background: var(--adm-bg);
}

.main-header .navbar,
.main-header .logo {
  min-height: 54px;
}

.main-header .logo {
  line-height: 54px;
}

.main-header .sidebar-toggle {
  min-height: 54px;
  padding: 17px 15px;
}

.navbar-nav > li > a {
  line-height: 24px;
  min-height: 54px;
}

.navbar-toggle {
  border: 0;
  margin-top: 10px;
}

.navbar-toggle .icon-bar {
  background: #fff;
  height: 3px;
  width: 22px;
}

.main-sidebar {
  background: #171514;
}

.sidebar-menu > li > a {
  border-left: 3px solid transparent;
  color: #dbe4f0;
  padding: 13px 18px;
}

.sidebar-menu > li:hover > a,
.sidebar-menu > li.active > a {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--adm-accent);
  color: #fff;
}

.sidebar-menu .treeview-menu {
  background: rgba(0, 0, 0, 0.14);
  padding: 6px 0;
}

.sidebar-menu .treeview-menu > li > a {
  color: #cbd5e1;
  padding: 9px 18px 9px 34px;
}

.content-header > h1 {
  font-size: 24px;
  line-height: 1.25;
}

.content-header > h1 > small {
  color: var(--adm-muted);
  display: block;
  font-size: 13px;
  margin-top: 5px;
}

.box,
.small-box,
.info-box {
  border: 1px solid var(--adm-border);
  border-radius: 8px;
  box-shadow: var(--adm-shadow);
}

.box-header {
  border-bottom: 1px solid var(--adm-border);
  color: var(--adm-text);
  padding: 14px 16px;
}

.box-title {
  font-weight: 800;
}

.box-body {
  padding: 16px;
}

.box-footer {
  background: #f8fafc;
  border-top: 1px solid var(--adm-border);
  padding: 12px 16px;
}

.small-box {
  min-height: 118px;
}

.small-box .icon {
  opacity: 0.18;
}

.btn,
.btn-flat,
button,
input[type="submit"],
input[type="button"] {
  border-radius: 6px;
  font-weight: 800;
  min-height: 36px;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background: var(--adm-primary-dark);
  border-color: var(--adm-primary-dark);
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
select,
textarea {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: none;
  color: var(--adm-text);
  min-height: 36px;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--adm-primary);
  box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.12);
  outline: 0;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.adm-table-scroll {
  margin: 12px 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.adm-table-scroll > table {
  margin-bottom: 0;
  min-width: 720px;
}

.adm-modern-table,
.table {
  background: #fff;
  border: 1px solid var(--adm-border);
  border-radius: 8px;
  overflow: hidden;
}

.adm-modern-table > thead > tr > th,
.adm-modern-table > tbody > tr > td,
.table > thead > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  border-color: var(--adm-border);
  padding: 10px 12px;
  vertical-align: middle;
}

.adm-modern-table > thead > tr > th,
.table > thead > tr > th {
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.adm-modern-table > tbody > tr:hover,
.table > tbody > tr:hover {
  background: #f8fbff;
}

.cell_embosed1,
.cell_embosed2,
.cell_embosed3,
.cell_embosed4,
.inside_cell,
.inside_table td {
  background: #fff !important;
  border-color: var(--adm-border) !important;
  padding: 9px !important;
}

.cell_embosed1,
.common_table_top_cell {
  background: #f8fafc !important;
  color: #111827 !important;
  font-weight: 800;
}

.label,
.badge {
  border-radius: 999px;
  font-weight: 800;
  padding: 5px 8px;
}

.alert,
.callout {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.public_pages,
.content-section-b .container,
.main-footer .container {
  padding-left: 18px;
  padding-right: 18px;
}

.public_pages .box,
.public_pages .common_table {
  margin-bottom: 18px;
}

.main-footer {
  margin-top: 34px;
}

.main-footer .container:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.main-footer a {
  margin: 0;
}

/* Typography aligned with the ADIMPAKT wordmark */
.main-header .navbar-nav > li > a,
.main-header .navbar-nav .dropdown-menu > li > a,
.main-footer .container:first-child > a {
  font-family: "Montserrat", "Avenir Next", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.main-header .navbar-nav > li > a {
  font-size: 12px;
}

.main-header .navbar-nav .dropdown-menu > li > a {
  font-size: 10px;
  letter-spacing: .08em;
}

.main-footer .container:first-child > a {
  color: #e4c47f;
  font-size: 10px;
  letter-spacing: .15em;
}

.main-footer .container:nth-child(2) {
  font-family: "Montserrat", "Avenir Next", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.scroll-top {
  bottom: 18px;
  position: fixed;
  right: 18px;
  z-index: 800;
}

.scroll-top a {
  align-items: center;
  background: var(--adm-primary);
  border-radius: 999px;
  box-shadow: var(--adm-shadow);
  color: #fff;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

@media (max-width: 991px) {
  .content-wrapper .content {
    padding: 16px;
  }

  .content-header {
    padding: 16px 16px 0;
  }

  .box-body {
    padding: 14px;
  }
}

@media (max-width: 767px) {
  body {
    min-width: 0;
  }

  .main-header {
    position: fixed;
    top: 0;
    width: 100%;
  }

  .wrapper {
    padding-top: 54px;
  }

  .content-wrapper,
  .right-side {
    min-height: calc(100vh - 54px);
  }

  .main-header .logo {
    float: left;
    font-size: 17px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: calc(100% - 54px);
  }

  .main-header .navbar {
    min-height: 0;
  }

  .main-header .navbar .sidebar-toggle {
    float: left;
    width: 54px;
  }

  .navbar-custom-menu,
  .navbar-right {
    float: none !important;
  }

  .navbar-collapse {
    background: #111827;
    border: 0;
    box-shadow: var(--adm-shadow);
    max-height: calc(100vh - 54px);
    overflow-y: auto;
  }

  .navbar-nav {
    margin: 0;
  }

  .navbar-nav > li > a {
    color: #fff;
    min-height: 44px;
    padding: 12px 16px;
  }

  .main-sidebar {
    padding-top: 54px;
  }

  .sidebar-open .content-wrapper:before {
    background: rgba(15, 23, 42, 0.44);
    content: "";
    inset: 54px 0 0 0;
    position: fixed;
    z-index: 820;
  }

  .content-header > h1 {
    font-size: 21px;
  }

  .box,
  .small-box,
  .info-box {
    border-radius: 8px;
  }

  .box-header,
  .box-body,
  .box-footer {
    padding-left: 12px;
    padding-right: 12px;
  }

  .form-control,
  input,
  select,
  textarea {
    max-width: 100% !important;
  }

  .adm-table-scroll {
    border: 1px solid var(--adm-border);
    border-radius: 8px;
    margin-left: -2px;
    margin-right: -2px;
  }

  .adm-table-scroll > table {
    border: 0;
  }

  .main-footer {
    text-align: left;
  }

  .main-footer .container:first-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .scroll-top {
    bottom: 14px;
    right: 14px;
  }
}

@media (max-width: 420px) {
  .main-footer .container:first-child {
    grid-template-columns: 1fr;
  }

  .content-wrapper .content,
  .content-header {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ADIMPAKT final brand lock */
.adm-brand-logo {
  gap: 11px;
  max-width: none;
  min-width: 220px;
}

.adm-brand-logo .adm-brand-mark {
  border-radius: 10px;
  height: 40px;
  object-fit: contain;
  width: 40px;
}

.adm-brand-wordmark-image {
  display: block;
  height: 38px;
  object-fit: contain;
  object-position: left center;
  width: 170px;
}

.adm-app-logo {
  gap: 7px;
  padding: 5px 8px;
}

.adm-app-logo .adm-app-mark {
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.adm-app-logo .adm-app-wordmark {
  height: 34px;
  max-width: 150px;
  object-fit: contain;
  width: 150px;
}

.adm-page-lockup {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  max-width: 100%;
  width: 100%;
}

.adm-page-lockup .adm-page-mark {
  flex: 0 0 auto;
  height: 72px;
  object-fit: contain;
  width: 72px;
}

.adm-page-lockup .adm-page-wordmark {
  height: 72px;
  max-width: min(390px, calc(100% - 88px));
  object-fit: contain;
  width: 390px;
}

/* Modern authentication and account creation */
.adm-auth-page { background: #eef1f1; min-height: calc(100vh - 110px); padding: 0 !important; position: relative; text-align: left; }
.adm-signup-shell { display: grid; grid-template-columns: minmax(390px, .95fr) minmax(560px, 1.05fr); margin: 0 auto; max-width: 1560px; min-height: calc(100vh - 110px); }
.adm-signup-story { background: radial-gradient(circle at 12% 9%, rgba(232,190,105,.15), transparent 30%), linear-gradient(145deg,#1a1816 0%,#29231d 58%,#151413 100%); color: #fff; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 38px clamp(36px,5vw,80px) 42px; position: relative; }
.adm-signup-story:after { border: 1px solid rgba(232,190,105,.22); border-radius: 50%; bottom: -170px; content: ''; height: 440px; position: absolute; right: -120px; width: 440px; }
.adm-auth-brand { align-items: center; display: inline-flex; gap: 13px; position: relative; text-decoration: none !important; z-index: 2; }
.adm-auth-mark { filter: drop-shadow(0 3px 1px rgba(0,0,0,.7)) drop-shadow(0 10px 14px rgba(0,0,0,.42)); height: 62px; object-fit: contain; width: 62px; }
.adm-auth-wordmark { filter: contrast(1.08) drop-shadow(0 2px 0 rgba(255,224,160,.18)) drop-shadow(0 8px 8px rgba(0,0,0,.72)); height: 62px; max-width: 330px; object-fit: contain; width: min(330px,calc(100vw - 150px)); }
.adm-story-copy { margin: 65px 0 48px; max-width: 620px; position: relative; z-index: 2; }
.adm-auth-eyebrow { color: #b47b28; display: block; font-size: 12px; font-weight: 850; letter-spacing: .19em; margin-bottom: 13px; }
.adm-story-copy h1 { color: #fff; font-size: clamp(39px,4.2vw,66px); font-weight: 800; letter-spacing: -.047em; line-height: 1.01; margin: 0 0 24px; }
.adm-story-copy > p { color: #d8d0c6; font-size: 18px; line-height: 1.65; max-width: 560px; }
.adm-auth-benefits { display: grid; gap: 19px; list-style: none; margin: 38px 0 0; padding: 0; }
.adm-auth-benefits li { align-items: flex-start; display: flex; gap: 15px; }
.adm-auth-benefits i { align-items: center; background: rgba(221,177,91,.12); border: 1px solid rgba(221,177,91,.25); border-radius: 12px; color: #e2b65f; display: flex; flex: 0 0 44px; font-size: 17px; height: 44px; justify-content: center; }
.adm-auth-benefits span { color: #bdb6ae; font-size: 14px; line-height: 1.45; }
.adm-auth-benefits b { color: #fff; display: block; font-size: 15px; margin-bottom: 3px; }
.adm-story-quote { color: #d9b46b; font-size: 13px; font-weight: 800; letter-spacing: .14em; margin: 0; position: relative; text-transform: uppercase; z-index: 2; }
.adm-signup-panel { padding: 28px clamp(30px,5vw,72px) 55px; }
.adm-role-switch { background: #e4e8e9; border-radius: 13px; display: grid; gap: 5px; grid-template-columns: 1fr 1fr; margin: 0 auto 18px; max-width: 620px; padding: 5px; }
.adm-role-switch a,.adm-role-switch label { border-radius: 9px; color: #657078; cursor: pointer; font-size: 14px; font-weight: 800; margin: 0; padding: 12px 15px; text-align: center; text-decoration: none !important; transition: .2s ease; }
.adm-role-switch a.active,.adm-role-switch label.active { background: #fff; box-shadow: 0 3px 10px rgba(35,45,48,.1); color: #1e2021; }
.adm-role-switch input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.adm-auth-card { background: #fff; border: 1px solid rgba(29,32,33,.08); border-radius: 22px; box-shadow: 0 28px 70px rgba(33,43,47,.13); margin: 0 auto; position: relative; z-index: 3; }
.adm-signup-card { max-width: 620px; padding: clamp(28px,4vw,48px); }
.adm-auth-card header h1,.adm-auth-card header h2 { color: #202426; font-size: 32px; font-weight: 850; letter-spacing: -.035em; margin: 0 0 8px; }
.adm-auth-card header p { color: #788188; margin: 0 0 28px; }
.adm-auth-card a { color: #9d681f; font-weight: 700; }
.adm-auth-form { display: grid; gap: 19px; }
.adm-auth-grid { display: grid; gap: 17px; grid-template-columns: 1fr 1fr; }
.adm-auth-grid-primary { margin-bottom: 2px; }
.adm-auth-field label { color: #303537; display: block; font-size: 13px; font-weight: 800; margin: 0 0 7px; }
.adm-auth-field .form-control { background: #f7f8f8; border: 1px solid #dce1e3; border-radius: 9px; box-shadow: none; color: #202426; font-size: 15px; height: 48px; padding: 11px 13px; width: 100%; }
.adm-auth-field .form-control:focus { background: #fff; border-color: #b88435; box-shadow: 0 0 0 3px rgba(184,132,53,.13); }
.adm-auth-details { border: 1px solid #e4e7e8; border-radius: 10px; overflow: hidden; }
.adm-auth-details summary { color: #34393b; cursor: pointer; font-size: 13px; font-weight: 800; list-style-position: inside; padding: 14px; }
.adm-auth-details summary span { color: #92999d; float: right; font-weight: 600; }
.adm-auth-details[open] summary { border-bottom: 1px solid #e4e7e8; }
.adm-auth-details .adm-auth-grid { padding: 17px; }
.adm-auth-check { color: #656d71; display: flex; font-size: 12px; font-weight: 600; gap: 9px; line-height: 1.45; margin: 0; }
.adm-auth-check input { flex: 0 0 auto; margin-top: 2px; }
.adm-auth-primary { align-items: center; background: linear-gradient(135deg,#bd8430,#8a591a) !important; border: 0 !important; border-radius: 10px !important; box-shadow: 0 9px 22px rgba(158,103,31,.22); color: #fff !important; display: flex; font-size: 14px; font-weight: 850; justify-content: center; min-height: 50px; text-transform: none; width: 100%; }
.adm-auth-primary i { margin-left: 10px; }
.adm-auth-form .adm-captcha-field { margin: 0; }
.adm-auth-form .adm-captcha-field > label { display: none; }

.adm-login-page { align-items: center; background: #dfe8e6; display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 80px); overflow: hidden; padding: 55px 20px !important; }
.adm-login-backdrop,.adm-login-backdrop span { inset: 0; pointer-events: none; position: absolute; }
.adm-login-backdrop span { background: rgba(255,255,255,.34); border-radius: 50%; height: 650px; left: -250px; top: -300px; width: 760px; }
.adm-login-backdrop span:nth-child(2) { height: 680px; left: auto; right: -280px; top: 54%; width: 720px; }
.adm-login-backdrop span:nth-child(3) { background: transparent; border: 1px solid rgba(157,104,31,.13); height: 440px; left: 18%; top: 66%; width: 440px; }
.adm-login-brand { margin-bottom: 25px; }
.adm-login-brand .adm-auth-mark { height: 54px; width: 54px; }
.adm-login-brand .adm-auth-wordmark { height: 54px; width: 290px; }
.adm-login-card { max-width: 510px; padding: 30px; width: 100%; }
.adm-login-role { margin-bottom: 30px; }
.adm-login-card header { text-align: center; }
.adm-login-card header .adm-auth-eyebrow { margin-bottom: 8px; }
.adm-login-card header h1 { font-size: 30px; }
.adm-label-row { align-items: center; display: flex; justify-content: space-between; }
.adm-label-row a { font-size: 12px; }
.adm-input-icon { position: relative; }
.adm-input-icon > i { color: #9ca4a8; left: 15px; position: absolute; top: 17px; }
.adm-input-icon .form-control { padding-left: 42px; }
.adm-remember { margin-top: -5px; }
.adm-auth-divider { border-top: 1px solid #e0e4e5; height: 12px; margin-top: 7px; position: relative; text-align: center; }
.adm-auth-divider span { background: #fff; color: #8a9296; font-size: 12px; padding: 0 12px; position: relative; top: -10px; }
.adm-google-button { align-items: center; background: #fff; border: 1px solid #d9dfe1; border-radius: 9px; color: #2c3234; display: flex; font-size: 14px; font-weight: 800; justify-content: center; min-height: 48px; opacity: .72; width: 100%; }
.adm-google-g { color: #4285f4; font-size: 18px; font-weight: 900; margin-right: 10px; }
.adm-oauth-note { color: #92999c; font-size: 11px; line-height: 1.45; margin: -9px 0 0; text-align: center; }
.adm-login-card footer { border-top: 1px solid #eceeef; color: #81898d; font-size: 12px; line-height: 1.7; margin-top: 25px; padding-top: 20px; text-align: center; }
.adm-login-card footer span { margin: 0 4px; }

@media (max-width: 1050px) {
  .adm-signup-shell { grid-template-columns: 1fr; }
  .adm-signup-story { min-height: auto; padding-bottom: 55px; }
  .adm-story-copy { margin: 50px 0 20px; }
  .adm-story-copy h1 { max-width: 780px; }
  .adm-auth-benefits { grid-template-columns: repeat(3,1fr); }
  .adm-story-quote { display: none; }
}
@media (max-width: 700px) {
  .adm-signup-panel { padding: 18px 13px 35px; }
  .adm-signup-story { padding: 28px 22px 42px; }
  .adm-auth-mark { height: 48px; width: 48px; }
  .adm-auth-wordmark { height: 48px; }
  .adm-story-copy h1 { font-size: 39px; }
  .adm-story-copy > p { font-size: 16px; }
  .adm-auth-benefits { grid-template-columns: 1fr; }
  .adm-signup-card { border-radius: 15px; padding: 25px 19px; }
  .adm-auth-grid { grid-template-columns: 1fr; }
  .adm-login-page { padding: 28px 12px !important; }
  .adm-login-brand .adm-auth-wordmark { max-width: calc(100vw - 100px); }
  .adm-login-card { border-radius: 16px; padding: 22px 18px; }
  .adm-login-card footer span { display: none; }
  .adm-login-card footer a { display: block; }
  .adm-captcha-field .g-recaptcha { transform: scale(.88); transform-origin: left top; }
}

.adm-contact-shell {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  margin: 46px auto 70px;
  max-width: 1120px;
  padding: 0 18px;
  text-align: left;
}

.adm-contact-intro { padding: 58px 8px 30px; }
.adm-contact-kicker { color: var(--adm-primary-dark); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.adm-contact-intro h1 { color: #171514; font-size: clamp(36px, 4vw, 58px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin: 18px 0 22px; }
.adm-contact-intro > p { color: var(--adm-muted); font-size: 18px; line-height: 1.7; max-width: 480px; }
.adm-contact-detail { align-items: flex-start; border-top: 1px solid var(--adm-border); color: var(--adm-muted); display: flex; gap: 13px; line-height: 1.55; margin-top: 34px; padding-top: 24px; }
.adm-contact-detail i { color: var(--adm-primary); font-size: 18px; margin-top: 2px; }
.adm-contact-card { background: #fff; border: 1px solid rgba(201,151,73,.22); border-radius: 22px; box-shadow: 0 30px 70px rgba(23,21,20,.12); overflow: hidden; padding: 34px; }
.adm-contact-card-head { align-items: center; border-bottom: 1px solid var(--adm-border); display: flex; gap: 16px; margin: -4px 0 28px; padding-bottom: 24px; }
.adm-contact-card-head > span { align-items: center; background: var(--adm-soft); border-radius: 14px; color: var(--adm-primary-dark); display: flex; font-size: 20px; height: 48px; justify-content: center; width: 48px; }
.adm-contact-card-head h2 { font-size: 24px; font-weight: 800; margin: 0 0 4px; }
.adm-contact-card-head p { color: var(--adm-muted); margin: 0; }
.adm-contact-form { display: grid; gap: 20px; }
.adm-field label { color: #332f2a; display: block; font-size: 13px; font-weight: 750; margin-bottom: 8px; }
.adm-contact-form .form-control { background: #fbfaf8; border: 1px solid #ded7cb; border-radius: 10px; box-shadow: none; font-size: 16px; height: 48px; padding: 11px 14px; width: 100% !important; }
.adm-contact-form textarea.form-control { height: auto; min-height: 170px; resize: vertical; }
.adm-contact-form .form-control:focus { background: #fff; border-color: var(--adm-primary); box-shadow: 0 0 0 3px rgba(201,151,73,.15); }
.adm-captcha-field { overflow: hidden; }
.adm-captcha-field .g-recaptcha { max-width: 100%; transform-origin: left top; }
.adm-contact-submit { align-items: center; border-radius: 10px !important; display: inline-flex; font-size: 15px; font-weight: 800; gap: 12px; justify-content: center; min-height: 50px; width: 100%; }

@media (max-width: 900px) {
  .adm-contact-shell { gap: 24px; grid-template-columns: 1fr; margin-top: 12px; }
  .adm-contact-intro { padding: 28px 4px 10px; }
}

@media (max-width: 520px) {
  .adm-brand-logo { min-width: 0; }
  .adm-brand-wordmark-image { height: 32px; width: 142px; }
  .adm-page-lockup { gap: 10px; }
  .adm-page-lockup .adm-page-mark { height: 54px; width: 54px; }
  .adm-page-lockup .adm-page-wordmark { height: 54px; max-width: calc(100% - 64px); }
  .adm-contact-shell { padding: 0; }
  .adm-contact-card { border-radius: 14px; padding: 22px 18px; }
  .adm-contact-intro h1 { font-size: 38px; }
  .adm-captcha-field .g-recaptcha { transform: scale(.88); }
}

.main-header .navbar,
.main-header .logo,
.skin-blue .main-header .navbar,
.skin-blue-light .main-header .navbar,
.skin-green .main-header .navbar,
.skin-green-light .main-header .navbar,
.skin-purple .main-header .navbar,
.skin-purple-light .main-header .navbar,
.skin-red .main-header .navbar,
.skin-red-light .main-header .navbar,
.skin-yellow .main-header .navbar,
.skin-yellow-light .main-header .navbar,
.skin-white .main-header .navbar,
.skin-white-light .main-header .navbar,
.skin-blue .main-header .logo,
.skin-blue-light .main-header .logo,
.skin-green .main-header .logo,
.skin-green-light .main-header .logo,
.skin-purple .main-header .logo,
.skin-purple-light .main-header .logo,
.skin-red .main-header .logo,
.skin-red-light .main-header .logo,
.skin-yellow .main-header .logo,
.skin-yellow-light .main-header .logo,
.skin-white .main-header .logo,
.skin-white-light .main-header .logo {
  background: #171514 !important;
}

.adm-btn--primary,
.btn-primary,
.btn-info,
.button10 {
  background: linear-gradient(135deg, #d9b56d, #a97732) !important;
  border-color: #a97732 !important;
  color: #171514 !important;
}

.adm-btn--primary:hover,
.adm-btn--primary:focus,
.btn-primary:hover,
.btn-primary:focus,
.btn-info:hover,
.btn-info:focus,
.button10:hover,
.button10:focus {
  background: linear-gradient(135deg, #efce86, #b98539) !important;
  border-color: #8a5f25 !important;
  color: #171514 !important;
}
