/* Nexus Cloud — emyui-child overrides */

:root {
  --nexus-red: #f64b4b;
  --nexus-red-hover: #f42727;
  /* Cyan from homepage illustration / hero imagery */
  --nexus-blue: #40c8e7;
  --nexus-blue-deep: #405fd3;
  --nexus-blue-soft: #2eb6d6;
  /* Remap theme greens used as brand secondary */
  --green: var(--nexus-blue);
  --secondary: var(--nexus-blue);
  --green-shamrock: var(--nexus-blue-soft);
}

.brand-logo img.light-version-logo,
.brand-logo img.dark-version-logo {
  max-height: 42px;
  width: auto;
}

/* Buttons — unify CTAs to Browse products red */
.btn-warning,
.btn-warning:not(:disabled):not(.disabled):active,
.btn-warning:not(:disabled):not(.disabled).active {
  color: #fff !important;
  background-color: var(--nexus-red) !important;
  border-color: var(--nexus-red) !important;
}

.btn-warning:hover,
.btn-warning:focus {
  color: #fff !important;
  background-color: var(--nexus-red-hover) !important;
  border-color: var(--nexus-red-hover) !important;
}

.btn-red .text-white,
.btn-warning.text-white {
  color: #fff !important;
}

/* Green accents → homepage illustration blue (global) */
.text-green,
a.text-green:hover,
a.text-green:focus,
.nexus-accent,
.text-success,
a.text-success:hover,
a.text-success:focus {
  color: var(--nexus-blue) !important;
}

.nexus-hero-eyebrow,
.coodiv-color-green-opacity-7,
.coodiv-color-green-opacity-visible,
.coodiv-color-secondary-opacity-visible,
.coodiv-color-success-opacity-visible,
.coodiv-color-green-shamrock-opacity-visible {
  color: rgba(64, 200, 231, 0.85) !important;
}

.coodiv-color-green-opacity-visible,
.coodiv-color-secondary-opacity-visible,
.coodiv-color-success-opacity-visible {
  color: var(--nexus-blue) !important;
}

.footer-block .block-title:after,
.main-features-box .title:after,
.social-numbers a h3:before,
.border-greenafter:before,
.orderform-step-form-wizard-item.active:after {
  background: var(--nexus-blue) !important;
}

a.active-link-border,
.border-bottom-3-green {
  border-bottom-color: var(--nexus-blue) !important;
}

.header-cart span,
.shoping-cart-btn-header .shoping-cart-number,
.notifications-bell.green,
.coodiv-bg-secondary-opacity-visible,
.coodiv-bg-success-opacity-visible,
.coodiv-bg-green-opacity-visible,
.domains-addons-products-title,
.badge-success,
.bg-success {
  background-color: var(--nexus-blue) !important;
  background: var(--nexus-blue) !important;
}

.badge-success {
  color: #fff !important;
}

/* Header nav underline + dropdown hover (all pages) */
.main-menu .nav-item .nav-link:before {
  background: var(--nexus-blue) !important;
  background-image: linear-gradient(90deg, var(--nexus-blue-soft) 0%, var(--nexus-blue) 100%) !important;
}

.coodiv-menu-dropdown > .drop-menu-item:hover > a,
.mega-menu-dropdown-ul > .drop-menu-item:hover > a {
  color: var(--nexus-blue) !important;
}

.list-style-check li i,
.check-icn,
#products .features i,
.ddos-attack-package .ddos-second-features li i,
.ddos-attack-package .ddos-third-features li i,
.comparison-box .comparison-box-right-side .side .right-side-plan-slider i,
.companies-box .text-title h3 span,
.features-box .features-box-icon.coodiv-bg-green-opacity-1 i {
  color: var(--nexus-blue) !important;
}

.coodiv-hover-text-green:hover,
a.coodiv-hover-text-green:hover,
.coodiv-hover-text-green:hover i,
a.coodiv-hover-text-green:hover i {
  color: var(--nexus-blue) !important;
}

/* Product category icons — blue family instead of purple / amber / green */
.servicesboxicon.one {
  background: var(--nexus-blue-deep) !important;
}

.servicesboxicon.two {
  background: var(--nexus-blue) !important;
}

.servicesboxicon.tree {
  background: var(--nexus-blue-soft) !important;
}

.footer-block .brand-logo img {
  max-height: 48px;
  width: auto;
}

.hero-area-coodiv.vpn-version .hero-btns .btn-outline-light {
  border-width: 1px;
}

.nexus-kb-layout {
  margin-top: 0.5rem;
}

/* Reviews — Bootstrap carousel, 3 cards per page */
.nexus-reviews {
  overflow: hidden;
  padding-bottom: 2.5rem;
}

.nexus-reviews .carousel-inner {
  overflow: hidden;
  /* Prevent section/background jump when slides have different content heights */
  min-height: var(--nexus-reviews-height, 340px);
}

.nexus-reviews .carousel-item > .row {
  min-height: var(--nexus-reviews-height, 340px);
  align-items: stretch;
}

.nexus-review-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  height: 100%;
  box-sizing: border-box;
}

.nexus-review-card__meta .stars {
  white-space: nowrap;
  flex-shrink: 0;
}

.nexus-review-card__meta .stars i {
  margin-right: 2px;
}

.nexus-review-card p {
  flex: 1 1 auto;
}

.nexus-reviews__control {
  width: 48px;
  opacity: 1;
}

.nexus-reviews__control:hover {
  opacity: 1;
}

.nexus-reviews__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #090e4e;
  box-shadow: 0 4px 16px rgba(9, 14, 78, 0.14);
  font-size: 1.25rem;
}

.nexus-reviews__dots {
  bottom: -2rem;
  margin: 0;
}

.nexus-reviews__dots li {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background: rgba(9, 14, 78, 0.2);
  border: 0;
  opacity: 1;
}

.nexus-reviews__dots li.active {
  background: #090e4e;
}

/* Homepage product category cards — equal height */
.nexus-product-cards > [class*="col-"] > .border {
  display: flex;
  flex-direction: column;
}

.nexus-product-cards .px-6 {
  flex: 1 1 auto;
}

.nexus-product-cards .coodiv-text-10.mb-7 {
  flex: 1 1 auto;
  min-height: 4.5rem;
}

.nexus-product-cards .servicesboxicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  line-height: 1;
}

/* Footer support contact links — title weight like section labels */
.nexus-footer-contact__link {
  font-weight: 700;
  color: #fff !important;
}

/* Hide Network Status from header dropdowns / support panels */
a[menuItemName="Network Status"],
a[menuitemname="Network Status"],
div[menuItemName="Network Status"],
div[menuitemname="Network Status"],
a[menuItemName="Server Status"],
a[menuitemname="Server Status"],
.coodiv-clientarea-boxes[menuitemname="Network Status"],
.coodiv-clientarea-boxes[menuitemname="Server Status"],
.nav-link[href*="serverstatus.php"],
.drop-menu-item a[href*="serverstatus.php"],
.list-group-item a[href*="serverstatus.php"] {
  display: none !important;
}

/* Store category tabs — hide domain actions + blue active accent */
.order-form-menu-scroller a[menuItemName="Register a New Domain"],
.order-form-menu-scroller a[menuItemName="Domain Registration"],
.order-form-menu-scroller a[menuItemName="Transfer in a Domain"],
.order-form-menu-scroller a[menuItemName="Domain Transfer"],
.order-form-menu-scroller a[menuItemName="Domain Renewals"],
.order-form-menu-scroller a[menuItemName="Renew Domains"],
.order-form-menu-scroller a[menuItemName="Domain Pricing"],
.order-form-menu-scroller a[href*="domain=register"],
.order-form-menu-scroller a[href*="domain=transfer"],
.order-form-menu-scroller a[href*="domain=renew"],
.order-form-menu-scroller a[href*="gid=renewals"],
.order-form-menu-scroller a[href*="domainchecker"] {
  display: none !important;
}

.order-form-menu-scroller .nav .nav-link.active,
body.not-using-emyui-cart-aws .order-form-menu-scroller .nav .nav-link.active,
body.using-emyui-cart-aws .order-form-menu-scroller .nav .nav-link.active {
  color: var(--nexus-blue-deep) !important;
  border-bottom-color: var(--nexus-blue) !important;
  border-bottom-width: 3px;
  border-bottom-style: solid;
}

/* Product plans carousel (>3 products) */
.nexus-products-carousel {
  padding-bottom: 2.5rem;
}

.nexus-products-carousel:not(.flickity-enabled) {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}

.nexus-products-carousel .products-item {
  width: 100%;
  margin-right: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .nexus-products-carousel .products-item {
    width: 33.333%;
  }
}

.nexus-products-carousel .flickity-page-dots {
  bottom: 0;
}

.nexus-products-carousel .flickity-page-dots .dot {
  background: var(--nexus-blue);
  opacity: 0.35;
}

.nexus-products-carousel .flickity-page-dots .dot.is-selected {
  opacity: 1;
  background: var(--nexus-blue);
}

.nexus-products-carousel .flickity-prev-next-button {
  width: 40px;
  height: 40px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(9, 14, 78, 0.14);
}

.nexus-products-carousel .flickity-prev-next-button .arrow {
  fill: var(--nexus-blue-deep);
}

.nexus-products-carousel .flickity-button:disabled {
  opacity: 0.35;
}
