.pricing-table {
    padding: 40px 0;
}
.pricing-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    padding: 40px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.pricing-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.pricing-header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}
.price {
    font-size: 72px;
    font-weight: 300;
    color: #007bff;
}
.price small, .old-price small, .discounted-price small {
    font-size: 24px;
    color: #666;
}
.price .currency, .old-price .currency, .discounted-price .currency {
    font-size: 28px; /* Adjusted to match better */
    vertical-align: top;
}
.discounted-price {
    color: red;
    font-size: 54px;
    font-weight: 300;
}
.old-price {
    font-size: 28px;
    color: #999;
    text-decoration: line-through;
}
.discounted-price sup {
    font-size: 50%;
    top: -1.2rem;
}
.features {
    text-align: left;
    margin: 20px 0;
    flex-grow: 1;
}
.features li {
    margin-bottom: 8px;
}
.features li i {
    color: green;
    margin-right: 5px;
}
.tab-content .btn-primary {
    font-size: 18px;
    padding: 12px 20px;
    margin-top: 20px;
}
.plus-plan {
    border: 2px solid green !important;
}
.business-plan {
    border: 2px solid gold !important;
}
.most-popular {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffc107;
    color: black;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
}

/* Tabs Styling - matches billing pill switch while keeping existing pricing colors */
#pricingTabs.nav-tabs {
    width: 100%;
    border-bottom: none;
    display: flex;
    justify-content: center;
    background: #e4e4e4;
    border-radius: 999px;
    padding: 4px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
#pricingTabs.nav-tabs .nav-item {
    flex: 1;
    margin-bottom: 0;
}
#pricingTabs.nav-tabs .nav-link {
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    background: transparent;
    color: #233142;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
#pricingTabs.nav-tabs .nav-link:hover,
#pricingTabs.nav-tabs .nav-link:focus {
    color: #233142;
}
#pricingTabs.nav-tabs .nav-link.active {
    background: #233142;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Upgrade Pricing Table */
/* Billing Toggle */
.billing-toggle {
    max-width: 520px;
    margin: 0 auto 30px;
    text-align: center;
}
.billing-toggle .btn-group {
    background: #f1f3f5;
    border-radius: 999px;
    padding: 4px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.billing-toggle .btn {
    border-radius: 999px !important;
    border: none;
    color: #233142;
    font-weight: 600;
    padding: 9px 18px;
    background: transparent;
}
.billing-toggle .btn.active {
    background: #233142 !important;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.billing-toggle .billing-save {
    display: inline-block;
    margin-left: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #28a745;
}
.billing-toggle .btn.active .billing-save {
    color: #ffc107;
}
.billing-helper {
    font-size: 14px;
    color: #707070;
    margin: 10px 0 0;
}
.billing-caption {
    min-height: 24px;
    color: #707070;
    font-size: 15px;
    margin-top: -8px;
    margin-bottom: 15px;
}
.billing-price .price-amount {
    display: inline-block;
}
.billing-price .price-cents {
    font-size: 50%;
    top: -1.2rem;
}
.billing-old-price.d-none {
    display: none !important;
}

.upgrade-pricing-table {
  max-width: 1280px;
}

.upgrade-pricing-table .pricing-card {
  position: relative;
}

.upgrade-plan-actions {
  margin: 0 0 1rem 0;
  padding: .85rem;
  border-radius: .75rem;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 0, 0, .08);
}

.upgrade-plan-actions .btn {
  margin-bottom: .45rem;
}

.upgrade-plan-actions .btn:last-child {
  margin-bottom: 0;
}

.upgrade-plan-actions small {
  display: block;
  line-height: 1.25;
}

.current-plan-badge,
.included-plan-badge {
  display: inline-block;
  padding: .35rem .65rem;
  border-radius: 999px;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.current-plan-badge {
  background: #1cc88a;
}

.included-plan-badge {
  background: #858796;
}

.upgrade-note-card {
  border-left: 4px solid #f6c23e;
  background: #fff;
  border-radius: .5rem;
}

.upgrade-support-copy {
  border-top: 1px solid #e3e6f0;
}