.cipauto-leasing-block,
.cipauto-tradein-container {
    background-color: #E6F0F2;
    padding: 48px 96px;
    border-radius: 16px;
    margin-left: -96px;
    width: calc(100% + 192px);
    margin-top: 48px;
    margin-bottom: 48px;
}

.cipauto-tradein-container {
     background-color: #E6F0F2;
}

.cipauto-leasing-block input[type="text"].cipauto-input-field,
.cipauto-leasing-block input[type="number"].cipauto-input-field {
    flex: 1;
    height: 100%;
    border: none;
    text-align: center;
    color: #000;
    outline: none;
    padding: 0 5px;
    font-family: Jost;
    font-weight: 400;
    font-size: 16px;
    line-height: 14px;
}

.cipauto-leasing-result {
    display: none;
}

.cipauto-leasing-title {
    margin-top: 0 !important;
}

.cipauto-leasing-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.cipauto-leasing-icon {
    margin-right: 16px;
}

.cipauto-leasing-icon svg {
    width: 32px;
    height: 32px;
}

.cipauto-leasing-price {
    font-family: 'Jost', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #000;
    margin: 0;
    display: flex;
    align-items: start;
}

.cipauto-leasing-period {
    font-size: 24px;
    font-weight: 600;
    margin-left: 4px;
}

.cipauto-leasing-badge {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    border-radius: 100px;
    border: 1px solid #000;
    color: #000;
    font-family: Jost;
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-left: 8px;
}

.cipauto-leasing-question {
    margin-bottom: 24px;
}

.cipauto-leasing-question p {
    font-family: Jost;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    margin-bottom: 12px;
}

.cipauto-leasing-question p.cipauto-leasing-subtitle {
    font-family: Jost;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;

}

.cipauto-leasing-calculator {
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 24px);
    margin: 0 -12px;
}

.cipauto-leasing-row {
    width: 50%;
    margin-bottom: 20px;
    padding: 0 12px;
}

.cipauto-leasing-label {
    font-family: Jost;
    font-weight: 400;
    font-size: 16px;
    line-height: 14px;
    margin-left: 14px;
    margin-bottom: 12px;
}

.cipauto-input-group {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 6px;
    height: 40px;
    width: 100%;
}

/* Stilizare pentru butoanele minus și plus */
.cipauto-input-btn {
    width: 24px;
    height: 24px;
    border: none;
    background-color: #f1f5fb;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    margin: 0 8px;
    padding: 0;
    flex-shrink: 0;
}

.cipauto-input-btn:hover {
    background-color: #e6ebf5;
}

/* Stilizare pentru butoanele ca div-uri în caz că nu sunt butoane */
div.cipauto-input-btn {
    cursor: pointer;
    user-select: none;
}

/* Stilizare pentru iconițele din butoane - scalare mai mică pentru butoanele mai mici */
.cipauto-decrease svg {
    width: 10px;
    height: 2px;
}

.cipauto-increase svg {
    width: 10px;
    height: 10px;
}

/* Stilizare pentru câmpul de input */
input[type="text"].cipauto-input-field {
    flex: 1;
    height: 100%;
    border: none;
    text-align: center;
    color: #000;
    outline: none;
    padding: 0 5px;

    font-family: Jost;
    font-weight: 400;
    font-size: 16px;
    line-height: 14px;

}

/* Eliminarea săgeților din input de tip number, dacă este cazul */
.cipauto-input-field::-webkit-outer-spin-button,
.cipauto-input-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cipauto-verify-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #5624FF;
    color: white;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 26px;
    line-height: 20px;
}

.cipauto-verify-button:hover {
    background-color: #4711E9;
}

.cipauto-verify-button svg {
    transition: transform 0.3s ease;
}

.cipauto-verify-button:hover svg {
    transform: translateX(4px);
}

.cipauto-leasing-partners {
    background-color: #FFF;
    border-radius: 100px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cipauto-partners-label {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #000;
    margin-right: 20px;
    line-height: 12px;
}

.cipauto-partners-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cipauto-partner-logo {
    height: 18px !important;
    width: auto !important;
}

.cipauto-cum-functioneaza-block {
    background-color: #F3F3F3;
    padding: 48px 96px;
    padding-bottom: 24px;
    border-radius: 16px;
    margin-left: -96px;
    width: calc(100% + 192px);
    margin-top: 48px;
    margin-bottom: 48px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .cipauto-leasing-block {
        padding: 24px;
        margin-left: -48px;
        width: calc(100% + 96px);
    }
    
    .cipauto-leasing-price {
        font-size: 32px;
    }
    
    .cipauto-leasing-period {
        font-size: 20px;
    }
    
    .cipauto-leasing-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    
    .cipauto-leasing-label {
        width: 100%;
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .cipauto-input-group {
        width: 100%;
    }
    
    .cipauto-verify-button {
        margin-left: 0;
        margin-top: 22px;
    }

    .cipauto-cum-functioneaza-block {
        padding: 24px;
        margin-left: -48px;
        margin-right: -48px;
        width: calc(100% + 96px);
    }

    .single-post-content .wp-block-image, 
    .single-post-content .wp-block-gallery {
        margin-left: 48px;
        margin-right: -48px;
        width: calc(100% + 96px);
    }
}

@media (max-width: 576px) {
    .cipauto-leasing-block {
        padding: 12px;
        margin: 12px 0;
        width: 100%;
    }
    
    .cipauto-leasing-header {
        flex-wrap: wrap;
    }
    
    .cipauto-leasing-badge {
        margin-left: 0;
        margin-top: 12px;
    }

    .cipauto-tradein-container {
        padding: 12px;
        margin-left: 0;
        width: 100%;
        margin: 12px 0;
    }

    .single-post-content .wp-block-image, 
    .single-post-content .wp-block-gallery {
        margin: 0;
        width: 100%;
    }

    .cipauto-cum-functioneaza-block {
        padding: 12px;
        margin: 12px 0;
        width: 100%;
    }
}