/* ****** Popup - "Co se stane po objednání" (opens on a click on .next-step-btn, see render_after_order_popup in functions.php) ******* */
.afterOrderOverlay{
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.55);
    font-family: "Poppins", Roboto, sans-serif;
}

.afterOrderBox{
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px 32px;
    max-width: 440px;
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
    box-shadow: 0px 3px 16px -2px rgba(0, 0, 0, 0.3);
    color: #1a1a1a;
}

.afterOrderTitle{
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px;
}

.afterOrderSubtitle{
    font-size: 15px;
    line-height: 1.5;
    color: #6b6b6b;
    margin: 0 0 24px;
}

.afterOrderSteps{
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: afterOrderStep;
}

.afterOrderStep{
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 18px;
    counter-increment: afterOrderStep;
}

/* Numbered black circle */
.afterOrderStep::before{
    content: counter(afterOrderStep);
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
}

.afterOrderStepTitle{
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 2px;
}

.afterOrderStepText{
    display: block;
    font-size: 15px;
    line-height: 1.5;
    color: #6b6b6b;
}

.afterOrderBtns{
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.afterOrderBtn,
.afterOrderBtn:hover,
.afterOrderBtn:focus{
    padding: 14px 28px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    border: none;
    color: #ffffff;
    cursor: pointer;
    background-image: linear-gradient(90deg, var(--e-global-color-8aefd25, #f7a21b) 0%, var(--e-global-color-313b0c2, #f05a24) 100%);
    box-shadow: 0px 3px 16px -2px rgba(0, 0, 0, 0.3);
}

.afterOrderBtn:hover{
    filter: brightness(1.05);
}

@media (max-width: 480px){
    .afterOrderBox{
        padding: 24px 20px;
    }

    .afterOrderBtn{
        width: 100%;
    }
}
