@charset "UTF-8";
:root {
  --sidebar-bg-color: #04345c;
  --sidebar-hover-bg: #3a6aa3;
  --sidebar-bottom-bg: #e1e7eb;
  --sidebar-bottom-text: #04345c;
  --header-bg-color: #04345c;
  --main-bg: white;
  --text-color: #04345c;
  --aside-bg: #e0eff5;
  --brand-blue: #009fe3;
}

.eg-expand_less, .button.menu-expand {
  display: none;
}

.build-a-list-criteria {
  background-color: #fff;
}

.dropdown-item.selected {
  font-weight: bold;
  background-color: #e8f7ff; /* Light blue highlight */
  border-left: 4px solid #00a1d2; /* Default blue, can override inline */
  padding-left: 10px;
}

.button-with-dropdown.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.dropdown-item.disabled {
  pointer-events: none;
  background-color: #f5f5f5;
  color: #999;
  opacity: 0.6;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.tagline {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.85;
}

.header-total {
  display: flex;
  align-items: center;
}

.total-pill {
  background-color: #bcd4e6;
  color: #04345c;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}

/* Sidebar */
.sidebar-nav {
  width: 220px;
  background-color: var(--sidebar-bg-color);
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
  transition: width 0.2s;
}

.sidebar-nav a {
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.sidebar-nav a i {
  width: 20px;
  text-align: center;
}

.sidebar-nav a:hover {
  background-color: var(--sidebar-hover-bg);
}

.sidebar-nav a.active {
  background-color: #c6d800;
  color: #04345c;
}

.sidebar-nav a.active i {
  color: #04345c;
}

.sidebar-top {
  background-color: var(--sidebar-bg-color);
  display: flex;
  flex-direction: column;
}

.sidebar-bottom {
  background-color: var(--sidebar-bottom-bg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.sidebar-bottom a {
  color: var(--sidebar-bottom-text);
}

/* Sidebar Toggle */
#sidebarToggle {
  background-color: #04345c;
  color: white;
  padding: 12px 20px;
  width: 100%;
  border: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

#sidebarToggle i {
  width: 20px;
  text-align: center;
}

#sidebarToggle:hover {
  background-color: var(--sidebar-hover-bg);
}

/* Collapsed Sidebar */
body.sidebar-collapse .sidebar-nav {
  width: 60px;
}

body.sidebar-collapse .sidebar-nav a span {
  display: none;
}

body.sidebar-collapse .sidebar-nav a {
  justify-content: center;
}

body.sidebar-collapse #sidebarToggle .toggle-text {
  display: none;
}

/* Sidebar User */
.sidebar-user {
  padding: 20px;
  background-color: var(--sidebar-bottom-bg);
  font-size: 14px;
  color: var(--sidebar-bottom-text);
}

.sidebar-user .signout-btn {
  background-color: #04345c;
  color: white;
  border: none;
  padding: 10px 16px;
  width: 100%;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}

.sidebar-user .signout-btn:hover {
  background-color: #04345c;
}

.sidebar-user small {
  display: block;
  margin-top: 10px;
  color: #666;
}

.sidebar-user.collapsed-user {
  display: none;
  text-align: center;
}

body.sidebar-collapse .sidebar-user.full-user {
  display: none;
}

body.sidebar-collapse .sidebar-user.collapsed-user {
  display: block;
}

/* Layout */
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-right: 20px;
  padding-top: 100px;
}

body {
  overflow-x: hidden;
}

/* Main Content */
.main-content {
  width: 100%;
}

section {
  background: white;
  border-radius: 8px;
  padding: 20px;
  width: 100%;
}

section h2 {
  margin-top: 0;
  font-size: 18px;
  color: var(--text-color);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

section p, aside p, aside li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  list-style: none;
}

/* Aside */
aside {
  background-color: var(--aside-bg);
  border: 1px solid #d6dbe0;
  border-radius: 25px;
  /* padding: 20px; */
  margin-top: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  height: -moz-fit-content;
  height: fit-content;
  flex: 0 0 auto;
  min-width: 350px;
  max-width: 350px;
  margin-right: 10px;
  box-sizing: border-box;
  /* width: 20%; */
}

.payment-wrap {
  padding: 1em;
}

.payment-link {
  font-weight: bold;
  text-decoration: underline;
  color: #004563 !important;
}

aside h2 {
  margin-top: 0;
  font-size: 30px !important;
  color: white;
  background-color: #004563;
  padding: 12px 16px;
  border-radius: 25px 25px 0px 0px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

aside ul {
  padding-left: 18px;
  margin: 5px 0 10px 0;
}

aside button {
  /* width: 100%; */
  padding: 10px 25px;
  background-color: var(--sidebar-bg-color);
  color: white;
  border: none;
  border-radius: 25px;
  margin-top: 12px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  float: right;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.portal-button {
  padding: 10px 25px !important;
  color: white !important;
  border: none !important;
  border-radius: 25px !important;
  margin-top: 12px;
  font-weight: bold !important;
  font-size: 14px !important;
  cursor: pointer;
  text-transform: uppercase;
}

.portal-is-primary {
  background-color: #04345c !important;
}

aside hr {
  background-color: #04345c;
}

.basket-title, .basket-title-large {
  text-transform: uppercase;
}

.basket-title strong, .basket-title-large strong {
  color: #04345c !important;
}

/* Footer */
footer {
  background-color: #f0f2f5;
  padding: 10px 30px;
  font-size: 13px;
  color: #666;
  border-top: 1px solid #d6dbe0;
}

.footerContactFormInputField {
  width: 100% !important;
  padding: 10px 40px 10px 30px !important;
  font-size: 20px !important;
  border: none !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
  text-align: unset !important;
  background-color: #ffffff !important;
}

/* Group Buttons */
/* .database-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px; 
}/*

.group-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  color: white;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.group-WINDOW { background-color: #00a1d2; }
.group-STOCKIST { background-color: #80004c; }
.group-SPECIFIERS { background-color: #e65d0b; }
.group-ROOFLINE { background-color: #e41118; }
.group-BUILDER,
.group-HOMEIMPROVER { background-color: #474100; }

/* Draw Buttons */
.draw-build-buttons {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.draw-build-buttons button {
  background-color: #00a1d2;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.draw-build-buttons button:hover {
  background-color: #008ab8;
}

/* Map Badge */
.map-badge {
  background-color: #c6d800;
  color: #04345c;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 13px;
  border-radius: 10px;
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 999;
}

/* Dropdown Button */
.button-with-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* z-index: 9999; */
}

.image-button {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: block;
  overflow: hidden;
}

.image-container {
  overflow: hidden;
  border-radius: 999px;
  display: flex;
}

.image-button img {
  display: block;
  height: 40px;
}

.dropdown-toggle {
  width: 30px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  background-color: inherit;
  padding: 0;
}

.toggle-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
}

.group-WINDOW .dropdown-toggle {
  background-color: #00a1d2;
}

.group-STOCKIST .dropdown-toggle {
  background-color: #80004c;
}

.group-SPECIFIERS .dropdown-toggle {
  background-color: #e65d0b;
}

.group-ROOFLINE .dropdown-toggle {
  background-color: #e41118;
}

.group-BUILDER .dropdown-toggle,
.group-HOMEIMPROVER .dropdown-toggle {
  background-color: #474100;
}

/* .button-with-dropdown.selected {
  outline: 3px solid #c6d800;
  outline-offset: 2px;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(198, 216, 0, 0.2);
} */
.button-with-dropdown.active .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  z-index: 10000;
  white-space: nowrap; /* Prevent wrapping */
  min-width: auto; /* Let it shrink to fit content */
  width: -moz-max-content;
  width: max-content; /* Fit to content size */
}

.dropdown-menu li {
  list-style: none;
  padding: 5px;
  padding-right: 15px;
  padding-left: 0px;
  margin-left: 10px;
}

.dropdown-menu li a:hover {
  background-color: #f0f2f5;
  color: #000;
}

/* Tabs */
.tab-wrapper {
  padding-top: 40px;
}

.tab-buttons {
  display: flex;
  margin-top: 10px;
  margin-bottom: 0;
}

.tab-button {
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  background-color: #a5cd39;
  color: white;
  transition: background-color 0.2s ease;
  margin-right: -1px;
}

.tab-button:last-child {
  margin-right: 0;
}

.tab-button i {
  margin-right: 5px;
}

.tab-button.active {
  background-color: var(--brand-blue);
  z-index: 1;
}

.tab-content {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0 0 12px 12px;
  min-height: 200px;
  position: relative;
  z-index: 0;
}

.tab-pane {
  padding: 20px;
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Dashboard SVG color */
.dashboard-icon svg {
  fill: var(--brand-blue) !important;
}

input[type=text] {
  padding: 0.9em 1.2em;
  border-radius: 30px;
  border: none;
  font-size: 1em;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.9);
}

input[type=text]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(198, 216, 0, 0.3);
  background-color: white;
}

.btn {
  font-size: 1em;
  font-weight: bold;
  padding: 1em 1.5em;
  border-radius: 30px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  width: 100%;
  letter-spacing: 0.5px;
}

.btn.primary {
  background: var(--brand-green);
  color: var(--sidebar-bg-color);
  border: none;
}

.btn.primary:hover {
  background: var(--brand-yellow-dark);
  transform: translateY(-2px);
}

.btn.secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn.secondary:hover {
  background: var(--landing-muted-blue);
  transform: translateY(-2px);
}

.btn.continue {
  background: transparent;
  border: 2px solid var(--brand-green);
  color: var(--brand-green);
}

.btn.continue:hover {
  background: rgba(198, 216, 0, 0.1);
}

.portal-text {
  position: absolute;
  top: 50%;
  right: -50px;
  font-size: 5em;
  color: #113;
  transform: translateY(-50%) rotate(-90deg);
  font-weight: 900;
  opacity: 0.1;
  white-space: nowrap;
}

.text-column {
  position: relative;
  width: 70%;
  padding: 2rem;
  z-index: 1;
}

.image-column {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.laptop-img {
  width: 500px;
  max-width: 100%;
  height: auto;
  position: static;
  transform: none;
  margin: 0;
}

.text-column h3 {
  font-size: 1.2em;
  font-weight: 600;
}

.feature-section,
.feature-section h1,
.feature-section h2,
.feature-section h3,
.feature-section p {
  color: #004563; /* your dark blue brand color */
}

.text-column h1 {
  font-size: 2.2em;
  color: var(--sidebar-bg-color);
  margin-bottom: 1.5rem;
}

.text-column h2 {
  font-size: 1.7em;
  color: var(--text-color);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.text-column h3 {
  font-size: 1.7em;
  color: var(--text-color);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.text-column p {
  font-size: 1.1em;
  margin-bottom: 1.2rem;
}

.mra-logo {
  width: 300px;
}

.database-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.database-badges span {
  background-color: var(--sidebar-bg-color);
  color: white;
  border-radius: 25px;
  padding: 0.5em 1.2em;
  font-size: 0.95em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

.image-column {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: visible;
}

.image-column img {
  position: absolute;
  right: -80px; /* tweak this as needed */
  top: 50%;
  transform: translateY(-50%);
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.container .button {
  height: unset;
  white-space: normal;
  box-sizing: border-box;
}

.build-list-btn {
  padding: 10px 25px !important;
  border-radius: 25px !important;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
}

.build-list-btn.is-primary {
  background-color: #04345c !important;
}

.radio-wrap input[type=radio] {
  display: none;
}

.radio-wrap label {
  position: relative;
  padding-left: 20px;
  cursor: pointer;
}

.radio-wrap label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 12px;
  height: 12px;
  border: 1px solid #04345c;
  border-radius: 50%;
  background-color: white;
}

.radio-wrap input[type=radio]:checked + label::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 6px;
  height: 6px;
  background-color: #04345c;
  border-radius: 50%;
}

/* Hide the native radio input */
.tab-content label.radio input[type=radio] {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

/* Style the label to look like a custom radio */
.tab-content label.radio {
  position: relative;
  padding-left: 22px;
  margin-right: 12px;
  line-height: 20px;
  cursor: pointer;
  display: inline-block;
}

/* Outer circle */
.tab-content label.radio::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  border: 1px solid #04345c;
  border-radius: 50%;
  background: white;
}

/* Inner filled circle – shown when input is checked */
.tab-content label.radio input[type=radio]:checked ~ .tab-content label.radio::after,
.tab-content label.radio:has(input[type=radio]:checked)::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 6px;
  height: 6px;
  background-color: #04345c;
  border-radius: 50%;
}

input[type=checkbox] {
  display: none;
}

input[type=checkbox] + label {
  position: relative;
  padding-left: 24px;
  cursor: pointer;
}

input[type=checkbox] + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  border: 1px solid #04345c;
  border-radius: 3px;
  background-color: white;
}

input[type=checkbox]:checked + label::after {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 1px;
  font-size: 12px;
  color: #04345c;
  font-weight: bold;
}

.checkbox-wrap input[type=checkbox]:checked + label::after {
  top: 0px !important;
}

.criteria-list li {
  list-style: unset;
}

.please-select {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  text-transform: capitalize;
  color: #04345c;
}

@media (max-width: 968px) {
  .container {
    flex-direction: column;
    width: 100%;
  }
  aside {
    max-width: 95%;
    min-width: 80%;
    order: 1; /* Ensures aside comes after main content */
    margin: 20px auto;
    border-radius: 8px; /* Adjust for mobile */
  }
  aside h2 {
    border-radius: 8px 8px 0px 0px;
  }
  .content-wrapper {
    height: auto; /* Allow vertical scrolling */
    min-height: calc(100vh - 80px);
  }
  .main-wrapper {
    flex-direction: column;
  }
  /* Optional: Adjust header layout for mobile */
  header {
    padding: 15px;
    height: auto;
    flex-wrap: wrap;
    /* margin-bottom: 10px; */
  }
  .header-left {
    width: 100%;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .basket-list {
    padding-left: 0px;
  }
  .basket-list li {
    margin-left: 0px !important;
  }
}
@media (max-width: 600px) {
  .sign-up-img-wrap {
    display: block !important;
  }
  .sign-up-img {
    max-height: 100px;
  }
  .sign-up-divider {
    display: none;
  }
}
