@font-face {
  font-family: "Satoshi-Variable";
  src: url("./fonts/Satoshi-Variable.woff2") format("woff2"), url("./fonts/Satoshi-Variable.woff") format("woff"), url("./fonts/Satoshi-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}

/**
  * This is a variable font
  * You can controll variable axes as shown below:
  * font-variation-settings: 'wght' 900.0;
  *
  * available axes:
  
  * 'wght' (range from 300.0 to 900.0)
  
  */
@font-face {
  font-family: "Satoshi-VariableItalic";
  src: url("./fonts/Satoshi-VariableItalic.woff2") format("woff2"), url("./fonts/Satoshi-VariableItalic.woff") format("woff"), url("./fonts/Satoshi-VariableItalic.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: "Satoshi-Light";
  src: url("./fonts/Satoshi-Light.woff2") format("woff2"), url("./fonts/Satoshi-Light.woff") format("woff"), url("./fonts/Satoshi-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi-LightItalic";
  src: url("./fonts/Satoshi-LightItalic.woff2") format("woff2"), url("./fonts/Satoshi-LightItalic.woff") format("woff"), url("./fonts/Satoshi-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: "Satoshi-Regular";
  src: url("./fonts/Satoshi-Regular.woff2") format("woff2"), url("./fonts/Satoshi-Regular.woff") format("woff"), url("./fonts/Satoshi-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi-Italic";
  src: url("./fonts/Satoshi-Italic.woff2") format("woff2"), url("./fonts/Satoshi-Italic.woff") format("woff"), url("./fonts/Satoshi-Italic.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: "Satoshi-Medium";
  src: url("./fonts/Satoshi-Medium.woff2") format("woff2"), url("./fonts/Satoshi-Medium.woff") format("woff"), url("./fonts/Satoshi-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi-MediumItalic";
  src: url("./fonts/Satoshi-MediumItalic.woff2") format("woff2"), url("./fonts/Satoshi-MediumItalic.woff") format("woff"), url("./fonts/Satoshi-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: "Satoshi-Bold";
  src: url("./fonts/Satoshi-Bold.woff2") format("woff2"), url("./fonts/Satoshi-Bold.woff") format("woff"), url("./fonts/Satoshi-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi-BoldItalic";
  src: url("./fonts/Satoshi-BoldItalic.woff2") format("woff2"), url("./fonts/Satoshi-BoldItalic.woff") format("woff"), url("./fonts/Satoshi-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: "Satoshi-Black";
  src: url("./fonts/Satoshi-Black.woff2") format("woff2"), url("./fonts/Satoshi-Black.woff") format("woff"), url("./fonts/Satoshi-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi-BlackItalic";
  src: url("./fonts/Satoshi-BlackItalic.woff2") format("woff2"), url("./fonts/Satoshi-BlackItalic.woff") format("woff"), url("./fonts/Satoshi-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
  font-style: italic;
}


.topNavigation {
  display: flex;
  align-items: center;
  position: relative;
  gap: 2rem;
  height: 4.5rem;
  /* width: 100%; */
  border-bottom: 1.2px solid #dedede;

}

.topNavigation .topLastWrapper {
  display: flex;
  align-items: center;
  position: absolute;
  right: 2rem;
  gap: 0.5rem;
}

.topNavigation .moduleHeading {
  display: flex;
  position: absolute;
  left: 15rem;
  font-family: satoshi-black;
  font-size: 1.2rem;
  color: #1a1a1a;
  opacity: 0.9;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}




.moduleHeading .pagetitle .main-heading {
  color: #1a3a52;
  margin: 0;
  margin: 0;
  font-size: 20px;
  font-family: 'Satoshi-Bold';
}

.topNavigation .moduleHeading .breadcrumb-container {
  max-width: 100%;
}

body.dark-theme .moduleHeading .pagetitle .main-heading {
  color: var(--dark-text-primary);
}





.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.25rem 0rem;
  margin-bottom: 0rem;
  list-style: none;
  border-radius: 7px;
  align-items: center;
  font-family: 'Satoshi-Regular';
}


.breadcrumb-item a {
  color: #008000;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: #008000e0;
  text-decoration: none;
}

.breadcrumb-item svg {
  margin: 5px;
  fill: #acacac;
  padding: 1px;
}


.accountButton {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  /* background-color: #cce6cc; */
  border-radius: 30px;
  height: 2.35rem;
  padding: 0 0.8rem;
  cursor: pointer;
  font-family: "Satoshi-Bold";
  transition: all 0.3s ease;
}

.accountButton:hover {
  background-color: #c2e6b8;
  /* background-color: #008000; */
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.5rem;
  min-width: 1.5rem;
  border-radius: 50%;
  background-color: #fff;
  margin-right: 0.5rem;
}

.accountName {
  font-size: 0.75rem;
  color: #1a1a1a;
  margin-right: 5px;
}

.dropdownArrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.dropdownArrow i {
  font-size: 12px;
  color: #1a1a1a;
  transition: transform 0.3s ease;
}

body.dark-theme .dropdownArrow i {
  color: var(--dark-text-primary);
}


.dropdownMenu {
  width: 100%;
  top: 40px !important;
  z-index: 1;
  background-color: white;
  font-size: 0.8rem;
  border-radius: 12px;
  font-family: satoshi-medium;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.dropdown-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdownMenu .dropdown-nav .menu-item {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  color: #1a1a1a;
  text-decoration: none;
}

.menu-item .icons {
  width: 15px;
  height: 15px;
  margin-right: 5px;
  font-size: 14px;
}

.menu-item:hover {
  background-color: #f0f0f0;
  color: #1a1a1a;
  text-decoration: none;
}


/* Footer Container */
.footer-container {
  background-color: #123b32;
  color: white;
  margin-top: 10rem;
}

.footer-container .top-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1210px;
  margin: auto;
}

.footer-container .top-container .department-logos {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-right: 1.2px dashed #dedede;
  padding-right: 5rem;
}

.footer-container .top-container .contact-info-cadastre {
  display: flex;
  align-items: center;
  padding-left: 3rem;
}

.footer-container .top-container .contact-info-cadastre .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 0.5rem 0;
}

/* Footer Bottom Container */
.footer-container .bottom-container {
  background: #dedede;
  color: #123b32;
  padding: 1rem 0;
}

.footer-container .bottom-container .wrapper {
  width: 1210px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-container .bottom-container .socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}


.footer-container .top-container .department-logos .gvt-logo img {
  width: 80px;
  height: auto;
}

.footer-container .top-container .department-logos .dsg-logo img {
  width: 100px;
  height: auto;
}

.footer-container .top-container .contact-info-cadastre .ecadastre-logo {
  width: 120px;
  height: auto;
}

/* ── Mobile hamburger: hidden on desktop, visible on mobile only ── */
.mobile-hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 100px;
  border: 1.2px solid #dedede;
  background: transparent;
  cursor: pointer;
  color: #1a1a1a;
  font-size: 1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-hamburger-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}

.mobile-hamburger-btn:hover {
  border-color: #008000;
  background-color: rgba(0, 128, 0, 0.08);
  color: #008000;
}

body.dark-theme .mobile-hamburger-btn {
  border-color: #334155;
  color: #f3f4f6;
}

body.dark-theme .mobile-hamburger-btn:hover {
  border-color: #008000;
  background-color: rgba(0, 128, 0, 0.1);
  color: #4ade80;
}

@media (max-width: 768px) {
  .mobile-hamburger-btn {
    display: flex;
  }

  .topNavigation {
    padding: 0 1rem;
  }

  .topNavigation .moduleHeading {
    left: 1rem;
    max-width: calc(100% - 9.5rem);
  }

  .topNavigation .moduleHeading .pagetitle {
    max-width: 100%;
  }

  .topNavigation .moduleHeading .main-heading {
    max-width: 100%;
    font-size: 0.85rem;
    line-height: 1.05;
  }

  .topNavigation .moduleHeading .main-heading .heading-line {
    display: block;
  }

  .topNavigation .moduleHeading .breadcrumb-container {
    max-width: 100%;
    overflow: hidden;
  }

  .topNavigation .moduleHeading .breadcrumb {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .topNavigation .moduleHeading .breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .topNavigation .moduleHeading .breadcrumb li {
    white-space: nowrap;
  }

  .topNavigation .topLastWrapper {
    right: 1rem;
    gap: 0.4rem;
  }
}


/* ───────────────────────────────────────────────
   Records-management contrast / accessibility
   fixes — apply in dark theme only so light mode
   styling above is preserved.
   ─────────────────────────────────────────────── */

body.dark-theme .breadcrumb {
  font-size: 13px;
  color: #64748b;
}

body.dark-theme .breadcrumb-item a {
  color: #94a3b8;
  font-size: 13px;
}

body.dark-theme .breadcrumb-item a:hover {
  color: #cbd5e1;
}

/* Theme toggle in top nav — dark theme contrast */
body.dark-theme .theme-toggle-btn {
  color: #cbd5e1;
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 4px 12px;
}

body.dark-theme .theme-label {
  color: #cbd5e1;
  font-size: 13px;
}


