.cipauto-history-block {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 24px; */
    align-self: stretch;
    border-radius: 16px;
    background: #D8F7ED;
    margin-top: 24px;
    overflow: hidden;
}

.cipauto-history-block-inner {
    display: flex;
}

.cipauto-history-left {
    flex: 2;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.cipauto-history-right {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cipauto-vin-label {
    color: #000;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px; /* 87.5% */
    margin-left: 12px;
    margin-bottom: 12px;
}

.cipauto-history-form {
    width: 100%;
    display: flex;
    flex-direction: column; /* Elementele vor fi stacked vertical */
    gap: 16px;
    align-self: stretch;
}

.cipauto-history-form > * {
    width: 100%; /* Fiecare element va fi 100% width */
}

.cipauto-history-partner {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    /* align-items: center; */
    align-items: baseline;
    gap: 8px;
    border-radius: 100px;
    border: 1px solid #000;
    margin-bottom: 16px;
}

.cipauto-partner-label {
    color: #000;
    font-family: Jost;
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.cipauto-partner-name {
    width: 57px;
    height: 8px;
    aspect-ratio: 57/8;
    background: url("https://alexgurghis.com/work/cipauto/wp-content/uploads/2025/07/carvertical.svg") transparent 50% / cover no-repeat;
}

.cipauto-history-title {
    color: #000;
    font-family: Jost;
    font-size: 36px;
    font-style: normal;
    font-weight: 800;
    line-height: 100%; /* 36px */
}

.cipauto-history-subtitle {
    color: #000;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.cipauto-history-description {
    color: #000;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.cipauto-vin-input-group {
    display: flex;
    gap: 16px;
}

input[type="text"].cipauto-vin-input {
    flex: 1;
    padding: 10px 16px;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    border-radius: 4px;
    border: 1px solid #000;
    background: #FFF;
    color: #999;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px; /* 87.5% */
}

.cipauto-verify-vin-button {
    display: flex;
    padding: 14px 16px 15px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;

    color: #FFF;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 16px;

    border-radius: 6px;
    background: #3B00DD;
    text-decoration: none;
}

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

.cipauto-verify-vin-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

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

.cipauto-history-report-preview {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.cipauto-report-image {
    width: 100%;
    margin-top: -42px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .cipauto-history-block {
        padding: 30px;
    }
    
    .cipauto-history-title {
        font-size: 36px;
    }
    
    .cipauto-history-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .cipauto-history-block {
        flex-direction: column;
    }
    
    .cipauto-history-right {
        /* order: -1; */
        margin-bottom: 24px;
    }
    
    .cipauto-history-report-preview {
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .cipauto-history-block {
        padding: 24px;
        margin-top: 12px;
    }
    
    .cipauto-history-title {
        font-size: 32px;
    }
    
    .cipauto-history-subtitle {
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .cipauto-history-description {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .cipauto-vin-input-group {
        flex-direction: column;
    }
    
    .cipauto-verify-button {
        width: 100%;
    }
}