/*VPS Hosting Domain Finder Area End Here*/
/* =====================================================
   PRICING AREA – BASE
   Future note:
   - Keep all pricing-related styles inside this block
   - Avoid inline styles from JS (use utility classes)
===================================================== */
.pricing-section {
  padding:40px 0;
  position: relative;
}
.pricing-section h2 {color:var(--ht-primary-dark);font-weight:700;}
.pricing-section .hidden {
  display: none !important;
}

/* =====================================================
   PRICING CARD WRAPPER
===================================================== */
.pricing-section .hosting-plan-wrapper {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #e8e8e8;
  padding: 28px 24px 16px;
  position: relative;
  /*height: 100%;*/
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s;
}

.pricing-section .hosting-plan-wrapper p {
  font-size: 13.5px;
  color: #6b7280;
  margin: 0 0 7px;
}

/* Hover scale (desktop) */
.pricing-section .hosting-plan-wrapper:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.09);
}

/* =====================================================
   POPULAR / FEATURED PLAN
   Future note:
   - JS should toggle `.popular-plan`
===================================================== */
.pricing-section .hosting-plan-wrapper.popular-plan {
  border: 2px solid #6c2bd9;
  border-radius: 16px 16px 16px 16px;
  padding-top: 28px;
}

/* Best selling badge */
.pricing-section .hosting-plan-wrapper.popular-plan .best-selling {
  background: #6c2bd9;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-align: center;
  padding: 8px 0;
  border-radius: 16px;
  text-transform: uppercase;
  margin-top: -42px;
  margin-bottom: 0px;
  position: absolute;
  align-items: center;
  display: flex;
  top: 24px;
  left: 35%;
  padding: 8px 15px;
  z-index: 99;
}

/* =====================================================
   PLAN TITLE & PRICE
===================================================== */
.pricing-section .hosting-plan-wrapper .plan-title {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 4px;
  line-height: 32px;
}
.pricing-section .hosting-plan-wrapper .plan-title.big{font-size: 22px;}
.pricing-section .hosting-plan-wrapper .hosting-plan-price {
  position: relative;
  margin:0px 0 5px;
  text-align: left;
}

/* Duration label (updated via JS) */
.plan-duration-disply {
  margin-top:0px;
  padding-bottom:0px;
  font-size:16px;
  font-weight: 400;
  color: #475254;
  /*text-align: center;*/
}
.plan-duration-disply strong {
	color:var(--ht-primary);
}
/* Main price */
.pricing-section .hosting-plan-wrapper .hosting-plan-price span {
  font-size:38px;
  font-weight: 700;
  color: #15222E;
  padding-bottom: 16px;
}

.pricing-section .hosting-plan-wrapper .hosting-plan-price small,
.pricing-section .hosting-plan-wrapper .hosting-plan-price i {
  font-size: 18px;
  font-weight: 500;
  color: #15222E;
  font-style: normal;
}
.pricing-section .hosting-plan-wrapper .hosting-plan-price i{font-size:38px; font-weight: 700;}
/* =====================================================
   DISCOUNT / ACTUAL PRICE BLOCK
   Future note:
   - Toggle `.no-discount` when no offer exists
===================================================== */
.actual-price-save {
  display: flex !important; /* overrides inline JS styles */
  /*justify-content: center;*/
  align-items: center;
  gap: 10px;
  margin-top:0px;
}

.hosting-plan-wrapper.no-discount .actual-price-save {
  display: none;
}

.actual-price {
 font-size:18px;
  color: #9ca3af;
  text-decoration: line-through;
  display: block;
  margin-bottom: 2px;
}



/* Discount badge */
.save-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding:5px 9px;
  font-size:14px;
  font-weight: 700;
  background:var(--ht-secondary);
  border-radius: 10px;
  color:var(--ht-white);
  white-space: nowrap;
}
/* Hide discount elements when 1 Month selected */
.no-discount .save-badge,
.no-discount .actual-price-save{
    display:none !important;
}
.hidden{
    display:none !important;
}
/* =====================================================
   FEATURE LIST
===================================================== */
.pricing-section .hosting-plan-wrapper .hosting-plan-list {
  padding: 5px 0;
}

.pricing-section .hosting-plan-wrapper .hosting-plan-list ul {
  list-style: none;
  margin: 0 0 15px;
  padding: 0;
  text-align-last: left;
}

.pricing-section .hosting-plan-wrapper .hosting-plan-list ul li {
  margin: 15px 0;
  color: #15222E;
  overflow: visible;
}

.pricing-section .hosting-plan-wrapper .hosting-plan-list ul li::before {
  font-family: "Font Awesome 7 Pro";
  content: '\f058';
  margin: 0 10px 0 3px;
  font-size: 15px;
  font-weight: 500;
  color: #41C281;
}

/* Tooltip text */
.feature-tooltip {
  display: inline-block;
  cursor: help;
  border-bottom: 2px dotted #cbc8d2;
  background: linear-gradient(0deg, #67ff7f6b 0%, rgba(253,187,45,0) 16%);
  padding-bottom: 1px;
}
/* ── Lock-in bar ── */
    .lock-bar {
      background: #f0fdf4;
      border: 1px solid #d1fae5;
      border-radius: 8px;
      color: #15803d;
      font-size: 12.5px;
      font-weight: 600;
      padding: 7px 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      margin:18px 0px;
    }
    .lock-bar svg { flex-shrink: 0; }
/* =====================================================
   CTA BUTTON
===================================================== */
.pricing-section .hosting-plan-wrapper .btn {
  display: block;
  width: 100%;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  padding: 12px;
  border: 2px solid var(--ht-primary);
  background: transparent;
  color: var(--ht-primary);
  transition: background .2s, color .2s;
}

.pricing-section .hosting-plan-wrapper .btn:hover {
  background: var(--ht-primary);
  color: var(--ht-white);
}

.pricing-section .hosting-plan-wrapper .btn.popular-plan {
  background: var(--ht-primary);
  color: var(--ht-white);
}

/* =====================================================
   TAB SWITCHER (PLAN DURATION)
   Future note:
   - Controlled via Bootstrap + JS
===================================================== */
.hosting-paln-tab {
  background: var(--bs-white);
  max-width: fit-content;
  margin: 5px auto 25px;
  border-radius: 20px;
  user-select: none;
}
.hosting-paln-tab.inner-pages {margin-bottom:15px;}
.pricing-section .nav-tabs {
  border-bottom: none;
}

.pricing-section .nav-tabs .nav-link {
  margin:7px;
  padding:12px 21px;
  font-size:15px;
  font-weight: 500;
  border-radius: 20px;
  background:var(--ht-primary-dark);
  text-transform: uppercase;
  border: none;
  color: var(--ht-white);
}

.pricing-section .nav-tabs .nav-link.active {
  background: var(--ht-primary);
  color: var(--ht-white);
}

/* =====================================================
   RESPONSIVE FIXES
===================================================== */
@media (max-width: 767px) {
  .pricing-section .hosting-plan-wrapper .btn {
    height: 40px;
    padding: 8px 25px;
  }
}

@media (max-width: 575px) {
	.pricing-section {padding-top:5px;}
  .pricing-section .nav-tabs .nav-link {
    padding:5px 12px;
    font-size: 12px;
    margin:0 5px 7px 5px;
  }
  .hosting-paln-tab.inner-pages {
  	margin-bottom: 0px;
  }	
}

.feature-tooltip {
  display: inline-flex;
  align-items: center;
  cursor: help;
  color: inherit;
  text-decoration: none;
  border-bottom: 2px dotted #cbc8d2;
  background: linear-gradient( 0deg, rgba(103, 255, 127, 0.4) 0%, rgba(253, 187, 45, 0) 20% );
  padding: 0 4px;              /* minimal padding like image 1 */
}

.feature-tooltip .far.fa-question-circle {
  position: absolute;
  right:18px;
  font-size: 14px;
  color: #15222E;
  float: right;
  line-height: 24px;
}

.pricing-section .form-select{
	border: 1px solid #d8dae0;
  border-radius: 5px;
  padding: 13px 18px;
  font-size: 16px;
  color: #15222e;
}
.pricing-section .form-control:focus {outline: none;box-shadow: none;border-color:var(--ht-primary); /* red primary */}
.pricing-section .form-control:focus, .form-select:focus {box-shadow: none;border-color:var(--ht-primary);}
	
.pricing-modal .modal-header{padding:12px 18px;}
.pricing-modal .modal-footer{padding-bottom:0px;}

.pricing-modal input{
  border-radius: 5px;
  background: transparent;
  height: 45px;
	font-size: 15px;
}
/* Input padding to show icon */
.pricing-modal input.is-valid,
.pricing-modal input.is-invalid {
    padding-right: 2.5rem;
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 1rem;
}
/* Green checkmark */
.pricing-modal input.is-valid {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' xml:space='preserve'%3E%3Cpath d='M31.535 72.231C39.849 59.45 70.43 26.55 95.79 9.457c1.077-.726 2.293.7 1.4 1.642-24.092 25.444-49.845 54.223-64.635 79.109-.412.693-1.406.717-1.837.035C23.276 78.455 16.893 61.51 3.211 56.316c-1.016-.386-.919-1.823.138-2.077 13.111-3.16 19.255 8.054 28.186 17.99z' fill='%23198754'/%3E%3C/svg%3E");
}

/* Red exclamation */
.pricing-modal input.is-invalid {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' xml:space='preserve'%3E%3Cg fill='%23dc3545'%3E%3Cpath d='M58.519 58.599c-.56.54-1.45.53-2.01 0L30 33.96 3.491 58.599c-.56.53-1.45.54-2.01 0-.61-.56-.64-1.49-.09-2.1L25.9 30.14 2.361 8.27c-4.05-4.03 1.85-9.97 5.91-5.91L30 25.729 51.729 2.36c4.06-4.06 9.96 1.88 5.91 5.91L34.1 30.14l24.509 26.359c.55.61.52 1.54-.09 2.1'/%3E%3Cpath d='M10.788 14.494a1 1 0 0 1-.7-.286L3.207 7.461c-.618-.529-1.001-1.362-1.001-2.242 0-.39.073-.769.218-1.125a1 1 0 1 1 1.854.749 1.01 1.01 0 0 0 .283 1.145l6.929 6.791a1 1 0 0 1-.7 1.714z'/%3E%3C/g%3E%3C/svg%3E");
}

.pricing-modal .modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ht-base);
}
.pricing-modal .btn-modal {
    position: relative;
    display: inline-block;
    background:var(--ht-primary-dark);
    border-radius: 10px;
    font-size: 16px;
    font-weight:700;
    line-height: 1em;
    text-transform: uppercase;
    color: var(--ht-white);
    padding:16px 36px 16px 36px;
    overflow: hidden;
    border: none;
    transition: color 0.4s ease-in-out;
    z-index: 0; /* base stacking context */
}
/* hover background */
.pricing-modal .btn-modal::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    background:var(--ht-dark);
	color: var(--ht-white);
    transition: width 0.4s ease-in-out;
    z-index: -1; /* below text & arrow */
}
.pricing-modal .btn-modal:hover::after,
.pricing-modal .btn-modal:focus-visible::after {width: 100%;left: 0;right: auto;}
/* Remove focus border / outline */
.pricing-modal input:focus,
.pricing-modal input:focus-visible {
    outline: none;
    box-shadow: none;
    border-color: transparent;
}
.pricing-modal .form-control:focus {
    outline: 0;
    box-shadow: none !important;
    border-color: var(--ht-primary);
}
.pricing-modal .btn-close {
    transform: scale(0.7);
}



.duration-select-wrapper{
    position:relative;
    display:flex;
    align-items:center;
}

.best-value-label{
    margin-left:auto;   /* push to right end */
    font-size:13px;
    font-weight:600;
    color:#28a745;      /* change any color */
}

.hidden-best-value{
    display:none;
}



/* =====================================================
   PRICING AREA – END
===================================================== */	