:root {
  --navy-blue: #0A0178;
  --azure-blue: #1151EE;
  --hover-color: rgba(143, 161, 255, 0.2);
  --border-color: #ccc;
}

/* Desktop Styles */
.feature-column-header {
    text-align: left;
    color: var(--navy-blue);
    padding: 15px 10px;
    font-family: Loretto;
    font-size: 22px;
    font-style: normal;
    font-weight: 900;
    line-height: normal; 
}
.pricing-table {
  font-family: 'Loretto', sans-serif;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto; 
}
.pricing-table td.strong {
    font-weight:bold;
}

.pricing-table td, .pricing-table th {
  padding: 15px 10px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.plan-name {
  color: var(--navy-blue);
  font-family: Loretto;
  font-size: 22px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-align: center;
  word-wrap: normal;
}
.page-id-9446 .plan-name {
     min-height: 72px;
}
.page-id-9446 td.feature-name {
    width: 40%;
}
.plan-name span {
    font-size: 12px;
    line-height: 1.2em;
    display: block;
    font-weight: 400;
    margin: 5px 0;
}
.price span {
    font-size: 22px;
}
.page-id-719  td.feature-name {
    width: 43%;
}

.feature-name {
  font-weight: 900;
  font-size: 16px;
    font-family: Loretto;
  color: var(--navy-blue);
  text-align: left;
  position: relative;
  line-height: normal;
}
.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-wrapper::after {
  content: 'ⓘ';
  margin-left: 5px;
  cursor: help;
  color: #CCCCCC;
}

.tooltip-wrapper .tooltip {
  visibility: hidden;
  width: 200px;
  background-color: #F4F6FF;
  color: #666;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 15.6px */
  text-align: center;
  border-radius: 13px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-wrapper:hover .tooltip {
  visibility: visible;
  opacity: 1;
}
.plan-column {
  text-align: center;
  min-width: 240px;
  width: 240px;
}
.price {
  color: var(--azure-blue);
  font-family: Loretto;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal; 
  text-align: center;
text-wrap: nowrap;
}
.available::before,
.not-available::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  margin-right: 0;
}
.available::before {
  background-image: url("/wp-content/uploads/2024/07/Check.svg");
}
.not-available::before {
  background-image: url("/wp-content/uploads/2024/07/None.svg");
}
.optional {
  color: var(--azure-blue);
  text-align: center;
  font-family: Loretto;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}
.select-button {
  display: inline-flex;
  padding: 10px 25px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 50px;
  background: linear-gradient(112deg, #3989FF 5.61%, #2CE9D5 106.17%);
  color: white;
  text-decoration: none;
  font-family: 'Loretto', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}
.select-button:hover {
  background: #f9623e;
}
.plan-column .select-button-wrapper {
  display: flex;
  justify-content: center;
  padding: 15px 10px;
}
.bonus {
  font-family: Loretto;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal; 
  background: linear-gradient(180deg, #3989FF 0%, #2CE9D5 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 10px;
}
.hover-highlight {
  background-color: var(--hover-color);
}
.pricing-table tr:first-child .hover-highlight {
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}
.pricing-table tr:last-child .hover-highlight {
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.feature-name span[data-tooltip] {
    position: relative;
}

.feature-name span[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: normal;
    max-width: 200px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.feature-name span[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .feature-name span[data-tooltip]::after {
        left: 0;
        transform: translateX(0);
        bottom: 100%;
    }
}

@media (max-width: 480px) {
    .feature-name span[data-tooltip]::after {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: auto;
        top: 10px;
        transform: none;
        max-width: calc(100% - 20px);
        width: auto;
    }
}


/* Mobile Styles */
@media (max-width: 768px) {
    .plan-name {
        display: block;
    }
    .pricing-container {
        --visible-plans: 3; /* Default, will be set by JS */
        max-width: 100%;
        margin: 0 auto;
        padding: 20px 0;
        overflow: hidden;
    }
    .plan-slider-container {
        width: 100%;
        overflow: hidden;
        padding: 0;
        box-sizing: border-box;
    }
    .plan-slider {
        display: flex;
        transition: transform 0.3s ease;
        cursor: grab;
    }
    .plan-option {
        flex: 0 0 calc(100% / var(--visible-plans));
        min-width: 169px; /* Keep the original min-width */
        padding: 20px;
        text-align: center;
        border-radius: 30px;
        transition: all 0.3s ease;
        box-sizing: border-box;
    }
    .plan-option:not(.active) {
        opacity: 0.6;
        background: var(--Light-Gray, #f0f0f0);
        transform: scale(0.95);
    }
    .plan-option.active {
        opacity: 1;
        background: rgba(143, 161, 255, 0.2);
        transform: scale(1);
    }
  .plan-option:not(.active) {
    opacity: 0.6;
    background: var(--Light-Gray, #f0f0f0);
    transform: scale(0.95);
  }
  
  .plan-option:not(.active) h2, .plan-option:not(.active) p, .plan-option:not(.active) .plan-name {
    color: #ccc;
  }
  
  .dot-navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #CCC;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .dot.active {
    background-color: var(--navy-blue);
  }
  .feature-list {
    margin-top: 30px;
    padding: 0 20px;
  }
  .feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }
  .feature-name {
    flex: 1;
    padding-right: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .feature-value {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .feature-value img {
    width: 20px;
    height: 20px;
    margin-left: 10px;
  }
  .feature-content {
    color: var(--azure-blue, #1151EE);
    font-size: 14px;
    text-align: right;
  }
  .select-button-wrapper {
    text-align: center;
    margin-top: 20px;
    padding: 0 20px;
  }
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .plan-option {
    max-width: none; /* Allow full width on small screens */
  }
  .feature-name {
    font-size: 14px;
  }
  .optional {
    font-size: 12px;
  }

    .plan-slider-container {
        max-width: 310px;
    }
}

@media (max-width: 350px) {
  .feature-name {
    font-size: 12px;
  }
  .optional {
    font-size: 10px;
  }
}

@media (max-width: 300px) {
  .feature-name {
    font-size: 10px;
  }
  .optional {
    font-size: 9px;
  }
}
.arrow-dr {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(https://lett.salientdigital-dev.my/wp-content/uploads/2025/03/atdr-1.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
    margin-bottom: -10px;
}