html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Pricing Toggle Switch */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.toggle-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .toggle-label {
        font-size: 12px;
    }
    
    .pricing-toggle {
        gap: 10px;
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #28a745;
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* Pricing Cards Equal Height */
.pricing-cards .col-lg-4 {
    display: flex;
    margin-bottom: 30px;
}

.pricing-cards .box {
    width: 100%;
    min-height: 450px;
    justify-content: space-between;
}

.pricing-cards .box.featured {
    transform: scale(1.1);
    z-index: 2;
}

/* Pricing Amount Styling */
.pricing-amount {
    margin: 20px 0;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
}

.price-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.currency-symbol {
    font-size: 1.2em;
    margin-right: 2px;
    font-weight: bold;
}

.price {
    font-size: 2.2em;
    font-weight: bold;
    color: #333;
}

.billing-period {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.original-price {
    color: #999;
    font-size: 0.8em;
    font-weight: normal;
}

.original-price small {
    font-size: 0.9em;
}

/* Free package special styling */
.no-credit-card {
    font-weight: bold;
    color: #28a745;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .pricing-cards .box.featured {
        transform: none;
    }
    
    .pricing-cards .col-lg-4 {
        margin-bottom: 20px;
    }
}