/* =============================================
   Order Menu — Domain Configuration shell styles
   ============================================= */

/* Rules scoped to Domain Configuration shell only (body.cpdc-standalone-shell).
   Other order forms use Section Tabs styles from section-tabs.css. */

body.cpdc-standalone-shell .cp-order-menu {
  background-color: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 0;
}

body.cpdc-standalone-shell .cp-order-menu .container {
  padding-left: 15px;
  padding-right: 15px;
}

body.cpdc-standalone-shell .cp-order-menu-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding-left: 0;
  margin-left: 0;
}

body.cpdc-standalone-shell .cp-order-menu-label {
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
  white-space: nowrap;
  padding: 12px 20px 12px 0;
  border-right: 2px solid #e9ecef;
  margin-right: 8px;
  flex-shrink: 0;
}

body.cpdc-standalone-shell .cp-order-menu-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  justify-content: flex-start;
}

body.cpdc-standalone-shell .cp-order-menu-item {
  position: relative;
}

body.cpdc-standalone-shell .cp-order-menu-link {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
  border-bottom: 2px solid transparent;
}

body.cpdc-standalone-shell .cp-order-menu-link:hover {
  color: #08005E;
  text-decoration: none;
  border-bottom-color: #08005E;
}

body.cpdc-standalone-shell .cp-order-menu-item-active .cp-order-menu-link {
  color: #08005E;
  border-bottom-color: #08005E;
}

/* ---- Responsive: horizontal scroll on small screens ---- */
@media (max-width: 768px) {
  body.cpdc-standalone-shell .cp-order-menu-label {
    padding: 10px 8px 10px 0;
    font-size: 13px;
    margin-right: 6px;
    border-right-width: 1px;
  }

  body.cpdc-standalone-shell .cp-order-menu-inner {
    overflow: hidden;
  }

  body.cpdc-standalone-shell .cp-order-menu-list {
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    scrollbar-width: none; /* Firefox */
  }

  body.cpdc-standalone-shell .cp-order-menu-list::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  body.cpdc-standalone-shell .cp-order-menu-link {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Email-verification banner: drop the parent lavender strip so the page
   canvas shows through. The pink notice container keeps its alert color. */
body .email-verification {
  background-color: transparent;
}
