@font-face {
  font-family: 'Satoshi';
  src: url("../../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Variable.70880e42f07b.woff2") format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url("../../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-VariableItalic.ed39abb752ab.woff2") format('woff2');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
body { font-family: 'Satoshi', sans-serif; font-weight: 400; }

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: silver;
  border-radius: 10px;
}

:root {
  --max-width: 1200px;
  --navy: #042b56;
  --navy-hover: #07233d;
  --top-grad-left: #1f5e9d;
  --top-grad-right: #0B335A;
  --top-text: rgba(255, 255, 255, 0.95);
  --cta-left: #0dc3f5;
  --cta-right: #0396FF;
  --top-h: 56px;
  --nav-h: 72px;
  --x-pad: 20px;
  --nav-gap: 24px;
  --dark-blue1: #0B335A;
  --dark-blue2: #1f5e9d;
  --hover-blue1: #1761a0;
  --hover-blue2: #0b4a83;
  --cta: #0396ff;
  --soft: #f2f6fb;
  --soft2: #edf3f9;
  --border: #dbe6f2;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

.ub-top {
  height: var(--top-h);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ub-top .container-top {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  gap: 20px;
}

.guest-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.ub-top a {
  color: #042b56;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.ub-logo img {
  transition: transform .25s ease;
}

.ub-logo img:hover {
  transform: scale(1.03);
}

.vendor-dropdown .dropdown-item,
.vendor-dropdown .dropdown-item:hover,
.vendor-dropdown .dropdown-item:focus,
.vendor-dropdown .dropdown-item:active {
  color: #042b56 !important;
  box-shadow: none !important;
  outline: none !important;
}

.vendor-dropdown .dropdown-item:hover,
.vendor-dropdown .dropdown-item:focus,
.vendor-dropdown .dropdown-item:active {
  background: #dff0ff !important;
  border-left: 3px solid #0dc3f5 !important;
}

.vendor-dropdown .dropdown-item.text-danger,
.vendor-dropdown .dropdown-item.text-danger:hover,
.vendor-dropdown .dropdown-item.text-danger:focus,
.vendor-dropdown .dropdown-item.text-danger:active {
  color: #dc3545 !important;
}

.dropdown-item:focus,
.dropdown-item:active,
.dropdown-item.active,
.nav-link:focus,
.nav-link:active {
  background-color: transparent !important;
  color: #042b56 !important;
  box-shadow: none !important;
  outline: none !important;
}

.ub-hamburger {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  transition: transform 0.25s ease;
  color: #042b56;
}

.ub-hamburger:hover {
  transform: scale(1.1);
}

.mobile-menu-backdrop {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1200;
  align-items: flex-start;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-panel {
  position: fixed;
  top: var(--nav-h, 72px);
  left: 0;
  width: 80%;
  max-width: 340px;
  height: calc(100vh - var(--nav-h, 72px));
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid rgba(155, 184, 214, 0.35);
  box-shadow:
    12px 0 30px rgba(15, 90, 200, 0.10),
    2px 0 6px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.65);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  z-index: 1201;
}

.mobile-menu-panel.open {
  transform: translateX(0);
}

.mobile-menu-panel a {
  display: block;
  padding: 12px 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-menu-panel a:hover {
  color: var(--cta-right);
}

.ub-logo img,
.mobile-menu-panel img {
  height: 30px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.ub-mainnav {
  transition: transform 0.35s ease;
  height: var(--nav-h);
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  background: white;
  border-bottom: 1px solid rgba(11, 51, 90, 0.08);
}

.hide-nav {
  transform: translateY(-100%);
}

.ub-nav-wrapper {
  top: 0;
  z-index: 10001;
  background: #fff;
}

.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}

.ub-center {
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
  flex-wrap: nowrap;
  position: absolute;
  top: 0;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.ub-center .nav-item.dropdown {
  height: var(--nav-h, 72px);
  display: flex;
  align-items: center;
}

.ub-center > a,
.ub-center > .nav-item > .nav-link,
.ub-center .nav-link,
.ub-center .dropdown-toggle {
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 6px 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ub-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 12px;
  position: relative;
  z-index: 1;
}


.signin-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.signin-link:hover {
  transform: translateY(-2px);
}

.signup-btn {
  background: linear-gradient(90deg, #0B335A, #1f5e9d);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.signup-btn:hover {
  transform: translateY(-2px);
  color: white;
}

.ub-search-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #042b56;
  position: relative;
  z-index: 2;
}

.ub-search-bar {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: 60px;
  background: white;
  display: flex;
  align-items: center;
  padding: 0 10px;
  z-index: 9999;
  transform: translateY(-120%);
  transition: transform 0.35s ease;
}

.ub-search-bar.active {
  transform: translateY(0);
}

.back-btn {
  background: none;
  border: none;
  font-size: 18px;
  margin-right: 10px;
}

.ub-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #042b56;
}

.ub-search-bar input::placeholder {
  color: #7a8ca5;
}

.go-btn {
  background: #042b56;
  color: white;
  border: none;
  padding: 12px 16px;
  font-weight: 600;
}

.autosuggest-box {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #e5eaf0;
  max-height: 250px;
  overflow-y: auto;
  display: none;
  z-index: 9999;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(4, 43, 86, 0.08);
}

.suggestion-item {
  padding: 10px 14px;
  cursor: pointer;
  color: #042b56;
  font-weight: 500;
  transition: all 0.2s ease;
}

.suggestion-item:hover {
  background: rgba(4, 43, 86, 0.06);
  color: #042b56;
  padding-left: 18px;
}

.ub-center .dropdown-menu .dropdown-item {
  font-size: 15px;
}

.ub-center .dropdown-menu h6 {
  font-size: 13px;
}

main {
  padding-top: 72px;
  overflow: visible;
}

.services-flex,
.industry-flex,
.client-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-left: 0;
  margin-bottom: 40px;
  width: 100%;
}

.services-chart-wrap,
.industry-chart-wrap,
.client-chart-wrap {
  width: 280px;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.services-chart-inner,
.industry-chart-inner,
.client-chart-inner {
  width: 100%;
  height: 100%;
}

#industryPieChart,
#servicesPieChart,
#clientSizeChart {
  width: 280px !important;
  height: 280px !important;
  max-width: 280px !important;
  max-height: 280px !important;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.25));
}

#industryLegend,
#servicesLegend,
#clientSizeLegend {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 0;
  padding-left: 0;
}

.legend-with-total {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.alloc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
}

.alloc-total-label {
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.alloc-total-pct {
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
  white-space: nowrap;
}

.legend-item,
.industry-legend-item,
.client-legend-item {
  display: grid;
  grid-template-columns: 18px 1fr 44px;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  font-size: 14px;
  color: var(--navy);
}

.legend-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
  margin-top: 2px;
}

.legend-percent {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
  white-space: nowrap;
  font-family: 'Satoshi', sans-serif;
  font-feature-settings: "tnum";
}


.client-slider-wrap {
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.client-percent {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
  white-space: nowrap;
  font-family: 'Satoshi', sans-serif;
  font-feature-settings: "tnum";
}

.client-range {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100%;
  height: 8px;
  background: #E5E7EB;
  border-radius: 6px;
  border: none !important;
  outline: none;
}

#clientSizeLegend .legend-item,
#clientSizeLegend .client-legend-item {
  display: grid !important;
  grid-template-columns: 18px 1fr 44px !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  font-size: 15px !important;
  color: var(--navy) !important;
}

#clientSizeLegend .legend-label {
  display: block !important;
  font-family: 'Satoshi', sans-serif !important;
  font-size: 15px !important;
  font-weight: normal !important;
  color: var(--navy) !important;
  line-height: 1.35 !important;
  min-width: 0 !important;
}

#clientSizeLegend .legend-percent {
  font-family: 'Satoshi', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  text-align: right !important;
  font-feature-settings: "tnum" !important;
}

.logo-preview-wrap {
  position: relative !important;
}

#remove-logo-btn {
  padding: 3px 8px !important;
  font-size: 12px !important;
  border-radius: 4px !important;
  top: 6px !important;
  right: 6px !important;
  z-index: 5;
}

.vendor-dashboard,
.vendor-dashboard .dashboard-container {
  background: transparent !important;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.vendor-dashboard .row.g-0 {
  --vd-gutter: 1.5rem;
}

.main-section-wrapper .section {
  margin-bottom: 24px;
}

.sidebar-sections {
  background: #fff;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--dark-blue1), var(--dark-blue2)) border-box;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 36px 20px;
  width: 290px;
  min-width: 290px;
  max-width: 290px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-left: -2%;
  box-sizing: border-box;
  transition: all .25s ease;
}

.sidebar-sections::-webkit-scrollbar {
  display: none;
}

.sidebar-sections h3 {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  line-height: 1.3;
  color: #042B56;
  letter-spacing: .4px;
  margin-bottom: 10px;
}

.sidebar-sections p {
  color: #042b56;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.section-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #042b56;
  font-size: 15.5px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 8px;
  transition: all .25s ease;
}

.section-list a:hover {
  background: #f1f5f9;
  color: #0B335A;
}

.section-list a.active {
  background: #e0f2fe;
  border-left: 3px solid #0396FF;
  color: #0B335A;
  font-weight: 600;
}

.section-list i {
  font-size: 17px;
  color: #0396FF;
  width: 22px;
  text-align: center;
}

.vendor-dashboard .main-content {
  background: #f7f5f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  padding: 2.5rem;
  width: 100%;
  border-radius: .75rem;
  border: 1.5px solid #e5e7eb;
  overflow: hidden;
}

.logo-upload-box {
  border: 2px dashed #a9bcd0;
  border-radius: 10px;
  background: #fff;
  width: min(80%, 22rem);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .25s ease;
  overflow: hidden;
}

.logo-upload-box:hover {
  border-color: #095EBC;
  background: #f1f5ff;
}

.logo-preview-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
}

input[type="file"]#id_company_logo {
  display: none !important;
}

.main-section-wrapper {
  position: relative;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(90deg, var(--dark-blue1), var(--dark-blue2)) border-box;
  border: 1.5px solid transparent;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(11, 51, 90, 0.12);
  padding: 2.5rem 2rem;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.main-section-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(11, 51, 90, 0.18);
  background: linear-gradient(white, white) padding-box,
    linear-gradient(90deg, var(--hover-blue1), var(--hover-blue2)) border-box;
}

.main-section-wrapper .section-title,
.main-section-wrapper h2,
.main-section-wrapper h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #042b56;
  text-align: left;
  margin-bottom: 1.5rem;
  letter-spacing: 0.3px;
}

.main-section-wrapper label {
  color: var(--dark-blue1);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  display: inline-block;
}

.main-section-wrapper input[type="text"],
.main-section-wrapper input[type="email"],
.main-section-wrapper input[type="number"],
.main-section-wrapper input[type="url"],
.main-section-wrapper input[type="file"],
.main-section-wrapper select,
.main-section-wrapper textarea {
  border: 1.6px solid #aabcd4;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 15px;
  width: 100%;
  background-color: #fff;
  transition: all 0.3s ease;
}

.main-section-wrapper input:focus,
.main-section-wrapper textarea:focus,
.main-section-wrapper select:focus {
  border-color: var(--dark-blue2);
  box-shadow: 0 0 6px rgba(11, 51, 90, 0.15);
  outline: none;
}

.main-section-wrapper .btn-success {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(90deg, var(--dark-blue1), var(--dark-blue2));
  cursor: pointer;
  transition: all 0.3s ease;
}

.main-section-wrapper .btn-success:hover {
  box-shadow: 0 5px 10px rgba(11, 51, 90, 0.25);
  transform: translateY(-2px);
}

.main-section-wrapper .section {
  margin-bottom: 2.5rem;
}

.phone-wrapper {
  width: 100%;
}

#admin_phone_country_code {
  width: 100% !important;
  min-width: 80px !important;
  max-width: 90px !important;
  text-align: center;
  border-radius: 8px 0 0 8px !important;
}

#admin_phone_input {
  width: 100%;
  border-radius: 0 8px 8px 0 !important;
}

.intl-tel-input {
  width: 100% !important;
}

#servicesLegend .legend-item {
  display: grid;
  grid-template-columns: 18px 1fr 44px;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}


#servicesLegend .legend-label {
  display: block;
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  font-weight: normal;
  color: var(--navy);
  line-height: 1.35;
  min-width: 0;
  word-break: break-word;
}

.industry-flex {
  padding-left: 20px;
}

#industryLegend .legend-label {
  display: block;
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  font-weight: normal;
  color: var(--navy);
  line-height: 1.35;
  min-width: 0;
  word-break: break-word;
}

.form-range.client-range:focus::-webkit-slider-thumb,
.form-range.client-range:active::-webkit-slider-thumb {
  box-shadow: none !important;
  outline: none !important;
}

.form-range.client-range:focus,
.form-range.client-range:active {
  outline: none !important;
  box-shadow: none !important;
}

#preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #042B56, #095EBC);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  will-change: opacity, transform;
  animation: bgShift 6s ease-in-out infinite alternate;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
}

.preloader-content {
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

.preloader-logo {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  opacity: 0;
  transform: scale(0.9);
  animation: logoReveal 1s ease forwards, pulse 2s infinite 1.2s;
}

.preloader-spinner {
  width: 55px;
  height: 55px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #0DC3F5;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 12px rgba(13, 195, 245, 0.5);
}

.mobile-dropdown-toggle:focus,
.sub-dropdown-toggle:focus {
  outline: none;
  box-shadow: none;
}

.mobile-dropdown-toggle:focus-visible,
.sub-dropdown-toggle:focus-visible {
  box-shadow: 0 0 0 2px rgba(3, 150, 255, .25);
  border-radius: 6px;
}

.menu-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.menu-left span {
  white-space: normal;
  word-break: break-word;
  text-align: left;
}

.menu-left .fas {
  width: 18px;
  font-size: 14px;
  color: var(--navy);
  opacity: .85;
}

.mobile-dropdown {
  margin-bottom: 6px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--border);
  overflow: hidden;
}

.mobile-dropdown-inner a {
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
}

.mobile-dropdown-inner > a {
  display: block;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 6px 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.mobile-dropdown-inner > a:hover {
  background: var(--soft);
  color: var(--cta);
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 13px 14px;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--navy);
  transition: background .2s ease, color .2s ease;
}

.mobile-dropdown-toggle:hover {
  background: #f4f8ff;
  color: #042b56;
}

.sub-dropdown {
  margin: 6px 10px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
  overflow: hidden;
}

.sub-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--navy);
  transition: background .2s ease, color .2s ease;
}

.sub-dropdown-toggle:hover {
  background: var(--soft);
  color: var(--cta);
}

.sub-dropdown-content {
  padding: 0;
}

.sub-dropdown-content a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  border-left: 3px solid transparent;
  transition: all .18s ease;
}

.sub-dropdown-content a:hover {
  background: var(--soft);
  border-left: 3px solid var(--cta);
  color: var(--cta);
}

.mobile-triangle {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform .25s ease;
}

.mobile-dropdown.open > .mobile-dropdown-toggle .mobile-triangle,
.sub-dropdown.open > .sub-dropdown-toggle .mobile-triangle {
  transform: rotate(180deg);
}

.mobile-dropdown-content,
.sub-dropdown-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .25s ease;
}

.mobile-dropdown.open .mobile-dropdown-content {
  max-height: none;
  opacity: 1;
  overflow-y: hidden;
}

.sub-dropdown.open .sub-dropdown-content {
  max-height: 600px;
  opacity: 1;
  overflow: visible;
}

.mobile-menu-panel a i {
  color: var(--navy);
  transition: .25s;
}

.mobile-menu-panel a:hover i {
  color: var(--cta);
}

.custom-footer {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e0e0e0;
  animation: footerFadeIn 0.8s ease-in-out;
  overflow: hidden;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  padding: 60px 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s forwards;
  min-width: 0;
}

.footer-col > * {
  width: 100%;
}

.footer-col:nth-child(1) { animation-delay: 0.2s; }
.footer-col:nth-child(2) { animation-delay: 0.4s; }
.footer-col:nth-child(3) { animation-delay: 0.6s; }
.footer-col:nth-child(4) { animation-delay: 0.8s; }

.footer-logo-img {
  max-width: 160px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05);
}

.footer-col h4 {
  font-weight: 700;
  font-size: 18px;
  color: #042B56;
  margin: 0;
  position: relative;
  padding-bottom: 6px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #085FC1, #0B335A);
  border-radius: 4px;
}

.footer-col p {
  font-size: 16px;
  line-height: 22px;
  color: #042b56;
  margin: 0;
}

.footer-col a {
  font-size: 16px;
  line-height: 22px;
  color: #042B56;
  text-decoration: none;
  position: relative;
  display: inline-block;
  width: fit-content !important;
  transition: color 0.3s ease;
  word-break: keep-all;
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: #085FC1;
  transition: width 0.3s ease;
}

.footer-col a:hover {
  color: #085FC1;
}

.footer-col a:hover::after {
  width: 100%;
}

.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.social-icons i {
  font-size: 18px;
  color: #042B56;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(4, 43, 86, 0.05);
  box-shadow: 0 2px 8px rgba(8, 95, 193, 0.18);
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.social-icons i:hover {
  color: #fff;
  background: linear-gradient(135deg, #085FC1, #0B335A);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(8, 95, 193, 0.3);
}

.footer-bottom {
  position: relative;
  background: linear-gradient(90deg, #0B335A, #1f5e9d);
  padding: 18px 20px;
  min-height: 60px;
  text-align: center;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .3px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 14px;
  border-radius: 20px;
  transition: all 0.25s ease;
}

.footer-bottom-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.8);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.scroll-top-btn {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(90deg, #0B4A83, #0A63B0);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.9);
  transition: .35s ease;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  outline: none;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(3, 150, 255, .45);
}

.stt-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.stt-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, .25);
  stroke-width: 3;
}

.stt-ring-fill {
  fill: none;
  stroke: #ffffff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 150.8;
  stroke-dashoffset: 150.8;
  transition: .15s linear;
}

.stt-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
}

.stt-arrow {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
  stroke-width: 2.5;
  fill: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logoReveal {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes bgShift {
  from { background: linear-gradient(135deg, #042B56, #095EBC); }
  to { background: linear-gradient(135deg, #095EBC, #0DC3F5); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInBottom {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 992px) {
  .vendor-dropdown {
    position: relative;
    height: var(--nav-h, 72px);
    display: flex;
    align-items: center;
  }

  .vendor-dropdown .dropdown-menu {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0;
    right: auto;
    width: 210px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border: 1px solid rgba(155, 184, 214, 0.35) !important;
    border-top: none !important;
    border-radius: 0 0 12px 12px !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    box-shadow: 0 12px 30px rgba(15, 90, 200, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease, left 0.2s ease;
    z-index: 9999;
    overflow: hidden;
  }

  .vendor-dropdown:hover .dropdown-menu,
  .vendor-dropdown.show .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .vendor-dropdown > a.nav-link {
    color: var(--navy);
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
  }

  .vendor-dropdown > a.nav-link .fa-circle-user {
    font-size: 1em;
  }

  .vendor-dropdown > a.nav-link .fa-angle-down {
    font-size: 16px;
  }

  .vendor-dropdown .dropdown-item {
    color: #042b56;
    font-weight: 500;
    font-size: clamp(13px, 1.05vw, 15px);
    padding: 10px 16px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    display: block;
    width: 100%;
  }

  .vendor-dropdown .dropdown-item:hover,
  .vendor-dropdown .dropdown-item:focus,
  .vendor-dropdown .dropdown-item:active {
    background: #dff0ff !important;
    color: #042b56 !important;
    border-left: 3px solid #0dc3f5 !important;
  }

  .vendor-dropdown .dropdown-divider {
    border-color: rgba(4, 43, 86, 0.08);
    margin: 4px 0;
  }

  .vendor-dropdown .dropdown-item.text-danger {
    color: #dc3545 !important;
  }

  .vendor-dropdown .dropdown-item.text-danger:hover {
    background: #fff5f5 !important;
    color: #dc3545 !important;
    border-left: 3px solid #dc3545 !important;
  }

  .vendor-dropdown:hover .fa-caret-down,
  .vendor-dropdown.show .fa-caret-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .vendor-dashboard .col-md-3 {
    padding-right: calc(var(--vd-gutter) / 2);
  }

  .vendor-dashboard .col-md-9 {
    padding-left: calc(var(--vd-gutter) / 2);
  }
}

@media (min-width: 1401px) {
  .ub-center > a,
  .ub-center > .nav-item > .nav-link,
  .ub-center .nav-link,
  .ub-center .dropdown-toggle,
  .signin-link,
  .signup-btn,
  .vendor-dropdown > a.nav-link {
    font-size: 16px !important;
  }

}

@media (max-width: 1400px) and (min-width: 1200px) {
  .ub-mainnav .nav-inner {
    padding: 0 30px !important;
  }

  .ub-logo img {
    height: 25px;
  }
}

@media (max-width: 1400px) {
  .ub-center {
    gap: 18px;
  }

  .ub-center > a,
  .ub-center > .nav-item > .nav-link {
    font-size: 14px;
  }

  .signin-link,
  .signup-btn,
  .vendor-dropdown > a.nav-link {
    font-size: 14px;
  }

  .signup-btn {
    padding: 6px 11px;
  }

  .ub-center .dropdown-menu .dropdown-item {
    font-size: 12px;
  }

  .ub-center .dropdown-menu h6 {
    font-size: 10px;
  }

  .mega-category {
    font-size: 14px;
  }

  .service-card {
    font-size: 12px;
    padding: 12px 16px;
  }

  .service-card i {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .section-list a { font-size: 15px; padding: 11px 13px; }
  .sidebar-sections h3 { font-size: 1.6rem; }
}

@media (max-width: 1200px) {
  /* ub-center stays VISIBLE until 992px — only adjust spacing here */
  .ub-center {
    gap: 12px;
  }

  .ub-center > a,
  .ub-center > .nav-item > .nav-link {
    font-size: 13px;
  }

  .signin-link,
  .signup-btn,
  .vendor-dropdown > a.nav-link {
    font-size: 13px;
  }

  .signup-btn {
    padding: 5px 10px;
  }

  .ub-center .dropdown-menu .dropdown-item {
    font-size: 11px;
  }

  .ub-center .dropdown-menu h6 {
    font-size: 9px;
  }

  .mega-category {
    font-size: 13px;
  }

  .service-card {
    font-size: 11px;
    padding: 11px 14px;
  }

  .service-card i {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .vendor-dashboard .col-md-3,
  .vendor-dashboard .col-md-9 {
    padding-left: 12px;
    padding-right: 12px;
  }

  .section-list a { font-size: 14px; padding: 10px 12px; }
  .sidebar-sections h3 { font-size: 1.5rem; }
}

@media (max-width: 1100px) {
  .ub-center {
    gap: 10px;
  }

  .mega-left {
    flex: 0 0 230px;
  }

  .section-list a { font-size: 13px; padding: 9px 11px; }
  .sidebar-sections h3 { font-size: 1.4rem; }
}

@media (max-width: 1050px) {
  :root { --nav-h: 62px; }

  .ub-center {
    gap: 8px;
  }

  .ub-mainnav {
    height: 62px;
  }

  .ub-logo img {
    height: 30px;
  }

  main {
    padding-top: 62px;
  }
}

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
    gap: 30px;
    padding: 40px 20px;
  }

  .footer-col {
    align-items: flex-start;
    text-align: left;
    padding-left: 40px;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .social-icons i {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 14px;
    box-shadow: 0 1px 4px rgba(8, 95, 193, 0.15);
    transform: translateZ(0);
  }
}

@media (max-width: 992px) {
  :root { --nav-h: 60px; }

  .ub-mainnav {
    height: 60px;
  }

  .ub-center {
    display: none;
  }

  .signin-link,
  .signup-btn {
    display: none;
  }

  .ub-hamburger {
    display: block;
    margin-left: 0;
    font-size: 30px;
    position: relative;
    z-index: 2;
    color: #042b56;
  }

  .ub-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .ub-logo img {
    height: 20px;
  }

  .ub-search-btn {
    display: block;
    margin-left: auto;
    font-size: 22px;
    transition: transform 0.25s ease;
  }

  .ub-search-btn:hover {
    transform: scale(1.15);
  }

  .ub-search-bar {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 60px;
    padding: 0 10px;
    background: #fff;
    display: flex;
    align-items: center;
    z-index: 9999;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    overflow: visible;
  }

  .ub-search-bar.active {
    transform: translateY(0);
  }

  .suggestion-item {
    padding: 10px 12px;
    font-size: 14px;
    background: #fff;
  }

  .suggestion-item:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }

  .suggestion-item:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  .ub-actions .vendor-dropdown {
    display: none;
  }

  .nav-inner {
    position: relative;
  }

  main {
    padding-top: 60px;
  }

  .vendor-dashboard .row.g-0 {
    row-gap: 1.25rem;
  }

  .sidebar-sections {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding: 24px;
  }

  .vendor-dashboard .main-content {
    padding: 1.75rem;
    border-radius: 10px;
    margin-top: 6px;
  }

  .services-chart-wrap,
  .industry-chart-wrap,
  .client-chart-wrap {
    width: 240px;
    height: 240px;
  }

  #servicesPieChart,
  #industryPieChart,
  #clientSizeChart {
    width: 240px !important;
    height: 240px !important;
  }

  .legend-item,
  .industry-legend-item,
  .client-legend-item {
    grid-template-columns: 18px 1fr 44px;
  }

  .logo-upload-box {
    width: min(70%, 22rem);
  }

  .main-section-wrapper {
    padding: 2rem 1.5rem;
  }

  .main-section-wrapper h2 {
    font-size: 1.6rem;
  }
}

/* Force-hide all mobile-only elements when desktop navbar is active */
@media (min-width: 993px) {
  .ub-hamburger          { display: none !important; }
  .mobile-menu-backdrop  { opacity: 0 !important; pointer-events: none !important; }
  .mobile-menu-panel     { transform: translateX(-100%) !important; }
}

@media (max-width: 768px) {
  .ub-search-bar {
    height: 48px;
    padding: 0 8px;
  }

  .ub-search-bar input {
    font-size: 14px;
  }

  .go-btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .back-btn {
    font-size: 16px;
  }

  .autosuggest-box {
    --autosuggest-radius: 16px;
    max-height: 200px;
    border-radius: var(--autosuggest-radius) !important;
  }

  .suggestion-item {
    padding: 8px 10px;
    font-size: 14px;
  }

  .mobile-dropdown-toggle {
    font-size: 14px;
  }

  .sub-dropdown-toggle {
    font-size: 13px;
  }

  .sub-dropdown-content a {
    font-size: 13px;
    padding: 9px 10px;
  }

  .sub-dropdown {
    margin: 4px 6px;
  }

  .mobile-menu-panel {
    padding: 16px;
  }

  .footer-container {
    max-width: 620px;
    padding: 30px 20px;
  }

  .footer-col h4 {
    font-size: 16px;
  }

  .footer-col a,
  .footer-col p {
    font-size: 14px;
  }

  .footer-logo-img {
    max-width: 130px;
  }

  .main-section-wrapper {
    max-width: 90%;
  }
}

@media (max-width: 767px) {
  .vendor-dashboard .row.g-0 {
    row-gap: 1rem;
  }

  .sidebar-sections {
    padding: 18px;
  }

  .vendor-dashboard .main-content {
    padding: 1.375rem;
  }

  .services-chart-wrap,
  .industry-chart-wrap,
  .client-chart-wrap {
    width: 220px;
    height: 220px;
  }

  #servicesPieChart,
  #industryPieChart,
  #clientSizeChart {
    width: 220px !important;
    height: 220px !important;
  }

  .legend-item,
  .industry-legend-item,
  .client-legend-item {
    grid-template-columns: 18px 1fr 44px;
  }

  .logo-upload-box {
    width: 100%;
    height: 160px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
    gap: 20px;
    padding: 25px 16px;
  }

  .footer-col {
    align-items: flex-start;
    text-align: left;
    padding-left: 10px;
  }

  .footer-col a,
  .footer-col p {
    font-size: 13px;
  }

  .footer-logo-img {
    max-width: 110px;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .social-icons i {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 14px;
    box-shadow: 0 1px 4px rgba(8, 95, 193, 0.15);
    transform: translateZ(0);
  }

  .footer-bottom {
    height: auto;
    padding: 12px;
  }

  .footer-bottom p {
    font-size: 13px;
  }

  .footer-bottom-links a {
    font-size: 13px;
    padding: 4px 12px;
  }

  .footer-divider {
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  .main-section-wrapper {
    padding: 1.8rem 1rem;
    border-radius: 12px;
  }

  .main-section-wrapper h2 {
    font-size: 1.4rem;
  }

  .main-section-wrapper .btn-success {
    font-size: 14px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  /* ── Footer: single column, fully centered ── */
  .footer-container {
    grid-template-columns: 1fr;
    padding: 24px 16px;
    gap: 24px;
  }

  .footer-col {
    align-items: center;
    text-align: center;
    padding-left: 0;
    width: 100%;
  }

  /* make every direct child full-width so text-align: center works */
  .footer-col > * {
    width: 100%;
    text-align: center;
  }

  /* links: full width + centered text, allow long emails to wrap */
  .footer-col a {
    width: 100%;
    text-align: center;
    word-break: break-word;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
    width: 100%;
  }

  /* copyright bar */
  .footer-bottom {
    padding: 14px 12px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  /* full-width so text-align: center actually centers the text */
  .footer-bottom p {
    font-size: 12px;
    text-align: center;
    width: 100%;
    word-break: break-word;
  }

  .footer-bottom-links a {
    font-size: 11px;
    padding: 3px 10px;
  }

  .footer-divider {
    font-size: 11px;
  }

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

  /* ── Dashboard charts ── */
  .services-flex,
  .industry-flex,
  .client-flex {
    flex-direction: column;
    align-items: center;
    gap: 26px;
    margin-left: 0;
  }

  .services-chart-wrap,
  .industry-chart-wrap,
  .client-chart-wrap {
    width: 200px;
    height: 200px;
  }

  #servicesPieChart,
  #industryPieChart,
  #clientSizeChart {
    width: 200px !important;
    height: 200px !important;
  }

  .legend-item,
  .industry-legend-item,
  .client-legend-item {
    grid-template-columns: 18px 1fr 44px;
    margin-bottom: 4px;
  }

  #servicesLegend,
  #industryLegend,
  #clientSizeLegend {
    padding-left: 0;
    align-items: stretch;
    margin-top: 0;
  }

  .sidebar-sections,
  .vendor-dashboard .main-content {
    padding: 1rem;
    border-radius: 8px;
    width: 100% !important;
    margin: 0 !important;
  }

  .logo-upload-box {
    height: 130px;
  }

  .ub-search-bar {
    height: 44px;
    padding: 0 6px;
  }

  .ub-search-bar input {
    font-size: 13px;
  }

  .go-btn {
    padding: 6px 10px;
    font-size: 12px;
  }

  .back-btn {
    font-size: 14px;
  }

  .autosuggest-box {
    --autosuggest-radius: 12px;
    max-height: 180px;
    border-radius: var(--autosuggest-radius);
  }

  .suggestion-item {
    padding: 7px 9px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .ub-search-bar {
    height: 40px;
  }

  .ub-search-bar input {
    font-size: 12px;
  }

  .go-btn {
    padding: 5px 8px;
    font-size: 11px;
  }
}

/* Remove browser autofill blue/yellow background on all inputs */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: inherit !important;
  transition: background-color 5000s ease-in-out 0s;
}

.django-toast-stack { position: fixed; bottom: 24px; right: 20px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.django-toast { display: inline-flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; box-shadow: 0 4px 18px rgba(0,0,0,.14); animation: toastIn .22s ease; max-width: 360px; }
.django-toast-icon { font-size: 16px; flex-shrink: 0; }
.django-toast--error { background: #fff1f0; border: 1px solid #ffccc7; color: #a8071a; }
.django-toast--success { background: linear-gradient(90deg, #0B335A, #1f5e9d); border: none; color: #ffffff; }
.django-toast--warning { background: #fffbe6; border: 1px solid #ffe58f; color: #874d00; }
.django-toast--info, .django-toast-- { background: #e6f4ff; border: 1px solid #91caff; color: #003eb3; }
.django-toast button { background: none; border: none; cursor: pointer; font-size: 18px; line-height: 1; color: inherit; opacity: .6; flex-shrink: 0; }
.django-toast button:hover { opacity: 1; }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }


.mobile-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mobile-panel-header img { height: 22px; }
#ubMobileClose { background: none; border: 0; color: #0B335A; font-size: 22px; cursor: pointer; padding: 4px 8px; }
.mobile-menu-panel nav { flex: 1; }
.mobile-menu-divider { margin: 12px 0; border-color: #e5e5e5; }

/* WHATSAPP FLOAT BUTTON */
.wa-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 10000;
  transition: transform 0.2s ease, box-shadow 0.2s ease, bottom 0.25s ease;
}
.wa-float.shifted {
  bottom: 92px;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
  color: #fff;
  text-decoration: none;
}
.wa-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: #fff;
  border: 1px solid #042b56;
  color: #042b56;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 8px;
  border-radius: 8px;
  opacity: 1;
  pointer-events: none;
}
.wa-tooltip::before {
  content: '';
  position: absolute;
  top: 100%;
  right: 19px;
  border-width: 7px 7px 0 7px;
  border-style: solid;
  border-color: #042b56 transparent transparent transparent;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 20px;
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

@media (max-width: 767px) {
  .wa-tooltip {
    display: none;
  }
}

.cookie-consent {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 438px;
  max-width: calc(100vw - 40px);
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--navy);
  box-shadow: 0 12px 32px rgba(4, 43, 86, 0.25);
}

.cookie-consent-text {
  margin: 0;
  color: var(--top-text);
  font-size: 14px;
  line-height: 1.6;
}

.cookie-consent-actions {
  display: flex;
  gap: 12px;
}

.cookie-consent-btn {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-consent-btn-reject {
  background: transparent;
  color: var(--top-text);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cookie-consent-btn-accept {
  background: linear-gradient(90deg, var(--cta-left), var(--cta-right));
  color: #fff;
}

.cookie-consent-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-consent-view[hidden] {
  display: none;
}

.cookie-consent-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cookie-consent-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
}

.cookie-consent-manage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 2px 0;
  border: none;
  background: transparent;
  color: var(--top-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cookie-consent-manage:hover,
.cookie-consent-manage:focus {
  color: var(--top-text);
  text-decoration: none;
  opacity: 0.85;
}

.cookie-consent-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.cookie-consent-title i {
  color: var(--cta-right);
}

.cookie-consent-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.cookie-consent-option-name {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.cookie-consent-option-desc {
  display: block;
  color: var(--top-text);
  font-size: 12px;
  line-height: 1.5;
}

.cookie-consent-always {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-consent-switch {
  appearance: none;
  flex-shrink: 0;
  position: relative;
  width: 40px;
  height: 22px;
  margin: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-consent-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.cookie-consent-switch:checked {
  background: linear-gradient(90deg, var(--cta-left), var(--cta-right));
}

.cookie-consent-switch:checked::after {
  transform: translateX(18px);
}

.cookie-consent-switch:focus-visible,
.cookie-consent-manage:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 575px) {
  .cookie-consent {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 16px;
  }

  body.ub-consent-open .wa-float,
  body.ub-consent-open .scroll-top-btn {
    bottom: 220px;
  }
}

