.elementor-widget-checkout_sidebar{
    height: 100%;
    position: relative;
}
.checkout-sidebar {
    background: #FFFFFF;
    padding: 20px;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    margin: 20px 0;
    position: sticky; /* Tornar a barra fixa */
    top: 20px; /* Espaço no topo ao rolar a página */
}

.course-price .price {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.installment-price {
    font-size: 1rem;
    color: #666;
}

.btn-primary.acquire-course {
    width: 100%;
    background-color: #FFB400;
    color: #000000;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    box-shadow: 0px 8px 16px -6px rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
}
.btn-primary.acquire-course i {
    background: #ffffff;
    padding: 5px;
    border-radius: 100%;
}
.course-details{
    margin-top: 1rem;
}

.details-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.details-list li {
    font-size: 14px;
    margin-bottom: 1rem;
}

.details-list li i,svg {
    margin-right: 8px;
    color: #333;
}
.course-tags{
    padding:1rem 0;
    border-top: solid 1px #D9D9D9;
    border-bottom: solid 1px #D9D9D9;
}
.course-format,
.course-category {
    font-size: 0.813rem;
    color: #333;
} 
.course-category{
    padding-top:.5rem;
}
.checkout-sidebar .warning{
    padding-top: 1rem;
    font-weight: 300;
    line-height: 1.188rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: ;
    color: #333;
}

/* Novo bloco fixo no final da tela */
.checkout-mobile {
   position: fixed;
   overflow: hidden;
   width: 100%;
   height: 96px;
   bottom: 0;
   left: 50%;
   background: #fff;
   padding: 12px 16px;
   z-index: 5 !important;
   -webkit-box-shadow: 0 0 25px 0 rgba(0, 0, 0, .4);
   box-shadow: 0 0 25px 0 rgba(0, 0, 0, .4);
   -webkit-transform: translateX(-50%);
   -ms-transform: translateX(-50%);
   transform: translateX(-50%);
   border-top: 1px solid #dfe2e6;
}

.checkout-mobile .checkout-mobile-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.checkout-mobile .mobile-course-price .price {
    font-size: 1.29rem;
    font-weight: bold;
    margin-right: 10px;
}

.checkout-mobile .checkout-mobile-button {
    padding: 10px 10px 5px 3px;
    flex: auto;
}

.checkout-mobile .checkout-mobile-button .acquire-course {
    padding: 10px 20px;
    color: #ffffff;
    background: #FFB400;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    flex: 1;
}

/* Estilo para o backdrop customizado */
#custom-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040; /* Deve estar abaixo do modal (1045 é o z-index padrão do modal do Bootstrap) */
    display: none; /* Inicialmente escondido */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Backdrop visível */
#custom-backdrop.show {
    display: block;
    opacity: 1;
}

.modal {
    z-index: -10 !important;
}

/* Estilo para o modal */
.modal-dialog {
    max-width: 90%;
    width: 100%;
}

.modal-content {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 768px) {
    .modal-dialog {
        max-width: 500px;
    }
}

