/* ===== GLOBAL VARIABLES (merged) ===== */
:root {
  --primary-color: #0a0a0a;
  --secondary-color: #2E8B57;
  --accent-color: #e8f5e8;
  --text-color: #222;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --dash-black: #000000;
  --dash-green: #198754;
  --dash-green-light: #20c997;
  --dash-green-dark: #0d6efd;
  --dash-white: #ffffff;
  --dash-gray: #f8f9fa;
  --dash-gray-dark: #212529;
  --dash-border: #dee2e6;
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--light-bg);
  color: var(--text-color);
  line-height: 1.6;
  padding-top: 94px;          /* keeps fixed navbar from covering page content */
}

main {
  min-height: calc(100vh - 160px);
  padding-bottom: 2rem;
}

footer {
  margin-top: 3rem;
}

.container,
.container-fluid {
  max-width: min(100%, 1200px);
  padding-left: clamp(0.75rem, 3vw, 1.5rem);
  padding-right: clamp(0.75rem, 3vw, 1.5rem);
}

.site-main {
  width: 100%;
}

.site-main > .container,
.site-main > .container-fluid,
.site-main > .container-xl,
.responsive-container {
  max-width: min(100%, 1200px);
  padding-left: clamp(0.75rem, 3vw, 1.5rem);
  padding-right: clamp(0.75rem, 3vw, 1.5rem);
}

.row {
  min-width: 0;
}

.col,
[class*="col-"] {
  min-width: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

img,
video {
  height: auto;
}

.woodshop-body {
  background-color: var(--dash-gray);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  padding-top: 0;
}

/* ===== HEADER / NAVBAR (merged custom + sticky header) ===== */
header {
  background: var(--primary-color);
  color: var(--white);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* If you also use a .navbar-custom class (for Bootstrap) */
.navbar-custom {
  background: var(--primary-color) !important;
  padding: 0.35rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-custom > .container,
.navbar-custom > .container-fluid {
  min-height: 70px;
}

.navbar-shell {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 56px;
  padding-left: clamp(1rem, 2vw, 2rem) !important;
  padding-right: clamp(1rem, 2vw, 2rem) !important;
}

.navbar-left-container {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 320px;
}

.navbar-right-container {
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.navbar-custom .navbar-nav {
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
}

.navbar-brand-custom {
  color: var(--white) !important;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  min-width: 0;
  max-width: 100%;
}

.dash-brand-lockup,
.dash-brand-wrapper {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0 !important;
}

.dash-logo-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1;
  color: var(--primary-color);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dash-logo-text-main {
  font-size: 1.25rem;
}

.dash-logo-text-sub {
  margin-top: 0.18rem;
  color: var(--gray);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.dash-logo-text-light,
.dash-logo-text-light .dash-logo-text-sub {
  color: var(--white);
}

.navbar-custom .dash-logo-text-main {
  color: var(--white);
  font-size: 1.32rem;
}

.navbar-custom .dash-logo-text-sub {
  color: rgba(255, 255, 255, 0.82);
}

.footer .dash-logo-text-main,
.footer-custom .dash-logo-text-main {
  color: var(--white);
}

.footer .dash-logo-text-sub,
.footer-custom .dash-logo-text-sub {
  color: rgba(255, 255, 255, 0.72);
}

.logo-icon {
  margin-right: 10px;
  font-size: 1.5rem;
  color: var(--secondary-color);
}
.logo{
  transform: translateY(-2px);
}
.dash-logo-icon,
.dash-logo-name,
.brand-logo-mark,
.brand-logo-name {
  display: block;
  width: auto;
  max-width: 100%;
  min-width: 0;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

img[src*="dash360grouptrademark.png"],
img[src*="dash360groupname.png"] {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  overflow: hidden;
}

.dash-logo-icon,
.brand-logo-mark {
  height: 38px !important;
  max-height: 38px !important;
  flex: 0 0 auto;
}

.dash-logo-name,
.brand-logo-name {
  height: 22px !important;
  max-height: 22px !important;
  max-width: 160px;
  margin-left: 0;
  flex: 0 1 auto;
}

.navbar-custom .dash-logo-icon,
.navbar-custom .brand-logo-mark {
  height: 42px !important;
  max-height: 42px !important;
}

.navbar-custom .dash-logo-name,
.navbar-custom .brand-logo-name {
  height: 30px !important;
  max-height: 30px !important;
  max-width: 230px;
}

.dash-logo-name:first-child,
.brand-logo-name:first-child {
  margin-left: 0;
}

.brand-logo-name-footer {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-brand {
  max-width: 100%;
  overflow: hidden;
}

.dash-logo-footer .dash-logo-icon,
.footer-brand .brand-logo-mark {
  height: 32px !important;
  max-height: 32px !important;
}

.dash-logo-footer .dash-logo-name,
.footer-brand .brand-logo-name {
  height: 20px !important;
  max-height: 20px !important;
  max-width: 145px;
}

.dash-logo-sidebar .dash-logo-icon {
  height: 45px;
  max-height: 45px;
}

.dash-logo-sidebar .dash-logo-name {
  height: 26px;
  max-height: 26px;
  max-width: 190px;
}

.dash-logo-display .dash-logo-icon {
  height: 62px;
  max-height: 62px;
}

.dash-logo-display .dash-logo-name {
  height: 36px;
  max-height: 36px;
  max-width: min(240px, 70vw);
}

.navbar-brand-custom:hover .dash-logo-icon,
.navbar-brand-custom:hover .dash-logo-name,
.navbar-brand-custom:hover .brand-logo-mark,
.navbar-brand-custom:hover .brand-logo-name {
  transform: scale(1.03);
}

/* Logo text */
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
}

/* Navigation links (plain header nav) */
header nav {
  display: flex;
  gap: 1.5rem;
}

header nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

header nav a:hover::after {
  width: 100%;
}

/* Bootstrap-like nav links */
.nav-link-custom {
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.72rem 0.78rem !important;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link-custom:hover,
.nav-link-custom:focus {
  background: rgba(255,255,255,0.08);
  color: var(--secondary-color) !important;
}

.nav-link-custom::after {
  display: none;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: 0;
}

.navbar-custom .navbar-nav > .nav-item:last-child {
  border-left: 1px solid rgba(255,255,255,0.12);
  margin-left: 0.35rem;
  padding-left: 0.35rem;
}

/* Dropdown menu */
.dropdown-menu-custom {
  background: var(--primary-color) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
  min-width: 14rem !important;
  padding: 0.45rem !important;
  margin-top: 0.5rem !important;
  animation: dropdownFade 0.2s ease-out;
}

.navbar-nav .dropdown:last-child .dropdown-menu-custom {
  left: auto;
  right: 0;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item-custom {
  color: rgba(255,255,255,0.9) !important;
  border-radius: 7px;
  padding: 0.74rem 0.95rem !important;
  font-size: 0.96rem;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.dropdown-item-custom:hover {
  background: var(--secondary-color) !important;
  color: var(--white) !important;
  transform: translateX(3px);
}

.dropdown-divider-custom {
  border-color: rgba(255,255,255,0.1) !important;
  margin: 0.5rem 0 !important;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.navbar-toggler {
  border: none !important;
  padding: 0.25rem !important;
  flex: 0 0 auto;
  min-width: 40px;
  min-height: 40px;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-toggler-icon-custom {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-dash360 {
  background: linear-gradient(135deg, var(--dash-black), #111);
  border-bottom: 3px solid var(--dash-green);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.dash-badge {
  background: linear-gradient(135deg, var(--dash-green), var(--dash-green-light));
  color: var(--dash-black);
  font-weight: 700;
}

.text-dash-green {
  color: var(--dash-green);
}

.bg-dash-gradient {
  background: linear-gradient(135deg, var(--dash-black), var(--dash-gray-dark));
}

.sidebar-dash {
  background-color: var(--dash-white);
  border-right: 1px solid var(--dash-border);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

.woodshop-brand-mark {
  border-radius: 8px;
}

.woodshop-brand-name {
  filter: brightness(0) invert(1);
}

@media (min-width: 1200px) {
  .navbar-right-container {
    display: flex !important;
  }

  .menu-wrapper {
    flex: 1 1 auto;
  }
}

/* ===== HERO SECTION (with orbiting elements) ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 6rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* ===== CARDS ===== */
.card-dash {
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card-dash:hover {
  border-color: var(--dash-green-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dash-card-header-gradient {
  background: linear-gradient(135deg, #0a0a0a 0%, #2E8B57 100%);
}

.quick-action-card {
  color: inherit;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick-action-card:hover,
.quick-action-card:focus {
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, .12) !important;
  color: inherit;
  outline: 0;
  transform: translateY(-3px);
}

.quick-action-card.is-active {
  border: 2px solid var(--bs-success) !important;
  box-shadow: 0 .75rem 1.5rem rgba(25, 135, 84, .16) !important;
}

.quick-action-icon {
  align-items: center;
  border-radius: .75rem;
  display: inline-flex;
  font-size: 1.25rem;
  height: 46px;
  justify-content: center;
  width: 46px;
}

/* ===== PRIVATE DOCUMENTS ===== */
.private-documents-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(46, 139, 87, 0.18), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(25, 135, 84, 0.16), transparent 28%),
    linear-gradient(135deg, #f6fbf8 0%, #edf7f1 42%, #f8fafc 100%);
  margin: -1rem 0 0;
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.private-documents-hero {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.97), rgba(13, 82, 45, 0.94)),
    #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  box-shadow: 0 28px 70px rgba(4, 24, 14, 0.24);
  color: #ffffff;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.private-documents-hero::after {
  background:
    linear-gradient(90deg, rgba(46, 139, 87, 0.4), transparent),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 13px);
  content: "";
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
}

.private-documents-hero-copy,
.private-documents-hero-panel {
  position: relative;
  z-index: 1;
}

.private-documents-kicker {
  align-items: center;
  color: #8ce2ad;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 900;
  gap: 0.5rem;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.private-documents-hero h1 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
  max-width: 780px;
}

.private-documents-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.65;
  margin: 1.2rem 0 0;
  max-width: 680px;
}

.private-documents-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.private-documents-meta span {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
}

.private-documents-hero-panel {
  align-items: center;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.25rem;
  color: #0f172a;
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.private-documents-logo {
  background: #0a0a0a;
  border: 4px solid #198754;
  border-radius: 1rem;
  box-shadow: 0 18px 36px rgba(25, 135, 84, 0.22);
  height: 76px;
  object-fit: cover;
  width: 76px;
}

.private-documents-panel-label,
.summary-label,
.private-document-label {
  color: #198754;
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.private-documents-panel-value {
  color: #0a0a0a;
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 950;
  letter-spacing: -0.03em;
  word-break: break-word;
}

.private-documents-secure-note {
  align-items: center;
  background: #eaf7ef;
  border: 1px solid #cdebd8;
  border-radius: 999px;
  color: #176f43;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 800;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
}

.private-documents-summary-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.5rem 0;
}

.private-documents-summary-card {
  background: #ffffff;
  border: 1px solid #dcebe2;
  border-radius: 1.1rem;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  padding: 1.25rem;
}

.private-documents-summary-card strong {
  color: #0f172a;
  display: block;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.15;
  margin-top: 0.35rem;
}

.summary-card-emphasis {
  background: linear-gradient(135deg, #0a0a0a, #176f43);
  border-color: rgba(255, 255, 255, 0.18);
}

.summary-card-emphasis .summary-label,
.summary-card-emphasis strong {
  color: #ffffff;
}

.private-documents-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.private-document-card,
.private-documents-boundary {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dcebe2;
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.private-document-card {
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(0, 1fr);
  padding: clamp(1.15rem, 3vw, 1.5rem);
}

.private-document-card-wide {
  grid-column: 1 / -1;
}

.private-document-icon {
  align-items: center;
  background: linear-gradient(135deg, #0a0a0a, #198754);
  border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(25, 135, 84, 0.2);
  color: #ffffff;
  display: inline-flex;
  font-size: 1.45rem;
  height: 3.25rem;
  justify-content: center;
  width: 3.25rem;
}

.private-document-card h2,
.private-documents-boundary h2 {
  color: #0f172a;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0.25rem 0 0.65rem;
}

.private-document-card p,
.private-documents-boundary p {
  color: #536158;
  line-height: 1.68;
  margin-bottom: 0.65rem;
}

.private-document-card p:last-child,
.private-documents-boundary p:last-child {
  margin-bottom: 0;
}

.private-documents-boundary {
  align-items: flex-start;
  background:
    linear-gradient(135deg, rgba(234, 247, 239, 0.98), rgba(255, 255, 255, 0.98));
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: clamp(1.15rem, 3vw, 1.5rem);
}

.private-documents-boundary > i {
  color: #198754;
  flex: 0 0 auto;
  font-size: 2rem;
}

@media (max-width: 991.98px) {
  .private-documents-hero,
  .private-documents-summary-grid,
  .private-documents-grid {
    grid-template-columns: 1fr;
  }

  .private-documents-hero-panel {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .private-documents-page {
    margin-top: -0.5rem;
    padding-top: 1.5rem;
  }

  .private-documents-hero {
    border-radius: 1rem;
  }

  .private-document-card {
    grid-template-columns: 1fr;
  }

  .private-documents-meta span,
  .private-documents-secure-note {
    width: 100%;
  }
}

/* ===== BUTTONS ===== */
.btn-dash {
  background-color: var(--dash-green);
  border: none;
  border-radius: 6px;
  color: var(--dash-white);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s;
}

.btn-dash:hover,
.btn-dash:focus {
  background-color: var(--dash-green-light);
  box-shadow: 0 4px 12px rgba(32, 201, 151, 0.3);
  color: var(--dash-white);
  transform: translateY(-2px);
}

/* ===== FORMS ===== */
.filter-section {
  border-bottom: 1px solid var(--dash-border);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.dash-container-xs {
  max-width: 400px;
}

.dash-container-sm {
  max-width: 520px;
}

.dash-container-md {
  max-width: 720px;
}

.dash-container-lg {
  max-width: 760px;
}

.dash-container-xl {
  max-width: 860px;
}

/* ===== GLOBAL RESPONSIVE FORM SYSTEM ===== */
.messages-container {
  margin: 0 auto 1.5rem;
  max-width: 860px;
  width: min(100%, 860px);
}

.form-card,
.auth-card,
.activation-card,
.activation-form,
.auth-form-card,
.dash-form-card {
  overflow: visible;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  width: min(100%, 720px);
}

.form-section {
  max-width: 720px;
  overflow: visible;
}

.row > .form-section {
  max-width: none;
}

form,
.card,
.login-card,
.register-card {
  max-width: 100%;
}

.form-check-label,
.form-label,
.form-text,
.card-text,
p,
a,
button,
label {
  overflow-wrap: anywhere;
  word-break: normal;
}

.form-control,
.form-select,
.input-group,
.btn,
.input-group-text,
.dropdown-menu,
.modal,
.modal-dialog,
textarea,
select,
input {
  max-width: 100%;
}

.form-control,
.form-select {
  min-height: 2.75rem;
}

.form-control,
.form-select,
.btn {
  touch-action: manipulation;
}

.input-group {
  flex-wrap: nowrap;
  max-width: 100%;
}

.input-group .form-control {
  min-width: 0;
}

.input-group .btn,
.input-group .input-group-text {
  flex: 0 0 auto;
}

.responsive-input-group {
  align-items: stretch;
}

.dash-qty-control {
  max-width: 180px;
}

.dash-qty-control .form-control {
  flex: 1 1 3.5rem;
  min-width: 3.25rem;
}

.form-check {
  align-items: flex-start;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  padding-left: 0;
  width: 100%;
}

.form-check .form-check-input,
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  flex: 0 0 auto;
  margin-left: 0;
  margin-top: 0.3rem;
  pointer-events: auto;
}

.form-check .form-check-label {
  flex: 1 1 0;
  line-height: 1.4;
  min-width: 0;
}

.form-check .invalid-feedback,
.form-check .form-text {
  flex: 0 0 100%;
  margin-left: calc(1rem + 0.5rem);
}

.form-actions,
.button-row {
  align-items: stretch;
}

.form-actions > form,
.button-row > form {
  flex: 1 1 0;
  min-width: 0;
}

.action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.orbit-angle-0 { --angle: 0deg; --float-delay: 0s; }
.orbit-angle-45 { --angle: 45deg; --float-delay: 0.6s; }
.orbit-angle-90 { --angle: 90deg; --float-delay: 1.2s; }
.orbit-angle-135 { --angle: 135deg; --float-delay: 1.8s; }
.orbit-angle-180 { --angle: 180deg; --float-delay: 2.4s; }
.orbit-angle-225 { --angle: 225deg; --float-delay: 3s; }
.orbit-angle-270 { --angle: 270deg; --float-delay: 3.6s; }
.orbit-angle-315 { --angle: 315deg; --float-delay: 4.2s; }

.table,
.card,
.modal-content,
.dropdown-menu,
.list-group,
.alert {
  max-width: 100%;
}

.table-responsive {
  max-width: 100%;
}

.card-dash,
.dash-card,
.product-card,
.profile-image-wrapper {
  max-width: 100%;
}

.invalid-feedback.d-block {
  color: #b42318;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.form-text {
  color: #5f6f64;
  overflow-wrap: anywhere;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 575.98px) {
  main.container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .page-content,
  .auth-page,
  .activation-page {
    padding: 1rem 0.75rem;
  }

  .auth-card,
  .activation-card,
  .form-card {
    width: 100%;
  }

  section.py-5,
  .container.py-5 {
    padding-bottom: 2rem !important;
    padding-top: 2rem !important;
  }

  .card-body {
    padding: 1.1rem !important;
  }

  .d-flex.gap-2,
  .d-flex.flex-wrap.gap-2 {
    align-items: stretch;
  }

  form:not(.d-inline) > .btn,
  form:not(.d-inline) .form-actions .btn,
  form:not(.d-inline) .button-row .btn,
  form:not(.d-inline) .action-stack .btn,
  .wallet-filter-actions .btn {
    width: 100%;
  }

  .input-group:not(.responsive-input-group) > .btn,
  .input-group:not(.responsive-input-group) > .input-group-text {
    width: auto;
  }

  .form-control,
  .form-select {
    font-size: 1rem;
    width: 100%;
  }

  .form-actions,
  .button-row,
  .action-stack {
    display: grid !important;
    gap: 0.75rem;
    grid-template-columns: 1fr;
  }

  .form-actions .btn,
  .button-row .btn,
  .action-stack .btn {
    width: 100%;
  }

  .responsive-input-group {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .responsive-input-group > .form-control,
  .responsive-input-group > .form-select,
  .responsive-input-group > .input-group-text,
  .responsive-input-group > .btn {
    border-radius: 0.75rem !important;
    margin-left: 0 !important;
    width: 100%;
  }

  .responsive-input-group > * + * {
    margin-top: 0.5rem;
  }
}

@media (max-width: 374.98px) {
  main.container {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .card-header,
  .card-body {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
  }

  .btn-lg {
    font-size: 1rem;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
}

/* ===== REGISTER PAGE ===== */
.register-page {
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(235, 245, 241, 0.92)),
    linear-gradient(45deg, #f8fafc, #e7f3ed);
  min-height: calc(100vh - 120px);
}

.register-card {
  background: #ffffff;
  border: 1px solid #dbe7e2;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.14);
  max-width: 1080px;
  overflow: hidden;
}

.register-intro {
  background:
    linear-gradient(160deg, rgba(10, 10, 10, 0.96), rgba(26, 103, 68, 0.94)),
    #0a0a0a;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
  min-height: 100%;
  padding: 2.5rem;
}

.register-brand,
.register-highlights div {
  align-items: center;
  display: flex;
}

.register-highlights div {
  gap: .75rem;
}

.register-brand {
  font-weight: 800;
  letter-spacing: .04em;
  max-width: 100%;
  overflow: hidden;
}

.register-brand-mark {
  border-radius: 10px;
  max-height: 48px;
}

.register-brand-name {
  filter: brightness(0) invert(1);
  max-height: 34px;
}

.register-intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
  max-width: 420px;
}

.register-intro p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  max-width: 420px;
}

.register-highlights {
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  gap: .9rem;
}

.register-highlights i {
  color: #f2c94c;
  font-size: 1.1rem;
}

.register-form-panel {
  padding: 2.5rem;
}

.register-form-heading {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.register-form-heading h2 {
  color: #13251d;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0;
}

.register-form-heading p,
.register-login,
.register-login div,
.terms-check {
  color: #647067;
}

.form-badge {
  align-items: center;
  background: #edf8f2;
  border: 1px solid #cde6d9;
  border-radius: 999px;
  color: #176f43;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 700;
  min-height: 32px;
  padding: .35rem .7rem;
}

.register-form label {
  color: #23352d;
  font-weight: 700;
}

.register-form .form-control,
.register-form .form-select,
.register-form select {
  background-color: #fbfefd;
  border-color: #d5e2dc;
  border-radius: 8px;
  box-shadow: none;
  min-height: 48px;
}

.register-form .form-control:focus,
.register-form .form-select:focus,
.register-form select:focus {
  border-color: #2e8b57;
  box-shadow: 0 0 0 .2rem rgba(46, 139, 87, .14);
}

.register-form .form-text {
  color: #748078;
}

.register-form .invalid-feedback,
.register-form .text-danger {
  font-weight: 600;
}

.terms-check {
  background: #fbfefd;
  border: 1px solid #e0e8e4;
  border-radius: 8px;
  padding: 1rem 1rem 1rem 2.75rem;
}

.terms-check a,
.register-login a {
  color: #176f43;
}

.register-submit {
  background: linear-gradient(135deg, #176f43, #2e8b57);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(46, 139, 87, .22);
}

.register-submit:hover,
.register-submit:focus {
  background: linear-gradient(135deg, #115735, #257348);
}

@media (max-width: 991.98px) {
  .register-intro,
  .register-form-panel {
    padding: 1.5rem;
  }

  .register-intro {
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .register-brand-name {
    max-height: 28px;
  }

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

/* ===== INVESTOR ACTIVATION FORM ===== */
.activation-bg {
  background:
    radial-gradient(circle at 12% 20%, rgba(16, 185, 129, 0.20), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(34, 197, 94, 0.15), transparent 30%),
    linear-gradient(120deg, #f4faf7 0%, #eef6ff 55%, #f8fffb 100%);
}

.activation-card {
  border: 1px solid #dbe9df;
  border-radius: 1rem;
}

.activation-header {
  background: linear-gradient(120deg, #0d1b2a 0%, #176f43 100%);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.form-section {
  background: #fbfefd;
  border: 1px solid #e4eee8;
  border-radius: .75rem;
  padding: 1rem;
}

.section-table thead th {
  background: #eef8f1;
  color: #1f5134;
  font-size: .9rem;
}

.section-table tbody td {
  border-color: #e6eee9;
}

#id_monthly_income {
  max-width: 420px;
}

#id_contribution_rate {
  width: 100%;
}

.expense-row {
  animation: expense-row-flash .35s ease-out;
}

@keyframes expense-row-flash {
  from { background: #e8f8ef; }
  to { background: transparent; }
}

/* ===== LOGIN PAGE ===== */
.login-page-shell {
  position: relative;
  width: min(100%, 430px);
}

.login-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)),
    radial-gradient(circle at top left, rgba(22, 163, 74, 0.16), transparent 40%);
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.login-card::before {
  background: linear-gradient(90deg, #000000, #14532d, #16a34a);
  content: "";
  display: block;
  height: 6px;
  margin: clamp(-2.25rem, -4vw, -1.5rem) clamp(-2.25rem, -4vw, -1.5rem) 1.5rem;
}

.login-auth-brand {
  align-items: center;
  display: flex !important;
  gap: 0.85rem;
  justify-content: center;
  width: 100%;
}

.login-brand-mark-wrap {
  background: #0f8a4b;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(15, 138, 75, 0.24);
  display: inline-flex;
  height: 58px;
  overflow: hidden;
  width: 58px;
}

.login-brand-mark {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.login-brand-copy {
  align-items: flex-start;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.login-brand-name {
  color: #0f8a4b;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.login-brand-subtitle {
  color: #111827;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-top: 0.2rem;
  text-transform: uppercase;
}

.login-title {
  color: #000000;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.login-field label {
  color: #111827;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.login-field .form-control {
  background: #ffffff;
  border-color: rgba(20, 83, 45, 0.24);
  border-radius: 0.9rem;
  color: #111827;
  font-weight: 700;
  min-height: 3.1rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}

.login-field .form-control:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 0.22rem rgba(22, 163, 74, 0.16);
}

.login-control {
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.login-control::placeholder,
.dash-secret-field::placeholder {
  color: #9ca3af;
  font-weight: 600;
}

.login-register-prompt {
  color: #4b5563;
  font-weight: 600;
}

.login-register-link {
  color: #0f8a4b;
  font-weight: 900;
  text-decoration: none;
}

.login-register-link:hover,
.login-register-link:focus {
  color: #14532d;
  text-decoration: underline;
}

/* ===== SECRET / CODE FIELD REVEAL TOGGLE ===== */
.dash-secret-input-group {
  align-items: stretch;
  border-radius: 0.9rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

.dash-secret-input-group .dash-secret-field {
  background: #ffffff;
  border-color: rgba(20, 83, 45, 0.24);
  border-radius: 0.9rem 0 0 0.9rem !important;
  border-right: 0;
  color: #111827;
  flex: 1 1 auto;
  font-weight: 700;
  min-height: 3.1rem;
  min-width: 0;
  padding: 0.75rem 1rem;
  width: auto !important;
}

.password-toggle,
.dash-secret-toggle {
  align-items: center;
  background: #ffffff;
  border-color: #ced4da;
  border-radius: 0 0.9rem 0.9rem 0 !important;
  color: #495057;
  display: inline-flex;
  flex: 0 0 48px;
  font-size: 1.05rem;
  font-weight: 800;
  justify-content: center;
  max-width: 48px;
  min-width: 48px;
  padding-inline: 0.75rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.dash-secret-input-group:focus-within {
  box-shadow: 0 0 0 0.22rem rgba(22, 163, 74, 0.16);
}

.password-toggle:hover,
.password-toggle:focus,
.dash-secret-toggle:hover,
.dash-secret-toggle:focus {
  background: #f8f9fa;
  border-color: #adb5bd;
  box-shadow: 0 10px 18px rgba(22, 163, 74, 0.24);
  color: #14532d;
  transform: translateY(-1px);
}

.password-toggle:focus-visible,
.dash-secret-toggle:focus-visible {
  box-shadow: 0 0 0 0.22rem rgba(22, 163, 74, 0.22);
  outline: 0;
}

@media (max-width: 576px) {
  .login-page-shell {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
  }

  .login-card {
    border-radius: 1.2rem;
    padding: 1.35rem;
  }

  .login-brand-mark-wrap {
    height: 52px;
    width: 52px;
  }

  .login-brand-name {
    font-size: 1.12rem;
  }

  .login-field .form-control,
  .dash-secret-input-group .dash-secret-field {
    min-height: 3rem;
  }

  .password-toggle,
  .dash-secret-toggle {
    flex-basis: 48px;
    max-width: 48px;
    min-width: 48px;
    width: 48px;
  }
}

/* ===== MEDIA & ICON UTILITIES ===== */
.dash-img-contain {
  object-fit: contain;
}

.dash-img-cover {
  object-fit: cover;
}

.dash-img-h-40 {
  height: 40px;
}

.dash-img-h-50 {
  height: 50px;
}

.dash-img-h-80 {
  height: 80px;
}

.dash-img-h-100 {
  height: 100px;
}

.dash-img-h-200 {
  height: 200px;
}

.dash-img-max-80 {
  max-height: 80px;
}

.dash-img-max-100 {
  max-height: 100px;
}

.dash-img-max-300 {
  max-height: 300px;
}

.dash-img-max-400 {
  max-height: 400px;
}

.dash-img-max-500 {
  max-height: 500px;
}

.dash-scroll-sm {
  max-height: 200px;
  overflow-y: auto;
}

.dash-scroll-md {
  max-height: 300px;
  overflow-y: auto;
}

.dash-scroll-lg {
  max-height: 500px;
  overflow-y: auto;
}

.dash-clickable {
  cursor: pointer;
}

.dash-icon-sm {
  font-size: 1.2rem;
}

.dash-icon-md {
  font-size: 1.5rem;
}

.dash-icon-lg {
  font-size: 2rem;
}

.dash-icon-xl {
  font-size: 2.5rem;
}

.dash-icon-empty {
  font-size: 3rem;
}

.dash-icon-green {
  color: var(--dash-green, var(--secondary-color));
}

.dash-table-feature-col {
  width: 200px;
}

.dash-table-product-col {
  min-width: 250px;
}

.dash-spec-label-col {
  width: 40%;
}

.dash-qty-control {
  width: 120px;
}

.dash-border-left-0 {
  border-left: 0 !important;
}

.dash-avatar-80 {
  height: 80px;
  width: 80px;
}

.dash-square-40 {
  height: 40px;
  width: 40px;
}

.dash-status-dot {
  bottom: 15px;
  height: 20px;
  right: 35%;
  width: 20px;
}

.auth-brand {
  max-width: 100%;
  overflow: hidden;
}

.auth-brand-mark {
  border-radius: 12px;
  max-height: 62px;
}

.auth-brand-name {
  max-height: 36px;
}

.dash-rating-star {
  color: #ddd;
  cursor: pointer;
}

.dash-progress-thin {
  height: 8px;
}

.dash-mini-cart-menu {
  width: 350px;
}

.thumbnail:hover,
.thumbnail-zoom:hover {
  border-color: var(--dash-green, var(--secondary-color)) !important;
}

.thumbnail.active,
.thumbnail-zoom.active {
  border: 2px solid var(--dash-green, var(--secondary-color)) !important;
}

.list-view .col-xl-3 {
  flex: 0 0 100%;
  max-width: 100%;
}

.list-view-card {
  display: flex;
  flex-direction: row;
}

.list-view-card .card-img-top {
  height: auto;
  width: 200px;
}

.hover-lift:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(46,139,87,0.1) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.circle-wrapper {
  position: relative;
  width: 500px;
  height: 500px;
  margin-bottom: 3rem;
  z-index: 1;
}

.main-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 3;
  border: 3px solid var(--secondary-color);
}

.main-logo:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.orbit-item {
  position: absolute;
  width: 140px;
  height: 50px;
  background: var(--white);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transform-origin: 250px 250px;
  animation: rotate 20s linear infinite;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-color);
  z-index: 2;
  border: 2px solid var(--secondary-color);
}

.orbit-item:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.orbit-item:nth-child(2) { animation-delay: -2.5s; }
.orbit-item:nth-child(3) { animation-delay: -5s; }
.orbit-item:nth-child(4) { animation-delay: -7.5s; }
.orbit-item:nth-child(5) { animation-delay: -10s; }
.orbit-item:nth-child(6) { animation-delay: -12.5s; }
.orbit-item:nth-child(7) { animation-delay: -15s; }
.orbit-item:nth-child(8) { animation-delay: -17.5s; }

@keyframes rotate {
  from {
    transform: rotate(0deg) translateX(230px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(230px) rotate(-360deg);
  }
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  z-index: 1;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  z-index: 1;
}

/* ===== GENERAL SECTIONS ===== */
section {
  padding: 5rem 2rem;
  text-align: center;
  min-height: 400px;   /* from first definition */
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;      /* from first .section-title */
  border-bottom: 3px solid var(--secondary-color); /* from first */
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 4px solid var(--secondary-color);
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* About */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Contact */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary-color);
  color: var(--white);
  text-align: left;
}

.footer-custom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-shell {
  max-width: min(100%, 1200px);
  padding-left: clamp(1rem, 2vw, 2rem) !important;
  padding-right: clamp(1rem, 2vw, 2rem) !important;
}

.footer-grid {
  align-items: flex-start;
}

.footer-description {
  color: rgba(255,255,255,0.62);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 26rem;
  margin-bottom: 0;
}

.footer-title {
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-link-list,
.footer-contact-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0;
}

.footer-link {
  color: rgba(255,255,255,0.68);
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--secondary-color);
  transform: translateX(2px);
}

.footer-contact-item {
  color: rgba(255,255,255,0.68);
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover,
.social-link:focus {
  color: var(--white);
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.footer-newsletter h6 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-newsletter-input {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.16) !important;
  color: var(--white) !important;
}

.footer-newsletter-input::placeholder {
  color: rgba(255,255,255,0.48);
}

.footer-newsletter-button {
  min-width: 46px;
}

.footer-newsletter-form .footer-newsletter-button {
  flex: 0 0 48px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

.footer-copyright {
  color: rgba(255,255,255,0.58);
  font-size: 0.92rem;
}

.footer-legal ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.footer-links h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== READONLY & DISABLED FIELDS ===== */
input[readonly],
textarea[readonly],
select[readonly] {
  background-color: #f2f2f2 !important;
  color: #6c757d;
  cursor: not-allowed;
  border-color: #dcdcdc;
}

input:disabled,
textarea:disabled,
select:disabled {
  background-color: #e9ecef !important;
  color: #6c757d;
  cursor: not-allowed;
}

/* ===== RESPONSIVE DESIGN (merged) ===== */
@media (max-width: 1199.98px) {
  .navbar-custom {
    padding: 0.25rem 0;
  }

  .navbar-custom > .container,
  .navbar-custom > .container-fluid {
    min-height: 62px;
  }

  .navbar-shell {
    flex-wrap: wrap;
    gap: 0;
    min-height: 52px;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .navbar-left-container {
    flex: 1 1 auto;
    max-width: calc(100% - 52px);
  }

  .navbar-custom .navbar-collapse {
    flex-basis: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 0.35rem;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.55rem 0 0.85rem;
  }

  .navbar-right-container {
    width: 100%;
  }

  .menu-wrapper {
    align-items: stretch;
    justify-content: flex-start;
  }

  .navbar-custom .navbar-nav {
    align-items: stretch;
    gap: 0.18rem;
    width: 100%;
    padding: 0.35rem 0;
  }

  .nav-link-custom {
    border-radius: 8px;
    font-size: 0.95rem;
    padding: 0.76rem 0.85rem !important;
  }

  .nav-link-custom:hover,
  .nav-link-custom:focus {
    background: rgba(255,255,255,0.08);
  }

  .nav-link-custom:hover::after,
  .nav-link-custom.active::after {
    width: 0;
  }

  .dropdown-menu-custom {
    background: rgba(10, 10, 10, 0.95) !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0.25rem 0 0.5rem !important;
    padding: 0.25rem 0 0.5rem !important;
    animation: none;
  }

  .dropdown-item-custom {
    border-radius: 8px;
    padding: 0.65rem 1rem 0.65rem 2.25rem !important;
    white-space: normal !important;
  }

  .dropdown-item-custom:hover {
    transform: none;
  }

  .navbar-nav .dropdown:last-child .dropdown-menu-custom {
    left: 0;
    right: auto;
  }

  .navbar-custom .navbar-nav > .nav-item:last-child {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-left: 0;
    margin-top: 0.35rem;
    padding-left: 0;
    padding-top: 0.35rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 72px;
  }

  .navbar-custom .dash-logo-icon,
  .navbar-custom .brand-logo-mark {
    height: 34px !important;
    max-height: 34px !important;
  }

  .navbar-custom .dash-logo-name,
  .navbar-custom .brand-logo-name {
    height: 23px !important;
    max-height: 23px !important;
    max-width: 174px;
  }

  .auth-brand-mark {
    max-height: 52px;
  }

  .auth-brand-name {
    max-height: 30px;
  }

  .dash-logo-footer .dash-logo-icon,
  .footer-brand .brand-logo-mark {
    height: 28px !important;
    max-height: 28px !important;
  }

  .dash-logo-footer .dash-logo-name,
  .footer-brand .brand-logo-name {
    height: 18px !important;
    max-height: 18px !important;
    max-width: 120px;
  }

  .dash-logo-sidebar .dash-logo-icon {
    height: 34px;
    max-height: 34px;
  }

  .dash-logo-sidebar .dash-logo-name {
    height: 20px;
    max-height: 20px;
    max-width: 135px;
  }

  .dash-logo-display .dash-logo-icon {
    height: 50px;
    max-height: 50px;
  }

  .dash-logo-display .dash-logo-name {
    height: 30px;
    max-height: 30px;
    max-width: 190px;
  }

  header {
    padding: 1rem;
  }
  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  header nav.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero {
    padding: 6rem 1rem 4rem;
    min-height: 90vh;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .circle-wrapper {
    width: 350px;
    height: 350px;
  }
  .main-logo {
    width: 120px;
    height: 120px;
  }
  .orbit-item {
    transform-origin: 175px 175px;
    width: 110px;
    height: 45px;
    font-size: 0.8rem;
  }
  @keyframes rotate {
    from { transform: rotate(0deg) translateX(160px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(160px) rotate(-360deg); }
  }
  section {
    padding: 4rem 1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }

  .footer-shell {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    text-align: center;
  }

  .footer-brand,
  footer .dash-brand-lockup,
  .footer .dash-brand-lockup,
  .footer-custom .dash-brand-lockup,
  .footer-contact-item,
  .social-links {
    justify-content: center;
  }

  .footer-description {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-link {
    justify-content: center;
    width: 100%;
  }

  footer .row > [class*="col-"] {
    text-align: center;
  }

  footer ul,
  footer p {
    margin-left: auto;
    margin-right: auto;
  }

  footer .text-md-end,
  footer .text-end {
    text-align: center !important;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .footer-legal ul {
    justify-content: center;
    gap: 0.75rem;
  }
}

@media (max-width: 414px) {
  .container,
  .container-fluid,
  .container-xl,
  .site-main > .container,
  .site-main > .container-fluid,
  .site-main > .container-xl,
  .responsive-container {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  .card-body,
  .card-dash {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 375px) {
  .btn,
  .form-control,
  .form-select,
  .input-group-text {
    font-size: 0.95rem;
  }

  .badge {
    white-space: normal;
  }
}

@media (max-width: 320px) {
  .container,
  .container-fluid,
  .container-xl,
  .site-main > .container,
  .site-main > .container-fluid,
  .site-main > .container-xl,
  .responsive-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .btn {
    white-space: normal;
  }

  .form-check .invalid-feedback,
  .form-check .form-text {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .circle-wrapper {
    width: 280px;
    height: 280px;
  }
  .orbit-item {
    transform-origin: 140px 140px;
    width: 90px;
    height: 40px;
    font-size: 0.7rem;
  }
  @keyframes rotate {
    from { transform: rotate(0deg) translateX(125px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(125px) rotate(-360deg); }
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PRINT / PDF STYLES (single copy) ===== */
@media print {
  @page {
    size: A4;
    margin: 2cm;
  }

  body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 210mm;
    margin: 0 auto;
    padding: 20px;
    background: white;
  }

  .header {
    text-align: center;
    border-bottom: 3px solid #2E8B57;
    padding-bottom: 20px;
    margin-bottom: 30px;
  }

  .company-name {
    font-size: 28px;
    font-weight: bold;
    color: #2E8B57;
    margin-bottom: 10px;
  }

  .slogan {
    font-size: 18px;
    font-style: italic;
    color: #666;
  }

  .contact-info {
    font-size: 12px;
    margin-top: 10px;
  }

  .section {
    margin-bottom: 30px;
    page-break-inside: avoid;
  }

  .section-title {
    background-color: #2E8B57;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    border-radius: 5px;
  }

  .subsection {
    margin-bottom: 20px;
  }

  .subsection-title {
    font-weight: bold;
    color: #2E8B57;
    margin-bottom: 10px;
    font-size: 14px;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 12px;
  }

  th {
    background-color: #2E8B57;
    color: white;
    padding: 8px;
    text-align: left;
  }

  td {
    padding: 8px;
    border: 1px solid #ddd;
  }

  .financial-highlight {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #2E8B57;
    margin: 15px 0;
  }

  .footer {
    text-align: center;
    font-size: 10px;
    color: #666;
    margin-top: 50px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
  }

  .page-break {
    page-break-before: always;
  }

  .confidential {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 10px;
    margin: 10px 0;
    font-size: 11px;
    text-align: center;
  }

  .kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 15px 0;
  }

  .kpi-card {
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
  }

  .kpi-value {
    font-size: 24px;
    font-weight: bold;
    color: #2E8B57;
  }

  .kpi-label {
    font-size: 12px;
    color: #666;
  }
}

/* ===== DASH360GROUP VISION CAROUSEL ===== */
.dash360-vision-section {
  background:
    radial-gradient(circle at 10% 16%, rgba(22, 163, 74, 0.14), transparent 28%),
    linear-gradient(180deg, #f6faf7 0%, #ffffff 100%);
}

.dash360-vision-carousel {
  background: #000000;
  border: 2px solid #16a34a;
  border-radius: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.dash360-vision-slide {
  background: #000000;
}

.vision-image-wrapper {
  background: #000000;
  overflow: hidden;
}

.dash360-vision-img {
  background: #000000;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.vision-caption-card {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(22, 163, 74, 0.18), transparent 34%),
    linear-gradient(135deg, #000000 0%, #07150d 44%, #14532d 100%);
  border-top: 8px solid #16a34a;
  border-bottom: 3px solid #ffffff;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 210px;
  padding: clamp(1.6rem, 4vw, 3rem) clamp(1.2rem, 5vw, 4rem);
  position: relative;
  text-align: center;
}

.vision-caption-card::before {
  background: linear-gradient(90deg, #16a34a, #ffffff, #16a34a);
  border-radius: 0 0 999px 999px;
  content: "";
  height: 10px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: min(18rem, 62vw);
}

.dash360-vision-title {
  color: #ffffff;
  font-size: clamp(2rem, 4.8vw, 4.25rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 0;
  padding: 0.15em 0.25em;
  text-transform: uppercase;
}

.dash360-vision-title-accent {
  color: #16a34a;
}

.dash360-vision-subtitle {
  background: #ffffff;
  border: 2px solid #16a34a;
  border-radius: 999px;
  color: #000000;
  font-size: clamp(0.9rem, 1.6vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 1rem 0 0.9rem;
  padding: 0.5rem 1.1rem;
  text-transform: uppercase;
}

.dash360-vision-description {
  color: #d1d5db;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  margin: 1rem auto 0;
  max-width: 800px;
}

.dash360-vision-carousel .carousel-indicators {
  bottom: auto;
  margin-bottom: 0;
  top: 1rem;
  z-index: 3;
}

.dash360-vision-carousel .carousel-indicators [data-bs-target] {
  background-color: #16a34a;
  border: 0;
  border-radius: 999px;
  height: 0.35rem;
  opacity: 0.72;
  width: 2rem;
}

.dash360-vision-carousel .carousel-indicators .active {
  background-color: #ffffff;
  opacity: 1;
}

.dash360-vision-carousel .carousel-control-prev,
.dash360-vision-carousel .carousel-control-next {
  align-items: flex-start;
  padding-top: 220px;
  z-index: 3;
}

.dash360-vision-carousel .carousel-control-prev-icon,
.dash360-vision-carousel .carousel-control-next-icon {
  background-color: rgba(20, 83, 45, 0.92);
  background-size: 58%;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  height: 3rem;
  width: 3rem;
}

.dash360-vision-carousel .carousel-control-prev:focus-visible,
.dash360-vision-carousel .carousel-control-next:focus-visible,
.dash360-vision-carousel .carousel-indicators button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

@media (max-width: 992px) {
  .dash360-vision-img {
    height: 420px;
  }

  .vision-caption-card {
    min-height: 190px;
  }

  .dash360-vision-carousel .carousel-control-prev,
  .dash360-vision-carousel .carousel-control-next {
    padding-top: 180px;
  }
}

@media (max-width: 576px) {
  .dash360-vision-carousel {
    border-radius: 1rem;
  }

  .dash360-vision-img {
    height: 300px;
  }

  .vision-caption-card {
    min-height: 185px;
    padding: 1.35rem 1rem;
  }

  .dash360-vision-title {
    font-size: clamp(1.45rem, 8vw, 2.2rem);
    letter-spacing: 0.02em;
  }

  .dash360-vision-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.65rem;
  }

  .dash360-vision-description {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-top: 0.75rem;
  }

  .dash360-vision-carousel .carousel-control-prev,
  .dash360-vision-carousel .carousel-control-next {
    padding-top: 128px;
  }

  .dash360-vision-carousel .carousel-control-prev-icon,
  .dash360-vision-carousel .carousel-control-next-icon {
    height: 2.35rem;
    width: 2.35rem;
  }
}

/* ===== EXTRACTED TEMPLATE STYLES ===== */

/* Extracted from projectdash360groupp/dash360mainapp/templates/dash360mainapp/main_home.html style block 1 */
  .main-home-shell {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -3rem;
    background:
      radial-gradient(circle at top left, rgba(46, 139, 87, 0.18), transparent 28%),
      radial-gradient(circle at 85% 15%, rgba(19, 38, 31, 0.22), transparent 26%),
      linear-gradient(180deg, #f3f7f3 0%, #eef2ee 48%, #ffffff 100%);
    color: #0d1712;
    overflow: hidden;
  }

  .main-home-shell section {
    padding: 5.5rem 0;
  }

  .home-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(16, 41, 27, 0.08);
    color: #1b5a39;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero-panel {
    position: relative;
    min-height: 100vh;
    padding: 8rem 0 5rem;
  }

  .hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(7, 15, 11, 0.94) 0%, rgba(11, 34, 23, 0.84) 50%, rgba(46, 139, 87, 0.24) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 45%);
    pointer-events: none;
  }

  .hero-panel .container {
    position: relative;
    z-index: 1;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 3rem;
    align-items: center;
  }

  .hero-copy {
    color: #f7fbf8;
  }

  .hero-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    margin-bottom: 1.35rem;
    overflow: hidden;
  }

  .hero-brand-mark {
    width: 74px;
    height: 74px;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  }

  .hero-brand-name-text .dash-logo-text-main {
    font-size: clamp(1.8rem, 4vw, 2.35rem);
  }

  .hero-brand-name-text .dash-logo-text-sub {
    font-size: 0.8rem;
  }

  .hero-copy h1 {
    margin: 1.2rem 0 1rem;
    font-size: clamp(2.8rem, 5vw, 5.25rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 800;
    max-width: 10ch;
  }

  .hero-copy p {
    max-width: 40rem;
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(247, 251, 248, 0.82);
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
  }

  .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  }

  .hero-btn:hover {
    transform: translateY(-2px);
  }

  .hero-btn-primary {
    background: linear-gradient(135deg, #47b36f 0%, #2e8b57 100%);
    color: #fff;
    box-shadow: 0 18px 36px rgba(46, 139, 87, 0.24);
  }

  .hero-btn-secondary {
    border: 1px solid rgba(247, 251, 248, 0.28);
    color: #f7fbf8;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.2rem;
  }

  .hero-metric {
    padding: 1.1rem 1.15rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(16px);
  }

  .hero-metric strong {
    display: block;
    font-size: 1.55rem;
    color: #dff6e8;
  }

  .hero-metric span {
    display: block;
    margin-top: 0.25rem;
    color: rgba(247, 251, 248, 0.7);
    font-size: 0.92rem;
  }

  .orbit-card {
    position: relative;
    padding: 1.4rem;
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
  }

  .orbit-stage {
    --orbit-size: min(34rem, 80vw);
    --orbit-radius: calc(var(--orbit-size) / 2 - 2.85rem);
    position: relative;
    width: var(--orbit-size);
    height: var(--orbit-size);
    margin: 0 auto;
  }

  .orbit-stage::before,
  .orbit-stage::after {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 1px solid rgba(231, 246, 237, 0.15);
  }

  .orbit-stage::after {
    inset: 23%;
    border-style: dashed;
  }

  .orbit-core {
    position: absolute;
    inset: 50%;
    width: 13rem;
    height: 13rem;
    transform: translate(-50%, -50%);
    border-radius: 2.2rem;
    background:
      radial-gradient(circle at top, rgba(84, 211, 130, 0.52), transparent 42%),
      linear-gradient(180deg, #102218 0%, #0a0f0d 100%);
    color: #f7fbf8;
    border: 1px solid rgba(84, 211, 130, 0.28);
    box-shadow: 0 0 0 18px rgba(12, 24, 18, 0.22), 0 18px 40px rgba(0, 0, 0, 0.35);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.2rem;
    z-index: 2;
  }

  .orbit-core-logo {
    width: 5.3rem;
    height: 5.3rem;
    object-fit: contain;
    margin-bottom: 0.55rem;
  }

  .orbit-core strong {
    display: block;
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: -0.06em;
  }

  .orbit-core span {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.9rem;
    color: rgba(247, 251, 248, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.16em;
  }

  .orbit-pulse {
    position: absolute;
    inset: 50%;
    width: 13rem;
    height: 13rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(84, 211, 130, 0.22);
    animation: orbit-pulse 4.8s ease-in-out infinite;
  }

  .orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 9rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(247, 251, 248, 0.96);
    color: #11311f;
    border: 1px solid rgba(46, 139, 87, 0.18);
    box-shadow: 0 14px 28px rgba(7, 18, 13, 0.18);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transform:
      translate(-50%, -50%)
      rotate(var(--angle))
      translateY(calc(var(--orbit-radius) * -1))
      rotate(calc(var(--angle) * -1));
    animation: orbit-float 6s ease-in-out infinite;
    animation-delay: var(--float-delay);
    z-index: 3;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  }

  .orbit-item:hover {
    background: #2e8b57;
    color: #fff;
    box-shadow: 0 16px 34px rgba(46, 139, 87, 0.28);
    transform:
      translate(-50%, -50%)
      rotate(var(--angle))
      translateY(calc(var(--orbit-radius) * -1))
      rotate(calc(var(--angle) * -1))
      scale(1.06);
  }

  .orbit-caption {
    margin-top: 1.5rem;
    text-align: center;
    color: rgba(247, 251, 248, 0.78);
    font-size: 0.96rem;
  }

  .section-heading {
    max-width: 44rem;
    margin-bottom: 3rem;
  }

  .section-heading h2 {
    margin: 0.9rem 0 0.9rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: #0b1511;
  }

  .section-heading p {
    margin: 0;
    color: #5b6c61;
    font-size: 1.04rem;
    line-height: 1.8;
  }

  .platform-grid,
  .signal-grid,
  .workflow-grid {
    display: grid;
    gap: 1.4rem;
  }

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

  .platform-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: #fff;
    border: 1px solid rgba(16, 41, 27, 0.08);
    box-shadow: 0 18px 38px rgba(11, 21, 17, 0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .platform-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(11, 21, 17, 0.1);
    border-color: rgba(46, 139, 87, 0.24);
  }

  .platform-icon {
    width: 3.3rem;
    height: 3.3rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.14), rgba(46, 139, 87, 0.06));
    color: #1f7146;
    font-size: 1.4rem;
  }

  .platform-card h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0b1511;
  }

  .platform-card p,
  .workflow-step p,
  .signal-card p {
    margin: 0;
    color: #607166;
    line-height: 1.75;
  }

  .platform-meta {
    margin-top: auto;
    color: #1f7146;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .signal-band {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8f5 100%);
  }

  .signal-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .signal-card {
    padding: 1.6rem;
    border-radius: 1.6rem;
    background: #fff;
    border: 1px solid rgba(16, 41, 27, 0.08);
    box-shadow: 0 16px 34px rgba(11, 21, 17, 0.05);
  }

  .signal-card strong {
    display: block;
    font-size: 2.1rem;
    color: #0f3d25;
    letter-spacing: -0.04em;
  }

  .signal-card small {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: #2e8b57;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
  }

  .workflow-band {
    background: linear-gradient(180deg, #0d1712 0%, #12231a 100%);
  }

  .workflow-band .section-heading h2,
  .workflow-band .section-heading p,
  .workflow-band .home-section-label {
    color: #f7fbf8;
  }

  .workflow-band .home-section-label {
    background: rgba(255, 255, 255, 0.08);
  }

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

  .workflow-step {
    padding: 1.7rem;
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f7fbf8;
  }

  .workflow-step span {
    display: inline-flex;
    width: 2.6rem;
    height: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(84, 211, 130, 0.16);
    color: #7be2a4;
    font-weight: 800;
    margin-bottom: 1rem;
  }

  .workflow-step h3 {
    margin-bottom: 0.8rem;
    color: #fff;
    font-size: 1.2rem;
  }

  .workflow-step p {
    color: rgba(247, 251, 248, 0.72);
  }

  .cta-panel {
    position: relative;
    padding: 0 0 6rem;
  }

  .cta-card {
    padding: 2rem;
    border-radius: 2rem;
    background:
      radial-gradient(circle at top right, rgba(84, 211, 130, 0.22), transparent 30%),
      linear-gradient(135deg, #0f1c15 0%, #173222 100%);
    color: #f7fbf8;
    box-shadow: 0 28px 56px rgba(10, 15, 13, 0.18);
  }

  .cta-card h2 {
    margin: 0.8rem 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .cta-card p {
    max-width: 40rem;
    color: rgba(247, 251, 248, 0.76);
    line-height: 1.8;
  }

  .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
  }

  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  @keyframes orbit-float {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -0.35rem; }
  }

  @keyframes orbit-pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.15; transform: translate(-50%, -50%) scale(1.18); }
  }

  @media (max-width: 1199px) {
    .platform-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .signal-grid,
    .workflow-grid,
    .hero-grid {
      grid-template-columns: 1fr;
    }

    .hero-copy h1 {
      max-width: none;
    }
  }

  @media (max-width: 767px) {
    .main-home-shell {
      margin-top: -2rem;
    }

    .hero-panel {
      padding-top: 7rem;
    }

    .hero-brand-lockup {
      align-items: flex-start;
      flex-direction: column;
      gap: 0.75rem;
      width: min(100%, 260px);
    }

    .hero-brand-mark {
      width: 58px;
      height: 58px;
    }

    .hero-brand-name-text .dash-logo-text-main {
      font-size: 1.8rem;
    }

    .hero-metrics,
    .platform-grid {
      grid-template-columns: 1fr;
    }

    .orbit-stage {
      --orbit-size: min(22rem, 92vw);
    }

    .orbit-core {
      width: 9rem;
      height: 9rem;
      border-radius: 1.6rem;
    }

    .orbit-core strong {
      font-size: 1.8rem;
    }

    .orbit-core-logo {
      width: 3.7rem;
      height: 3.7rem;
      margin-bottom: 0.35rem;
    }

    .orbit-item {
      min-width: 6.4rem;
      padding: 0.58rem 0.78rem;
      font-size: 0.72rem;
    }

    .workflow-step,
    .signal-card,
    .platform-card,
    .cta-card {
      padding: 1.35rem;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .orbit-item,
    .orbit-pulse,
    .reveal {
      animation: none;
      transition: none;
    }
  }


/* Extracted from projectdash360groupp/dash360invest/templates/dash360invest/invest_home.html style block 1 */
    :root {
        --invest-emerald: #0f8a4b;
        --invest-emerald-dark: #0a6a39;
        --invest-paper: #f7faf8;
        --invest-line: #d7e7dc;
    }

    .invest-hero {
        background:
            radial-gradient(circle at 15% 25%, rgba(44, 172, 100, 0.25), transparent 38%),
            radial-gradient(circle at 80% 0%, rgba(16, 185, 129, 0.22), transparent 40%),
            linear-gradient(125deg, #0b1220 0%, #12263a 45%, #153224 100%);
    }

    .py-lg-6 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .eyebrow {
        display: inline-block;
        font-size: .78rem;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: #9dd9b6;
        font-weight: 700;
    }

    .invest-hero-brand {
        display: inline-flex;
        align-items: center;
        gap: .9rem;
        max-width: 100%;
        margin-bottom: 1rem;
        overflow: hidden;
    }

    .invest-hero-public .invest-hero-brand {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .invest-hero-public .lead {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .invest-hero-authenticated .lead {
        max-width: 760px;
    }

    .invest-hero-mark {
        width: 66px;
        height: 66px;
        object-fit: contain;
        border-radius: 16px;
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
    }

    .invest-hero-name-text .dash-logo-text-main {
        font-size: clamp(1.7rem, 4vw, 2.2rem);
    }

    .invest-hero-name-text .dash-logo-text-sub {
        font-size: .8rem;
    }

    .hero-metrics {
        border: 1px solid rgba(255, 255, 255, 0.15);
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(3px);
    }

    .metric-item {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: .8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        color: #d6f5e3;
    }

    .metric-item strong {
        color: #ffffff;
    }

    .babylon-showcase,
    .babylon-wisdom {
        background: #f5f7f4;
    }

    .babylon-panel,
    .wisdom-shell {
        background:
            radial-gradient(circle at 15% 15%, rgba(212, 167, 77, 0.18), transparent 34%),
            linear-gradient(135deg, #08111f 0%, #10243b 54%, #24180c 100%);
        border: 1px solid rgba(212, 167, 77, 0.28);
        box-shadow: 0 18px 44px rgba(8, 17, 31, 0.22);
    }

    .babylon-slide {
        min-height: 360px;
        background: linear-gradient(135deg, rgba(7, 16, 29, 0.95), rgba(37, 28, 15, 0.94));
    }

    .babylon-slide-copy {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: clamp(2rem, 5vw, 4.5rem);
    }

    .babylon-kicker {
        color: #d8aa52;
        display: inline-block;
        font-size: .76rem;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .text-gold-soft {
        color: #f0d08a;
    }

    .btn-babylon {
        align-self: flex-start;
        background: #d8aa52;
        border-color: #d8aa52;
        color: #111827;
        font-weight: 800;
        padding: .7rem 1.2rem;
    }

    .btn-babylon:hover {
        background: #f0c86e;
        border-color: #f0c86e;
        color: #111827;
    }

    .babylon-slide-image {
        display: block;
        height: 100%;
        min-height: 360px;
        object-fit: cover;
        width: 100%;
    }

    .babylon-slide-art {
        align-items: center;
        background:
            linear-gradient(rgba(117, 80, 28, .44), rgba(9, 20, 34, .75)),
            repeating-linear-gradient(45deg, rgba(216, 170, 82, .18) 0, rgba(216, 170, 82, .18) 2px, transparent 2px, transparent 18px);
        color: #f6dd9a;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        min-height: 360px;
        padding: 2rem;
        text-align: center;
    }

    .babylon-slide-art i {
        font-size: clamp(3rem, 8vw, 6rem);
    }

    .babylon-slide-art span {
        font-size: 1.25rem;
        font-weight: 800;
    }

    .babylon-panel .carousel-indicators [data-bs-target] {
        background-color: #d8aa52;
    }

    .wisdom-badge {
        background: rgba(216, 170, 82, 0.18);
        border: 1px solid rgba(216, 170, 82, 0.35);
        color: #f0d08a;
    }

    .wisdom-card {
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(216, 170, 82, 0.24);
        border-radius: 1rem;
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
        color: #dfe7ef;
        padding: 1.35rem;
    }

    .wisdom-card h3 {
        color: #ffffff;
    }

    .wisdom-card p {
        color: #c8d2dc;
    }

    .wisdom-icon {
        align-items: center;
        background: rgba(216, 170, 82, 0.15);
        border: 1px solid rgba(216, 170, 82, 0.35);
        border-radius: .85rem;
        color: #f0c86e;
        display: inline-flex;
        font-size: 1.35rem;
        height: 46px;
        justify-content: center;
        margin-bottom: 1rem;
        width: 46px;
    }

    .wisdom-subtitle {
        color: #f0d08a;
        font-weight: 700;
    }

    .babylon-empty {
        background: rgba(255, 255, 255, 0.08);
        border: 1px dashed rgba(216, 170, 82, 0.45);
        color: #f3deb0;
    }

    .feature-card {
        border: 1px solid var(--invest-line);
        background: var(--invest-paper);
        transition: transform .25s ease, box-shadow .25s ease;
    }

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    }

    .agreement-card {
        background: #fff;
        border: 1px solid var(--invest-line);
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    }

    .offer-wrap {
        background: #ffffff;
        border: 1px solid var(--invest-line);
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    }

    .offer-card {
        border: 1px solid #e4efe8;
        background: linear-gradient(165deg, #ffffff 0%, #f5fbf7 100%);
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .offer-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
    }

    .offer-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        background: #e8f6ee;
        color: #167043;
        font-size: 1.2rem;
    }

    .roi-pill {
        border-radius: 999px;
        background: #176f43;
        color: #fff;
        font-size: .75rem;
        padding: .35rem .6rem;
        font-weight: 700;
        letter-spacing: .03em;
    }

    .list-card {
        background: #ffffff;
        border: 1px solid var(--invest-line);
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    }

    .investor-card {
        border-width: 2px;
        border-radius: .9rem;
        background: linear-gradient(160deg, #ffffff 0%, #f8fcf9 100%);
        min-height: 342px;
        transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    .investor-card:hover {
        transform: translateY(-5px);
    }

    .investor-card-active {
        box-shadow: 0 10px 26px rgba(25, 135, 84, 0.13) !important;
    }

    .investor-card-active:hover {
        box-shadow: 0 16px 34px rgba(25, 135, 84, 0.25) !important;
    }

    .investor-card-inactive {
        box-shadow: 0 10px 24px rgba(220, 53, 69, 0.1) !important;
    }

    .investor-card-inactive:hover {
        box-shadow: 0 16px 32px rgba(220, 53, 69, 0.17) !important;
    }

    .investor-avatar {
        width: 96px;
        height: 96px;
        object-fit: cover;
        border: 3px solid #ffffff;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    }

    .investor-placeholder-card {
        overflow: hidden;
    }

    .wisdom-placeholder-card {
        background: linear-gradient(160deg, #ffffff 0%, #edf8f0 100%);
        box-shadow: 0 10px 26px rgba(25, 135, 84, 0.13) !important;
    }

    .money-placeholder-card {
        background: linear-gradient(160deg, #fffdf6 0%, #edf7ef 100%);
        border-color: #b8942f !important;
        box-shadow: 0 10px 26px rgba(184, 148, 47, 0.16) !important;
    }

    .investor-placeholder-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
        color: #176f43;
        font-size: 2.1rem;
    }

    .money-placeholder-card .investor-placeholder-icon {
        color: #8a6a13;
        background: #fff8dc;
    }

    .public-investor-metric {
        display: flex;
        justify-content: space-between;
        gap: .75rem;
        padding: .75rem 0;
        border-top: 1px solid #e7eee9;
        text-align: left;
        font-size: .92rem;
    }

    .public-investor-metric span {
        color: #6b7280;
    }

    .public-investor-metric strong {
        color: #111827;
        white-space: nowrap;
    }

    .placeholder-copy {
        display: block;
    }

    .placeholder-copy span,
    .placeholder-copy strong {
        display: block;
        text-align: left;
        white-space: normal;
    }

    .placeholder-copy span {
        margin-bottom: .35rem;
    }

    .empty-invest {
        border: 1px dashed #cbded2;
        background: #f8fcf9;
        color: #4b5563;
    }

    .monthly-card {
        background: #ffffff;
        border: 1px solid var(--invest-line);
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    }

    .monthly-vision-placeholder {
        min-height: 640px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 2.25rem;
        text-align: center;
        padding: 5rem 1.5rem;
        overflow: hidden;
        background:
            linear-gradient(180deg, rgba(247, 250, 248, 0) 0%, rgba(237, 248, 240, 0.72) 50%, rgba(247, 250, 248, 0) 100%);
    }

    .monthly-vision-message {
        position: relative;
        flex: 1 1 380px;
        max-width: 560px;
        min-width: 0;
        color: var(--invest-emerald-dark);
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: 0;
        padding: 1rem;
        overflow-wrap: anywhere;
    }

    .monthly-vision-message::before,
    .monthly-vision-message::after {
        content: "";
        display: block;
        width: 120px;
        height: 4px;
        margin: 0 auto 2rem;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--invest-emerald), #d7aa35);
    }

    .monthly-vision-message::after {
        margin: 2rem auto 0;
    }

    .monthly-vision-title {
        color: #0b1220;
        font-size: 3.15rem;
        font-weight: 900;
    }

    .monthly-vision-line {
        margin-top: .85rem;
        color: var(--invest-emerald-dark);
        font-size: 2.05rem;
        font-weight: 800;
    }

    .monthly-vision-signature {
        margin-top: 1.15rem;
        color: var(--invest-emerald);
        font-size: 1.35rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .12em;
    }

    .monthly-formula-side {
        flex: 1 1 340px;
        max-width: 420px;
        min-width: 0;
        text-align: center;
        overflow: hidden;
    }

    .compound-infographic-img {
        display: block;
        width: 100%;
        max-width: 420px;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
        margin: 0 auto;
    }

    @media (max-width: 1199.98px) {
        .monthly-vision-placeholder {
            flex-direction: column;
            gap: 2.5rem;
        }

        .monthly-vision-message,
        .monthly-formula-side {
            flex-basis: auto;
            width: 100%;
        }
    }

    @media (max-width: 767.98px) {
        .monthly-vision-placeholder {
            min-height: 520px;
            gap: 2rem;
            padding: 3.5rem 1rem;
        }

        .monthly-vision-title {
            font-size: 2.15rem;
        }

        .monthly-vision-line {
            font-size: 1.45rem;
        }

        .monthly-vision-signature {
            font-size: .88rem;
            letter-spacing: .08em;
        }

        .monthly-formula-side {
            width: 100%;
            max-width: 360px;
            text-align: center;
        }

        .compound-infographic-img {
            max-width: 360px;
        }
    }

    .stat-card {
        background: #f8fcf9;
        border: 1px solid var(--invest-line);
    }

    .section-panel {
        background: #fbfefc;
        border: 1px solid var(--invest-line);
    }

    .monthly-table thead th {
        background: #eef8f1;
        color: #22543d;
        border-bottom: 1px solid var(--invest-line);
        font-weight: 700;
    }

    .monthly-table tbody td {
        border-color: #e8efea;
    }

    .agreement-doc-header {
        text-align: center;
        border-bottom: 3px solid var(--invest-emerald);
        padding-bottom: 1.35rem;
        margin-bottom: 1.5rem;
    }

    .agreement-doc-title {
        font-size: clamp(1.8rem, 3vw, 2.35rem);
        font-weight: 800;
        color: var(--invest-emerald);
        letter-spacing: .02em;
    }

    .agreement-doc-subtitle {
        font-size: 1rem;
        color: #5f6b64;
        margin-top: .35rem;
    }

    .agreement-doc-meta {
        font-size: .82rem;
        color: #6b7280;
        margin-top: .7rem;
        text-transform: uppercase;
        letter-spacing: .08em;
        font-weight: 600;
    }

    .agreement-note {
        background: #fff7db;
        border: 1px solid #f0d98c;
        color: #6f5a1c;
        padding: .8rem 1rem;
        border-radius: .6rem;
        margin-bottom: 1.5rem;
        text-align: center;
        font-size: .92rem;
    }

    .agreement-section {
        margin-bottom: 1.6rem;
        page-break-inside: avoid;
    }

    .agreement-section-title {
        background: var(--invest-emerald);
        color: #fff;
        padding: .8rem 1rem;
        border-radius: .6rem;
        font-size: .98rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .04em;
        margin-bottom: 1rem;
    }

    .subsection-title {
        font-weight: 700;
        color: var(--invest-emerald);
        margin-bottom: .55rem;
        font-size: .92rem;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .agreement-table {
        width: 100%;
        border-collapse: collapse;
        margin: 0;
        font-size: .95rem;
    }

    .agreement-table th {
        background: #eef8f1;
        color: #1c5135;
        padding: .8rem;
        text-align: left;
        font-weight: 700;
        border: 1px solid #d8e7dd;
    }

    .agreement-table td {
        padding: .85rem;
        border: 1px solid #dde7e0;
        vertical-align: top;
    }

    .agreement-table.compact th,
    .agreement-table.compact td {
        padding: .7rem;
    }

    .financial-highlight {
        background-color: #f8fbf9;
        padding: 1rem;
        border-left: 4px solid var(--invest-emerald);
        margin: 1rem 0;
        border-radius: .35rem;
    }

    .formula-box {
        background: #eef8f1;
        border-left: 4px solid var(--invest-emerald);
        padding: .75rem 1rem;
        font-family: "Courier New", monospace;
        border-radius: .35rem;
        font-size: .98rem;
    }

    .invest-hero .btn-success {
        background: var(--invest-emerald);
        border-color: var(--invest-emerald);
    }

    .invest-hero .btn-success:hover {
        background: var(--invest-emerald-dark);
        border-color: var(--invest-emerald-dark);
    }

    @media (max-width: 991.98px) {
        .py-lg-6 {
            padding-top: 4.5rem;
            padding-bottom: 4.5rem;
        }

        .invest-hero-brand {
            align-items: flex-start;
            flex-direction: column;
            gap: .7rem;
            width: min(100%, 250px);
        }

        .invest-hero-mark {
            width: 56px;
            height: 56px;
        }

        .invest-hero-name-text .dash-logo-text-main {
            font-size: 1.7rem;
        }

        .agreement-table {
            font-size: .88rem;
        }
    }


/* Extracted from projectdash360groupp/dash360invest/templates/dash360invest/parent_dashboard.html style block 1 */
    .parent-dashboard {
        --dash-ink: #18211d;
        --dash-muted: #6b746f;
        --dash-line: #dfe7e2;
        --dash-panel: #ffffff;
        --dash-soft: #f7faf8;
        --dash-success: #198754;
        --dash-warning: #b7791f;
        --dash-danger: #b42318;
        color: var(--dash-ink);
    }

    .parent-dashboard .dashboard-header {
        background: linear-gradient(135deg, #0f2d22 0%, #23654a 58%, #e8f4ee 58%, #f7faf8 100%);
        border-radius: 8px;
        padding: 1.5rem;
        box-shadow: 0 12px 28px rgba(24, 33, 29, 0.12);
    }

    .parent-dashboard .dashboard-header h1,
    .parent-dashboard .dashboard-header p {
        color: #ffffff;
    }

    .parent-dashboard .header-action {
        background: #ffffff;
        border-color: #ffffff;
        color: #17543d;
        font-weight: 700;
        min-height: 42px;
    }

    .parent-dashboard .header-action:hover {
        background: #e8f4ee;
        border-color: #e8f4ee;
        color: #0f2d22;
    }

    .parent-dashboard .stat-card,
    .parent-dashboard .dashboard-panel {
        background: var(--dash-panel);
        border: 1px solid var(--dash-line);
        border-radius: 8px;
        box-shadow: 0 8px 22px rgba(24, 33, 29, 0.08);
    }

    .parent-dashboard .stat-card {
        min-height: 118px;
        padding: 1rem;
    }

    .parent-dashboard .stat-icon {
        align-items: center;
        border-radius: 8px;
        display: inline-flex;
        height: 38px;
        justify-content: center;
        width: 38px;
    }

    .parent-dashboard .stat-icon.success {
        background: #e8f4ee;
        color: var(--dash-success);
    }

    .parent-dashboard .stat-icon.warning {
        background: #fff4de;
        color: var(--dash-warning);
    }

    .parent-dashboard .stat-icon.danger {
        background: #fee4e2;
        color: var(--dash-danger);
    }

    .parent-dashboard .stat-icon.neutral {
        background: #eef2f0;
        color: #47534e;
    }

    .parent-dashboard .stat-label,
    .parent-dashboard .table-note,
    .parent-dashboard .queue-meta {
        color: var(--dash-muted);
        font-size: 0.82rem;
    }

    .parent-dashboard .stat-value {
        font-size: 1.45rem;
        font-weight: 800;
        line-height: 1.15;
        margin-top: 0.65rem;
    }

    .parent-dashboard .dashboard-panel-header {
        align-items: center;
        border-bottom: 1px solid var(--dash-line);
        display: flex;
        gap: 1rem;
        justify-content: space-between;
        padding: 1rem 1.1rem;
    }

    .parent-dashboard .dashboard-table {
        margin-bottom: 0;
    }

    .parent-dashboard .dashboard-table thead th {
        background: var(--dash-soft);
        border-bottom: 1px solid var(--dash-line);
        color: #52605a;
        font-size: 0.74rem;
        letter-spacing: 0;
        padding-bottom: 0.8rem;
        padding-top: 0.8rem;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .parent-dashboard .dashboard-table tbody td {
        border-color: #edf2ef;
        padding-bottom: 0.95rem;
        padding-top: 0.95rem;
        vertical-align: middle;
    }

    .parent-dashboard .kid-avatar {
        align-items: center;
        background: #e8f4ee;
        border-radius: 8px;
        color: #17543d;
        display: inline-flex;
        flex: 0 0 auto;
        font-weight: 800;
        height: 38px;
        justify-content: center;
        width: 38px;
    }

    .parent-dashboard .status-pill {
        border-radius: 999px;
        display: inline-flex;
        font-size: 0.78rem;
        font-weight: 700;
        line-height: 1;
        padding: 0.42rem 0.65rem;
        white-space: nowrap;
    }

    .parent-dashboard .status-pill.success {
        background: #e8f4ee;
        color: #146c43;
    }

    .parent-dashboard .status-pill.warning {
        background: #fff4de;
        color: #8a5a10;
    }

    .parent-dashboard .status-pill.muted {
        background: #eef2f0;
        color: #52605a;
    }

    .parent-dashboard .money-due {
        color: var(--dash-danger);
        font-weight: 800;
    }

    .parent-dashboard .money-paid {
        color: var(--dash-success);
        font-weight: 800;
    }

    .parent-dashboard .queue-item {
        align-items: flex-start;
        border-bottom: 1px solid #edf2ef;
        display: flex;
        gap: 0.85rem;
        justify-content: space-between;
        padding: 1rem 1.1rem;
    }

    .parent-dashboard .queue-item:last-child {
        border-bottom: 0;
    }

    .parent-dashboard .queue-marker {
        border-radius: 999px;
        flex: 0 0 auto;
        height: 10px;
        margin-top: 0.42rem;
        width: 10px;
    }

    .parent-dashboard .queue-marker.pending {
        background: var(--dash-warning);
    }

    .parent-dashboard .queue-marker.confirmed {
        background: var(--dash-success);
    }

    .parent-dashboard .queue-marker.rejected {
        background: var(--dash-danger);
    }

    .parent-dashboard .empty-state {
        color: var(--dash-muted);
        padding: 1.5rem;
        text-align: center;
    }

    @media (max-width: 991.98px) {
        .parent-dashboard .dashboard-header {
            background: #0f2d22;
        }
    }

    @media (max-width: 575.98px) {
        .parent-dashboard .dashboard-header,
        .parent-dashboard .stat-card,
        .parent-dashboard .dashboard-panel-header,
        .parent-dashboard .queue-item {
            padding: 1rem;
        }

        .parent-dashboard .stat-value {
            font-size: 1.25rem;
        }
    }


/* Extracted from projectdash360groupp/dash360invest/templates/dash360invest/parent_kid_profile.html style block 1 */
    .parent-kid-page {
        --kid-ink: #18211d;
        --kid-muted: #6b746f;
        --kid-line: #dfe7e2;
        --kid-soft: #f7faf8;
        --kid-success: #198754;
        --kid-warning: #b7791f;
        --kid-danger: #b42318;
        color: var(--kid-ink);
    }

    .parent-kid-page .kid-hero {
        background: linear-gradient(135deg, #102d22 0%, #23654a 62%, #eef7f2 62%, #f8fbf9 100%);
        border-radius: 8px;
        box-shadow: 0 12px 28px rgba(24, 33, 29, 0.12);
        padding: 1.4rem;
    }

    .parent-kid-page .kid-hero h1,
    .parent-kid-page .kid-hero p,
    .parent-kid-page .kid-hero .kid-code {
        color: #ffffff;
    }

    .parent-kid-page .hero-avatar {
        align-items: center;
        background: #ffffff;
        border-radius: 8px;
        color: #17543d;
        display: inline-flex;
        flex: 0 0 auto;
        font-size: 1.25rem;
        font-weight: 800;
        height: 54px;
        justify-content: center;
        width: 54px;
    }

    .parent-kid-page .hero-action {
        background: #ffffff;
        border-color: #ffffff;
        color: #17543d;
        font-weight: 800;
        min-height: 42px;
    }

    .parent-kid-page .hero-action:hover {
        background: #e8f4ee;
        border-color: #e8f4ee;
        color: #0f2d22;
    }

    .parent-kid-page .back-link {
        color: #dfeee7;
        font-weight: 700;
        text-decoration: none;
    }

    .parent-kid-page .back-link:hover {
        color: #ffffff;
    }

    .parent-kid-page .stat-card,
    .parent-kid-page .kid-panel {
        background: #ffffff;
        border: 1px solid var(--kid-line);
        border-radius: 8px;
        box-shadow: 0 8px 22px rgba(24, 33, 29, 0.08);
    }

    .parent-kid-page .stat-card {
        min-height: 118px;
        padding: 1rem;
    }

    .parent-kid-page .stat-label,
    .parent-kid-page .table-note,
    .parent-kid-page .item-meta {
        color: var(--kid-muted);
        font-size: 0.82rem;
    }

    .parent-kid-page .stat-value {
        font-size: 1.45rem;
        font-weight: 800;
        line-height: 1.15;
        margin-top: 0.65rem;
    }

    .parent-kid-page .stat-icon {
        align-items: center;
        border-radius: 8px;
        display: inline-flex;
        height: 38px;
        justify-content: center;
        width: 38px;
    }

    .parent-kid-page .stat-icon.success {
        background: #e8f4ee;
        color: var(--kid-success);
    }

    .parent-kid-page .stat-icon.warning {
        background: #fff4de;
        color: var(--kid-warning);
    }

    .parent-kid-page .stat-icon.danger {
        background: #fee4e2;
        color: var(--kid-danger);
    }

    .parent-kid-page .kid-panel-header {
        align-items: center;
        border-bottom: 1px solid var(--kid-line);
        display: flex;
        gap: 1rem;
        justify-content: space-between;
        padding: 1rem 1.1rem;
    }

    .parent-kid-page .balance-grid {
        display: grid;
        gap: 1rem;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 1.1rem;
    }

    .parent-kid-page .balance-cell {
        background: var(--kid-soft);
        border: 1px solid #edf2ef;
        border-radius: 8px;
        padding: 1rem;
    }

    .parent-kid-page .kid-table {
        margin-bottom: 0;
    }

    .parent-kid-page .kid-table thead th {
        background: var(--kid-soft);
        border-bottom: 1px solid var(--kid-line);
        color: #52605a;
        font-size: 0.74rem;
        letter-spacing: 0;
        padding-bottom: 0.8rem;
        padding-top: 0.8rem;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .parent-kid-page .kid-table tbody td {
        border-color: #edf2ef;
        padding-bottom: 0.95rem;
        padding-top: 0.95rem;
        vertical-align: middle;
    }

    .parent-kid-page .status-pill {
        border-radius: 999px;
        display: inline-flex;
        font-size: 0.78rem;
        font-weight: 800;
        line-height: 1;
        padding: 0.42rem 0.65rem;
        white-space: nowrap;
    }

    .parent-kid-page .status-pill.success {
        background: #e8f4ee;
        color: #146c43;
    }

    .parent-kid-page .status-pill.warning {
        background: #fff4de;
        color: #8a5a10;
    }

    .parent-kid-page .status-pill.muted {
        background: #eef2f0;
        color: #52605a;
    }

    .parent-kid-page .money-due {
        color: var(--kid-danger);
        font-weight: 800;
    }

    .parent-kid-page .money-paid {
        color: var(--kid-success);
        font-weight: 800;
    }

    .parent-kid-page .empty-state {
        color: var(--kid-muted);
        padding: 1.5rem;
        text-align: center;
    }

    @media (max-width: 991.98px) {
        .parent-kid-page .kid-hero {
            background: #102d22;
        }

        .parent-kid-page .balance-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 575.98px) {
        .parent-kid-page .kid-hero,
        .parent-kid-page .stat-card,
        .parent-kid-page .kid-panel-header,
        .parent-kid-page .balance-grid {
            padding: 1rem;
        }

        .parent-kid-page .balance-grid {
            grid-template-columns: 1fr;
        }

        .parent-kid-page .stat-value {
            font-size: 1.25rem;
        }
    }


/* Extracted from projectdash360groupp/users/templates/users/profile.html style block 1 */
    :root {
        --dash-primary: #0a0a0a;
        --dash-secondary: #2E8B57;
        --dash-accent: #e8f5e8;
        --dash-light: #f8f9fa;
    }

    .profile-page .profile-image-wrapper {
        position: relative;
        display: inline-block;
    }

    .profile-page .profile-image-wrapper img {
        transition: transform 0.3s ease;
    }

    .profile-page .profile-image-wrapper:hover img {
        transform: scale(1.05);
    }

    .profile-page .bg-gradient-light-success {
        background: linear-gradient(135deg, rgba(46, 139, 87, 0.1) 0%, rgba(46, 139, 87, 0.05) 100%);
        border: 1px solid rgba(46, 139, 87, 0.2);
    }

    .profile-page .card-header {
        background: linear-gradient(135deg, var(--dash-primary) 0%, rgba(46, 139, 87, 0.8) 100%);
    }

    .profile-page .btn-success {
        background: var(--dash-secondary);
        border-color: var(--dash-secondary);
    }

    .profile-page .btn-success:hover {
        background: #1d6b3d;
        border-color: #1d6b3d;
    }

    .profile-page .btn-outline-success {
        color: var(--dash-secondary);
        border-color: var(--dash-secondary);
    }

    .profile-page .btn-outline-success:hover {
        background: var(--dash-secondary);
        border-color: var(--dash-secondary);
    }

    .profile-page .border-success {
        border-color: var(--dash-secondary) !important;
    }

    .profile-page .text-success {
        color: var(--dash-secondary) !important;
    }

    .profile-page .list-group-item-action:hover {
        background: var(--dash-accent);
        color: var(--dash-secondary);
        padding-left: 1.5rem;
        transition: all 0.3s ease;
    }

    /* Custom shadow for cards */
    .profile-page .shadow-lg {
        box-shadow: 0 0.5rem 1.5rem rgba(10, 10, 10, 0.1) !important;
    }


/* Extracted from projectdash360groupp/woodWorkingShop/templates/woodWorkingShop/compare_products.html style block 1 */
@media print {
    .no-print {
        display: none !important;
    }

    #comparisonTable {
        font-size: 12px;
    }

    .btn, .badge {
        border: 1px solid #000 !important;
        color: #000 !important;
        background: none !important;
    }
}

#comparisonTable th {
    vertical-align: top;
}

#comparisonTable td {
    vertical-align: middle;
}
