.plan-info {
    background-color: #eee;
    padding: 2em;
    border-radius: 1em;
    text-align: left;
    max-width: 50%;
    margin: 0 auto;
}

.all-plan-cards {
    display:flex;
}

.all-plan-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1em; /* optional: space between cards */
    align-items: stretch; /* force all items to stretch to same height */
    justify-content: center;
    margin-bottom:5em;
}

.plan-card {
    flex: 1 1 200px; /* allows responsiveness while maintaining consistent base size */
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 2em;
    border-radius: 1em;
    max-width: 400px;
}

.plan-card button {
    width: 100%;
    padding: 0.25em 0;
    border: 1px solid #000;
    border-radius: 0.5em;
    background: #000000;
    color :#ffffff;
    font-weight: 400;
}

.plan-card button:hover {
    width: 100%;
    padding: 0.25em 0;
    border: 1px solid #fff;
    border-radius: 0.5em;
    background: #ff0063;
    color :#ffffff;
}

.plan-card.current {
    background: #eaeaea;
}

.plan-card.current button {
    width: 100%;
    padding: 0.25em 0;
    border: 1px solid #000;
    border-radius: 0.5em;
    font-weight: 400;
    pointer-events:none;
}


.plan-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.plan-description,
.plan-price,
.plan-features {
    flex: 1 0 auto;
}
plan
.plan-features {
    list-style-type: none;
    padding: 0;
    margin: 1em 0;
}

.btn-upgrade {
    text-transform: Capitalize;
    margin: 0;
}

.billing-period {
    color:#aaa;
}

.price {
    font-size: xx-large;
}

.plan-name {
    color:#FF0063;
}

.plan-features {
    list-style: none;
}

.plan-features li {
    position: relative;
    margin-bottom: 0.5em;
    display: flex;
    gap: 0.5em;
}

.plan-features li::before {
    content: "";
    position: absolute;
}

.payment-status {
    border-radius: 0.25em;
    padding: 0.25em 0.5em;
    display: inline-flex;
    align-items: center;
    gap:0.5em;
    vertical-align: -webkit-baseline-middle;
    text-transform: capitalize;
}

.billing-cycle-toggle {
    display: flex;
    align-self: center;
    justify-content: center;
    margin-bottom: 1em;
}

.billing-cycle-toggle input[type="radio"] {
    display: none;
}

.billing-cycle-toggle label {
    padding: 0.5em 3em;
    cursor: pointer;
    user-select: none;
    background: #f5f5f5;
    border:1px solid #ddd;
}

.billing-cycle-toggle input[type="radio"]:checked + label {
    background: #ff0063;
    color: white;

}

.usage-remaining {
  margin: 2em auto;
  max-width: 720px;
  text-align: left;
}

.usage-bar {
  display: grid;
  gap: 0.5rem;
}

.usage-bar__labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 500;
}

.usage-bar__track {
  position: relative;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f3f3f3, #e9e9e9);
  overflow: hidden;
}

.usage-bar__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(90deg, #ff6aa0, #ff3b82);
  transition: width 600ms ease;
}

.usage-bar__caption {
  font-size: 0.85rem;
  color: #555;
}

.usage-bar__error {
  color: #c62828;
  font-weight: 600;
  margin-top: 0.5rem;
}

.checkout {
    width:50%;
    align-items:center;
    margin:auto;
    background-color:white;
}

@media (max-width: 768px) {
  .usage-remaining {
    padding: 0 1rem;
  }
  .usage-bar__caption {
    font-size: 0.8rem;
  }
  .checkout {
    width:100%;
    height:100%;
}
  
}
