.sub-plan {
  padding: 0;
  border-radius: 10px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sub-plan:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
  transition: all 0.3s ease;
}

.sub-plan .card-header,
.sub-plan .card-footer {
  padding: 1rem;
}

.sub-plan .card-body {
  padding: 0 2rem !important;
}

.sub-plan-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0;
}

.sub-fetaures-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.sub-feature {
  display: block;
  padding: 0.35rem 0;
  color: #495057;
  position: relative;
  padding-left: 1.5rem;
}

.sub-feature::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #198754;
  font-weight: bold;
}

.spin-loader {
  vertical-align: middle;
}

.subscription-plans-wrap .badge.status-badge {
  position: absolute;
  top: 36px;
  right: 36px;
}

.badge.status-badge {
  padding: 10px 12px;
  border-radius: 200px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(74, 58, 255, 0.15);
}

.badge.badge-active {
  background-color: #e0f2e4 !important;
  color: #28a745 !important;
}
.badge.badge-warning {
  background-color: #fbf3d2 !important;
  color: #e7b900 !important;
}
.badge.badge-danger {
  background-color: #f7e5e6 !important;
  color: #dc3545 !important;
}

.plan-header {
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.plan-name,
.sub-plan-name {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.sub-header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-header-section h6 {
  margin: 0;
}

.subscription-modal-body .sub_container {
  padding: 20px 0;
}

.card.sub-plan .btn {
  border: none;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.95rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-green {
  background-color: #e9f9f0;
  color: #1c4634;
}

.card-blue {
  background-color: #f0f6ff;
  color: #435ebe;
}

.card-purple {
  background-color: #f1ecf9;
  color: #3d2e54;
}

.card-pink {
  background-color: #fff1f6;
  color: #5d1c39;
}

.card-green .plan-header {
  background: linear-gradient(135deg, #46c162, #79d88b);
}

.card-blue .plan-header {
  background: linear-gradient(135deg, #7085d1, #98a8ec);
}

.card-purple .plan-header {
  background: linear-gradient(135deg, #8a5fd8, #b39ddb);
}

.card-pink .plan-header {
  background: linear-gradient(135deg, #fb77b4, #f7c6d3);
}

.card-green .btn {
  background: linear-gradient(135deg, #34d058, #28a745);
}

.card-green .btn:hover {
  background: linear-gradient(135deg, #28a745, #1f883d);
}

.card-purple .btn {
  background: linear-gradient(135deg, #9f7aea, #6b46c1);
}

.card-purple .btn:hover {
  background: linear-gradient(135deg, #6b46c1, #553c9a);
}

.card-pink .btn {
  background: linear-gradient(135deg, #ff85b3, #ff4f81);
}

.card-pink .btn:hover {
  background: linear-gradient(135deg, #ff4f81, #e6397e);
}

.invoice-summary span {
  font-size: 14px;
  font-weight: 600;
}

.subscription-modal-body table td {
  font-size: 0.89rem;
}

.sub-payment-element-sec {
  border-radius: 0.25rem !important;
  background-color: #f8f9fa !important;
  padding: 1rem !important;
  border: 1px solid #dee2e6 !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.highlight-link {
  font-weight: 600;
  text-decoration: underline !important;
}

.firm-details {
  font-weight: normal;
  font-size: 14px;
  align-items: center;
}

.firm-details .detail-row {
  display: flex;
}

.firm-details .label {
  font-weight: bold;
  width: 90px;
  color: #333;
}

table#activeUsersTbl tr.dtrg-group th {
  background-color: #f3f3f3;
}

.rowgroup_action_wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 22px;
}

.child .tbl_action_btn_wrap {
  align-items: center;
  justify-content: start;
}

.invoice-header {
  font-size: 14px;
}

.invoice-header p {
  margin-bottom: 5px;
}

.firm-details p {
  padding-bottom: 0;
  margin-bottom: 0;
}

/* .subscription-modal-body table .dtrg-group th {
  padding-top: 0;
}

.subscription-modal-body .blank_row {
  height: 1rem;
  background-color: #7085d11c;
  padding-bottom: .5rem;
  border: none;
} */

/* Latest subscription design changes */
.price-card {
  display: flex;
  flex-direction: column;
  background: #f5f5f6;
  padding: 40px 35px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  transition: all 0.3s ease;
}

.price-card:before {
  position: absolute;
  content: "";
  top: 0;
  right: -35px;
  width: 88px;
  height: 88px;
  background: #909fd7;
  opacity: 0.2;
  border-radius: 8px;
  transform: rotate(45deg);
}

.price-card:after {
  position: absolute;
  content: "";
  top: 30px;
  right: -35px;
  width: 88px;
  height: 88px;
  background: #909fd7;
  opacity: 0.2;
  border-radius: 8px;
  transform: rotate(45deg);
}

.price-card h2 {
  font-size: 26px;
  font-weight: 600;
}

.price-card.featured {
  background: #fff;
  border: 1px solid #ebebeb;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

p.price span {
  display: inline-block;
  padding: 45px 15px 50px;
  padding-right: 0;
  font-size: 50px;
  font-weight: 600;
  color: #909fd7;
  position: relative;
}

p.price span:before {
  position: absolute;
  content: "$";
  font-size: 16px;
  top: 25px;
  font-weight: 300;
  left: 0;
}

.price-card ul {
  margin-bottom: 0;
  padding: 40px 0;
}

.pricing-offers li {
  list-style-type: none;
  padding: 0 0 10px;
  line-height: 18px;
}

.price-card-body {
  flex: 1 1 auto;
}

.price-card-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}

.invoice-box h6 {
  font-weight: 600;
  margin-bottom: 0;
}

/* .subscription-header-details {
  border-radius: 0.25rem !important;
  background-color: #f8f9fa !important;
  padding: 1rem !important;
  border: 1px solid #dee2e6 !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
} */

/* .subscription-header-details .borderbox {
  border: 1px solid #d1d1d1;
  font-size: 0;
}
.subscription-header-details .borderbox ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
}
.subscription-header-details .borderbox ul li {
  width: 50%;
  display: inline-flex;
}

.subscription-header-details .details-sec-1 {
  display: flex;
  justify-content: space-between;
  padding-bottom: 5px;
  align-items: baseline;
}

.subscription-header-details .borderbox ul li span.val,
.subscription-header-details .borderbox ul li span.label {
  padding: 5px;
  display: inline-block;
  border: 1px solid #d1d1d1;
  border-collapse: collapse;
  font-size: 13px;
} */

.subscription-header-details {
  background: #fff;
  padding: 10px 15px;
  border-radius: 4px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 10px;
}

.invoice-box .details-sec-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
}

.invoice-box .details-sec-1 h6 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #2c3e50;
}

.subscription-header-details .borderbox {
  border: none;
}

.subscription-header-details .borderbox ul li .val,
.subscription-header-details .borderbox ul li .label {
  border: none;
  padding: 5px;
  font-size: 14px;
  width: auto;
}

.subscription-modal-body #modal-errors {
  padding: 10px 0 0 0;
}

.plan-section {
  padding-bottom: 10px;
}

/* .pricing-section {
  padding: 1.5rem 0;
} */

/* Pricing Cards */
.pricing-card {
  background: white;
  border: 1px solid #f1f2f9;
  border-radius: 32px;
  padding: 36px;
  box-shadow: 0 5px 30px rgba(25, 33, 61, 0.06);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: linear-gradient(188.77deg, #d2ceff -65.71%, #ffffff 27.74%);
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: 36px;
  right: 36px;
  background: #656ab6;
  color: white;
  padding: 10px 12px;
  border-radius: 200px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(74, 58, 255, 0.15);
}

.pricing-header {
  text-align: left;
  margin-bottom: 35px;
}

.pricing-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 28px;
  color: var(--primary-color);
  font-size: 24px;
}

.pricing-icon img {
  width: 100%;
  height: 100%;
}

.pricing-header h4 {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 16px;
}

.pricing-header p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #6f6c8f;
  line-height: 1.5;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-item span {
  font-size: 16px;
  color: #6f6c8f;
}

.cmn-pricing-btn {
  margin-top: auto;
}

.main-pricing-btn {
  font-weight: 500;
  background: linear-gradient(160.41deg, #555aac -5.15%, #7579c0 87.35%);
  border: 0.5px solid var(--Colors-Primary-HUE-Purple-300, rgba(210, 206, 255, 1));
  width: 100%;
  color: #fff;
  min-height: 44px;
  border-radius: 12px;
  transition: background 0.4s ease-in-out;
}

.main-pricing-btn:hover,
.main-pricing-btn:active,
.main-pricing-btn:focus-visible {
  background: linear-gradient(340.41deg, #555aac -5.15%, #7579c0 87.35%);
  color: #fff !important;
}

.default-choose-btn {
  font-weight: 500;
  color: #000;
  width: 100%;
  padding: 0;
  background: linear-gradient(151.44deg, #ffffff -62.65%, #fbfbfe 83.01%);
  border-radius: 12px;
  border: 1px solid rgba(217, 219, 233, 1);
  box-shadow: 0px 4px 6px 0px rgba(255, 255, 255, 0.4) inset,
    0px -2px 2px 0px rgba(27, 35, 85, 0.07) inset,
    0px 3px 6px 0px rgba(7, 0, 110, 0.03);
  min-height: 44px;
}

.default-choose-btn:hover {
  background: linear-gradient(151.44deg, #ffffff -62.65%, #fbfbfe 83.01%);
  border: 1px solid rgba(217, 219, 233, 1);
}

.default-choose-btn:disabled {
  background: #ccc;
  border-color: #f7f7f7;
  box-shadow: none;
  padding: 4px 10px;
}

.pricing-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1399px) {
  .pricing-card {
    padding: 28px 20px;
  }

  .default-choose-btn {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .pricing-card.featured {
    transform: none;
  }

  .pricing-icon {
    width: 46px;
    height: 46px;
  }
}
