:root {
    --primary: #ff9400;
    --primary-light: #ffc273;
    --cta: #007bff;
  }
  .hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
      url("https://www.aulacat.cat/templates/aulafor/images/background-curso.jpg");
    background-size: cover;
    background-position: center;
  }
  .text-black {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-black-rgb), var(--bs-text-opacity)) !important;
  }
  .feature-card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
  }
  .cta-button {
    animation: pulse 2s infinite;
  }
  .ultimas-plazas {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    animation: blink 1.5s infinite;
  }
  .custom-primary {
    background-color: var(--primary);
  }
  .custom-primary-light {
    background-color: var(--primary-light);
  }
  .custom-cta {
    background-color: var(--cta);
  }
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes blink {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 0.7;
    }
    100% {
      opacity: 1;
    }
  }

 
  .discounted-price {
    display: none;
  }
  .text-black {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-black-rgb), var(--bs-text-opacity)) !important;
  }
  @media (min-width: 768px) {
    .p-md-4 {
      padding: 1.5rem !important;
    }
  }
  .fw-bold {
    font-weight: 700 !important;
  }


  @media (min-width: 992px) {
    .col-lg-8 {
      flex: 0 0 auto;
      width: 66.66666667%;
    }
  }
  @media (min-width: 768px) {
    .col-md-8 {
      flex: 0 0 auto;
      width: 66.66666667%;
    }
  }
  @media (min-width: 576px) {
    .offset-sm-2 {
      margin-left: 16.66666667%;
    }
  }
  *,
  ::after,
  ::before {
    box-sizing: border-box;
  }
  .page-template-page-nueva-alta #botonPagar {
    width: 100%;
    font-weight: 600;
    color: #fff;
    background-color: #2459a8;
    padding: 5px 20px;
    border-radius: 1em;
  }
  div {
    display: block;
    unicode-bidi: isolate;
  }

  /* Payment box styles to match the provided design */
  .payment-box {
    border: 2px solid #d1d1d1;
    border-radius: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    
box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.171) 0px 3px 6px;
    cursor: pointer;
  }

  .payment-box h4 {
    background-color: #007bff;
    color: #ffffff;
    border-radius: 8px;
    padding: 0.5em;
    text-align: center;
    font-weight: bold;
  }

  .payment-box p {
 
    text-align: center;
  }

  .payment-select-btn {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 15px;
    padding: 0.5em 1em;
    transition: background-color 0.3s ease;
    cursor: pointer;
  }

  .payment-select-btn:hover {
    background-color: #007bff
    ;
  }

  .payment-box.selected .payment-select-btn {
    background-color: #007bff
    ;
    color: #ffffff;
  }

  /* Ensure payment boxes have the same height */
  .payment-box {
/*         display: flex;
*/        flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  /* Ribbon styles */
  .ribbon-left {
    position: absolute;
    top: 10px;
    left: -10px;
    background-color: #f39c12;
    color: #fff;
    padding: 5px 10px;
    transform: rotate(-45deg);
    font-weight: bold;
  }

  /* Additional styles for consistency */

  .numcuentas {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
  }

  /* Responsive styles */
  @media (max-width: 768px) {
    .payment-box {
      margin-bottom: 1em;
    }
  }

  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
  }
  .label-precio {
    display: inline-block;
    margin-right: 15px;
  }
  /* Hide radio buttons */
  /* Hide radio buttons */
  .payment-box input[type="radio"] {
    display: none;
  }
  .bg-white {
    --bs-bg-opacity: 1;
    background-color: rgba(
      var(--bs-white-rgb),
      var(--bs-bg-opacity)
    ) !important;
  }
  * {
    box-sizing: border-box;
  }

  .h2,
  h2 {
    font-size: calc(1.325rem + 0.9vw);
  }
  .h1,
  .h2,
  .h3,
  .h4,
  .h5,
  .h6,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
  }
  .h4,
  h4 {
    font-size: calc(1.275rem + 0.3vw);
  }
  @media (max-width: 768px) {
.col-10 {
width: 100%;
max-width: 100%;
flex: 0 0 100%;
}

.col-lg-6 {
width: 100%;
max-width: 100%;
flex: 0 0 100%;
}
}
@media (min-width: 1280px) {
.container {
  max-width: 100%;
}
}
.round-20{
border-radius: 20px;
}