/* Pricing Summary Cards */
.pricing-summary-block {
  width: 100%;
  max-width: 1400px;
  margin: 0 48px;
  padding: 10px 20px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #e67e00 #222;
}

.pricing-summary-block::-webkit-scrollbar {
  height: 10px;
  background: #222;
}
.pricing-summary-block::-webkit-scrollbar-thumb {
  background: #e67e00;
  border-radius: 6px;
}
.pricing-summary-block::-webkit-scrollbar-track {
  background: #222;
}

.pricing-summary-cards {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.pricing-summary-card {
  display: flex;
  flex-direction: column;
  min-width: 400px;
  max-width: 400px;
  height: 520px; /* Ensures all cards have the same height */
  background: #222; /* Match hovered gray background */
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 32px 24px 24px 24px;
  position: relative; /* Needed for absolute children */
  justify-content: flex-start;
  align-items: stretch;
}

.pricing-summary-card:hover {
  background: #222; /* Ensure hovered and unselected are the same */
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.pricing-summary-card.pricing-summary-selected {
  border: 3px solid #18a0ff;
  box-shadow: 0 0 0 6px rgba(24, 160, 255, 0.12), 0 22px 60px rgba(0, 0, 0, 0.8);
}

.pricing-summary-radio {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.pricing-summary-card.pricing-summary-selected .pricing-summary-radio {
  border-color: #2db2ff;
  background: linear-gradient(180deg, #2db2ff 0%, #18a0ff 100%);
}

.pricing-summary-card.pricing-summary-selected .pricing-summary-radio:after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  display: block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.pricing-summary-badge {
  display: inline-block;
  background: #1f5f3f;
  color: #cdeedd;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Pricing summary title styled like badge, with blue background */
.pricing-summary-title-badge {
  display: inline-block;
  background: #1a4a7a;
  color: #fff;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-summary-price-wrapper {
  margin-bottom: 16px;
}

.pricing-summary-price {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.pricing-summary-features {
  flex-grow: 1;
  margin-bottom: 24px;
  margin-top: 16px;
  color: #9aa4ad;
  font-size: 15px;
  line-height: 1.7;
}

.pricing-summary-feature {
  margin: 10px 0;
  padding-left: 0;
}

.pricing-summary-feature:first-child {
  font-weight: 600;
  color: #b8c2cc;
  margin-bottom: 12px;
}

.button-wrapper-pricing {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  padding-bottom: 0;
}

.desktop-login-btn.onpage {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .pricing-summary-cards {
    flex-wrap: nowrap;
    gap: 16px;
  }
  .pricing-summary-card {
    min-width: 400px;
    max-width: 400px;
    flex: 0 0 400px;
  }
}

@media (max-width: 900px) {
  .pricing-summary-card {
    min-width: 320px;
    max-width: 320px;
  }
}

/* Pricing Section - Div-based layout */
.pricing-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-table-desktop {
  margin-top: 16px;
  display: none;
  width: 100%;
}

.pricing-cards-mobile {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}

.pricing-table {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

/* Default 3-column layout for commercial pricing */
.pricing-row {
  display: grid;
  grid-template-columns: 40% 20% 20% 20%;
  border-bottom: 1px solid #f0f0f0;
}

/* 2-column layout for private pricing */
.pricing-row.two-columns {
  grid-template-columns: 40% 30% 30%;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-cell {
  padding: 12px 20px;
  text-align: left;
  color: #c4c4c4; /* Ensure readable contrast on dark background (7.5:1) */
}

.pricing-row .pricing-cell:nth-child(2),
.pricing-row .pricing-cell:nth-child(3),
.pricing-row .pricing-cell:nth-child(4) {
  text-align: center;
}

.pricingFooter {
  margin-top: 16px;
  margin-bottom: 32px;
  color: #b8b8b8; /* Better contrast: 6.5:1 ratio */
}

.pricing-card-header {
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 16px;
}

.pricing-row.product-header {
  font-size: 1.4em;
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: 1 / -1;
  background-color: #444; /* Darker gray for visual distinction */
  color: #ffffff;
  font-weight: 600;
  padding-top: 32px;
  padding-bottom: 16px;
  text-align: center;
  margin-top: 32px;
}

/* Product header rows */
.pricing-row.product-header {
  background-color: #444; /* Darker gray for excellent contrast and visual distinction */
  font-weight: 600;
  text-align: center;
  padding: 16px 0;
}

.pricing-row.product-header .pricing-cell {
  color: #ffffff !important; /* White text on dark gray: 9.5:1 contrast */
  text-align: center;
}

.pricing-row.product-header .pricing-cell strong {
  color: #ffffff; /* Ensure strong tags also use white */
}

.pricing-row.group-header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  grid-column: 1 / -1;
  background-color: #444;
  color: #ffffff; /* White text for maximum contrast: 9.7:1 on #444 */
  font-weight: 600;
  padding-top: 32px;
  padding-bottom: 16px;
}

.pricing-row.group-header .pricing-cell {
  color: #ffffff; /* Ensure all text in group headers is white */
}

.pricing-row.plan-identifier-row {
  background-color: #555; /* Darker background for better contrast */
  border-bottom: 2px solid #e0e0e0;
}

.pricing-row.plan-identifier-row .pricing-cell {
  font-weight: 600;
  text-align: center;
  color: #ffffff; /* White text for maximum contrast */
}

.pricing-row.plan-identifier-row .pricing-cell:first-child {
  background-color: transparent;
}

.pricing-row.price-row {
  background-color: #555; /* Darker background for better contrast than #888 */
  font-weight: 600;
}

.pricing-row.price-row .pricing-cell {
  padding: 20px;
  font-size: 1.2em;
  color: #ffffff; /* White text for maximum contrast */
}

.check-icon {
  color: #4ade80; /* Brighter green for better contrast: 8.2:1 on dark background */
  font-size: 1.2em;
  font-weight: bold;
  display: block;
}

/* Mobile cards */
.pricing-cards-mobile {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}


.pricing-summary-title-badge-row
{
    margin-bottom: 16px;
}

.pricing-summary-badge-placeholder {

    display: block;
    width: 100%;
    background: none;
}

.pricing-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #1a1a1a;
  width: 100%;
}

.pricing-card-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.5em;
  color: #e67e00; /* Darker orange for consistency */
}

.pricing-card-price {
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
}

.pricing-card-price small {
  font-size: 0.8em;
  color: #b8b8b8; /* Better contrast: 6.5:1 */
}

.pricing-card-table {
  width: 100%;
}

.pricing-row-mobile {
  display: grid;
  grid-template-columns: 60% 40%;
  border-bottom: 1px solid #f0f0f0;
}

.pricing-row-mobile:last-child {
  border-bottom: none;
}

.pricing-cell-mobile {
  padding: 10px 12px;
  text-align: left;
  color: #c4c4c4; /* Ensure readable contrast (7.5:1) */
}

.pricing-row-mobile .pricing-cell-mobile:nth-child(2) {
  text-align: center;
}

.pricing-row-mobile.product-header .pricing-cell-mobile,
.pricing-row-mobile.group-header-mobile .pricing-cell-mobile {
  grid-column: 1 / -1;
  background-color: #444;
  color: #ffffff; /* White text for maximum contrast on #444 background */
  font-weight: 600;
  text-align: center;
  padding: 12px;
}

.pricing-row-mobile.product-header .pricing-cell-mobile {
  background-color: #444; /* Darker gray for visual distinction */
  color: #ffffff !important; /* White text on darker gray: 9.7:1 contrast */
}

.pricing-row-mobile.price-row {
  background-color: #555; /* Darker background for better contrast than #888 */
  font-weight: 600;
}

.pricing-row-mobile.price-row .pricing-cell-mobile {
  padding: 12px;
  color: #ffffff; /* White text for maximum contrast */
}

/* Arrow navigation for pricing-summary-block */
.pricing-summary-block-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 48px;
  overflow: hidden;
}

.pricing-summary-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  background: rgba(36,36,36,0.85);
  border: none;
  color: #e67e00;
  font-size: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.pricing-summary-arrow:active {
  background: #e67e00;
  color: #fff;
}
.pricing-summary-arrow-left {
  left: 0;
}
.pricing-summary-arrow-right {
  right: 0;
}

.pricing-toggle-btn {
  border-radius: 16px;
  background: #242c3c;
  color: #fff;
  border: 2px solid #242c3c;
  padding: 8px 32px;
  font-size: 1.1em;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}
.pricing-toggle-btn.active {

  border-color: #e67e00;
  color: #fff;
}
.pricing-toggle-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px #e67e0044;
}

@media (min-width: 992px) {
  .pricing-table-desktop {
    display: block;
  }
  .pricing-cards-mobile {
    display: none;
  }
}
