/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */
/*Data Centers*/
.maping .datacenters.finland {top: 32%;left: 52%;}
.maping .datacenters.germany {top: 39%;left: 50%;}
.maping .datacenters.virginia {top: 47%;left: 25%;}
.maping .datacenters.oregan {top: 42%;left: 12%;}
.maping .datacenters.sweden {top: 35%;left: 50%;}
/*Data Centers*/

.tooltip-inner {
    max-width: 300px;
    
    }

.custom-badge-red {
    background-color: #ff0066;
    color: white;
}
.custom-badge-green {
    background-color: hsl(121, 86%, 63%);
    color: white;
}

.custom-badge-lilac {
    background-color: #cc9cf5;
    color: white;
}

.custom-badge-blue {
    background-color: #4343f0;
    color: white;   
}

.custom-badge-yellow {
    background-color: #f0d643;
    color: white;   
}
.custom-badge-yellowb {
    background-color: #f0d643;
    color: #000000;   
}

table#maintable td:first-child {
   /* width: 200px;  */
    white-space: nowrap;
}

    vertical-align: middle;
.indented-drive {
    display: block;
    margin-left: 58px;
}


ul {
    list-style-type: circle; 
  }
  
  ul.custom-bullets li {
    list-style-type: square; 
  }

  .category-tabs {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    background-color: #f7f8fc;
    border-bottom: 2px solid #ddd;
}

.tab {
    text-align: center;
    cursor: pointer;
    flex: 1;
    padding: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tab img {
    width: 26px;
    height: 26px;
    margin-bottom: 5px;
}

.tab span {
    font-size: 14px;
    font-weight: bold;
}

.tab:hover {
    color: #55bde5;
}

.tab.active {
    background-color: #55bde5;
    color: white;
    border-radius: 10px;
}

.tab.active img {
    filter: brightness(0) invert(1);  
}

@media (max-width: 768px) {
    .category-tabs {
        justify-content: flex-start;
        padding: 8px;
        overflow-x: auto;          
        white-space: nowrap;      
    }

    .tab {
        flex: 0 0 auto;            
        margin: 0 8px;
        padding: 10px 5px;
    }

    .tab img {
        width: 20px;
        height: 20px;
    }

    .tab span {
        font-size: 12px;
    }
}

i.fas.fa-times.seccolor {
    color: red !important; 
}

i.fas.fa-check.seccolor {
    color: #55bde5 !important; 
}


.lang.checked {
    background-color: #fdd700  !important;
    color: black;
}

.toggle-light-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background-color: #222; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 10px;
}

.toggle-light-btn .icon {
    font-size: 18px; 
    color: #ffeb3b;
    transition: color 0.3s ease, transform 0.2s ease;
}

.toggle-light-btn:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: scale(1.1); 
}

body.dark-mode .toggle-light-btn {
    background-color: #222; 
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .toggle-light-btn .icon {
    color: #ffeb3b; 
}
.lang-button {
    background-color: #fdd700 !important;
    color: black;
}

.tlds-container {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    margin-top: 10px;
}
.btn-toggle {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    margin-top: 40px;
}
.btn-toggle:hover {
    transform: scale(1.05);
}

#slider .col-lg-3 {
    margin-right: 25px; /* Adjust as needed */
  }

  .price.slider {
    font-size: 28px; /* Adjust to match original size */
    font-weight: bold;
    color: #333; /* Darker color for visibility */
  }
  
  .menu.badge.featl {
    font-size: 14px;
    padding: 5px 10px;
    margin-top: 3px;

    position: absolute;
    left: -1px;  /* Move it to the left */
    border-radius: 3px 15px 15px 3px; /* Adjust rounded corners for left alignment */
}

.domainp {
    font-size: 36px; /* Increase size */
    font-weight: bold;
  }
  .domainp sup {
    font-size: 20px; /* Keep currency smaller */
    top: -.4em


  }

  .original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 5px;
    margin-left: 25px; /* Pushes it away from the badge */
}

/* Hosting table width */
/* ===== FIX: stop column width jumping when filtering tabs ===== */

/* 1) Let the first column wrap (THIS is the key) */
#maintable td:first-child,
#maintable th:first-child {
  white-space: normal !important;   /* override nowrap */
}

/* optional: if you want nicer wrapping */
#maintable td:first-child .title-table {
  white-space: normal !important;
  line-height: 1.25;
}

/* 2) Force fixed table layout so widths are stable */
#maintable {
  width: 100% !important;
  table-layout: fixed !important;
}

/* 3) Lock column widths (4 columns total) */
#maintable th:nth-child(1),
#maintable td:nth-child(1) { width: 30% !important; }

#maintable th:nth-child(2),
#maintable td:nth-child(2),
#maintable th:nth-child(3),
#maintable td:nth-child(3),
#maintable th:nth-child(4),
#maintable td:nth-child(4) { width: 23.333% !important; }

/* 4) Prevent content from forcing reflow */
#maintable th,
#maintable td {
  overflow-wrap: anywhere;
}

/* Pricing table responsive */
/* ===== Mobile fix: prevent word breaking & allow horizontal scroll ===== */
@media (max-width: 768px) {

  /* Allow horizontal scrolling */
  #table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #maintable {
    min-width: 900px; /* forces scroll instead of squeezing */
  }

  /* Fix ugly word-breaking */
  #maintable th,
  #maintable td {
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  /* Fix buttons */
  #maintable .btn {
    writing-mode: horizontal-tb;
    white-space: nowrap;
  }
}
@media (max-width: 768px) {
  .pricing .price {
    font-size: 26px;
  }

  .pricing .title {
    font-size: 18px;
  }
}

/* ===== Fix sticky cloned header (#clone) width mismatch ===== */
@media (min-width: 769px) {

  /* Make the clone behave like the real table */
  #clone table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    margin: 0 !important;
  }

  /* IMPORTANT: align clone with the Bootstrap container padding */
  #clone {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box;
    background: transparent !important; /* remove “gray bar” effect around it */
  }

  /* Force clone cells to match table cells */
  #clone th, #clone td {
    box-sizing: border-box;
    vertical-align: top;
  }

  /* Lock same column widths as maintable (adjust % to what you use now) */
  #clone th:nth-child(1), #clone td:nth-child(1) { width: 30% !important; }

  #clone th:nth-child(2), #clone td:nth-child(2),
  #clone th:nth-child(3), #clone td:nth-child(3),
  #clone th:nth-child(4), #clone td:nth-child(4) { width: 23.333% !important; }

  /* Optional: ensure clone header background stays white */
  #clone tr.thead-clone th {
    background-color: #f7f8fc !important;
  }
}

/* Sticky pricing header – DARK MODE */
body.dark-mode #clone tr.thead-clone th,
body.dark-mode #maintable thead th {
    background-color: #121e25 !important; /* solid dark */
    color: #ffffff !important;
}


/* ===== Fix first column padding alignment ===== */
.best-plans .table td:first-child,
.best-plans .table th:first-child {
    padding-left: 20px !important;
}

/* ===== Billing Switch Only ===== */

.billing-switch {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* ===== LABEL STYLING ===== */
.billing-switch span {
    font-weight: 700 !important;
    color: #333 !important;
    transition: 0.3s ease;
}

/* Dark mode fix */
body.dark-mode .billing-switch span {
    color: #ffffff !important;
}


/* ===== SWITCH CONTAINER ===== */
.billing-switch .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.billing-switch .switch input {
    display: none;
}

/* ===== SLIDER ===== */
.billing-switch .slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 34px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .4s;
}

.billing-switch .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

/* Active state */
.billing-switch input:checked + .slider {
    background-color: #fdd700;
}

.billing-switch input:checked + .slider:before {
    transform: translateX(24px);
}

/* ===============================
   Start Business highlight from "Web Space" row downward
   Column 4 only
   =============================== */

/* First resources row + everything after it */
#maintable tr[data-category="resources"]:first-of-type td:nth-child(4),
#maintable tr[data-category="resources"]:first-of-type ~ tr td:nth-child(4),
#clone tr[data-category="resources"]:first-of-type td:nth-child(4),
#clone tr[data-category="resources"]:first-of-type ~ tr td:nth-child(4) {
  background-color: #e9f7ef !important;

}

/* Dark mode */
body.dark-mode #maintable tr[data-category="resources"]:first-of-type td:nth-child(4),
body.dark-mode #maintable tr[data-category="resources"]:first-of-type ~ tr td:nth-child(4),
body.dark-mode #clone tr[data-category="resources"]:first-of-type td:nth-child(4),
body.dark-mode #clone tr[data-category="resources"]:first-of-type ~ tr td:nth-child(4) {
  background-color: #163326 !important;
}

/* =====================================================
   BEST VALUE (Business) column
   Starts from first "resources" row to end of table
   Works for ALL pricing tables using #maintable + #clone
   Column = 4
   ===================================================== */

/* Desktop + mobile */
#maintable tr[data-category="resources"]:first-of-type td:nth-child(4),
#maintable tr[data-category="resources"]:first-of-type ~ tr td:nth-child(4),
#clone tr[data-category="resources"]:first-of-type td:nth-child(4),
#clone tr[data-category="resources"]:first-of-type ~ tr td:nth-child(4) {
  background-color: #e9f7ef !important;
}

/* Dark mode */
body.dark-mode #maintable tr[data-category="resources"]:first-of-type td:nth-child(4),
body.dark-mode #maintable tr[data-category="resources"]:first-of-type ~ tr td:nth-child(4),
body.dark-mode #clone tr[data-category="resources"]:first-of-type td:nth-child(4),
body.dark-mode #clone tr[data-category="resources"]:first-of-type ~ tr td:nth-child(4) {
  background-color: #163326 !important;
}

.save-badge { display: none; }
body.is-yearly .save-badge { display: inline-block; }

.price-period {
  font-size: 0.6em;     
  font-weight: 500;     
  opacity: 0.9;        
  margin-left: 4px;    
  vertical-align: baseline;
}