input[type="radio"][name="plan"] {
  display: none;
}

.radio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.radio-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

input[type="radio"][name="plan"]:checked + label {
  box-shadow: 0 6px 12px rgba(0, 128, 0, 0.4);
  border: 2px solid #198754;
}

input[type="radio"][name="plan"]:checked + label .select-btn {
  background-color: #198754;
  color: white;
}

.card-header {
  background-color: #3A0BA8;
  color: white;
  font-family: IRANYekan;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.875rem;
  padding: 1rem 0.5rem;
}

.card-header .payDetail {
  font-family: IRANYekan;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25rem;
  text-align: center;
  color: azure;
  padding: 0.5rem 0;
  margin: 0.5rem 0;
}

.card-body.payment {
  padding: 1rem 0.25rem;
  flex-grow: 1;
}

.payTextTitle {
  font-family: IRANYekan;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.875rem;
  padding: 1rem 0.5rem;
  text-align: center;
  color: #18014B;
}
.payTextTitle del{
  font-size: 1rem;
  font-weight: 600;
  color: #18014bcc;
}

.payText {
  font-family: IRANYekan;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.125rem;
  padding: 1rem 0.5rem;
  color: #4E4E4E;
}

.payTextRow {
  padding: 0.75rem 0.25rem;
  line-height: 1.875rem;
  border-bottom: solid 1px #F1F3F1;
}

.select-btn {
  background-color: #6c757d;
  color: white;
  transition: background-color 0.3s;
}

.select-btn:hover {
  background-color: #6c757d;
  color: white;
  transition: background-color 0.3s;
}

.card-option.selected .select-btn {
  background-color: #198754;
  color: white;
}


.ribbon {
  width: 100px;
  height: 100px;
  overflow: hidden;
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  z-index: 10;
}

.ribbon span {
  position: absolute;
  display: block;
  width: 150px;
  padding: 5px 0;
  background-color: #CEBEF3; /* red */
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  font-weight: bold;
  transform: rotate(-45deg);
  transform-origin: top left;
  top: 60px;
  left: -30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}