.joautok-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-image: url('https://allapotfelmeres.lionstackailab.hu/wp-content/uploads/2024/07/7682.jpg');
    background-size: cover;
    background-position: center;
    padding: 220px 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.joautok-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(12, 44, 70);
    background: linear-gradient(180deg, rgba(12, 44, 70, 0.6) 0%, rgba(17, 69, 111, 0.6) 26%, rgba(27, 101, 161, 0.6) 62%, rgba(228, 183, 35, 0.22) 100%);
    overflow-x: hidden;
}


.joautok-full-width:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, white 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

    .joautok-car-search-header {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-align: center;
    flex-direction: column;
}

.joautok-car-search-text {
    z-index: 1;
    color: #ffffff;
    text-align: center;
}

.joautok-car-search-title {
    font-family: 'Work Sans', serif;
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: bold;
}

.joautok-car-search-description {
    font-family: 'Work Sans', serif;
    font-size: 22px;
    margin-bottom: 20px;
}

.joautok-search-input-container {
    position: relative;
    display: inline-block;
}

#joautok-search-input {
    width: 500px;
    padding: 15px 50px 15px 15px;
    font-size: 18px;
    border: 2px solid #ccc;
    border-radius: 30px;
}

#joautok-search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.spinner {
    display: none;
    margin: 10px auto;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #ffffff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.joautok-car-search {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.joautok-car-result {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #f6f6f6;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    border: 2px solid #dab510;
    font-family: Arial, sans-serif;
}

.joautok-car-result img {
    max-width: 200px;
    border-radius: 10px;
    margin-right: 20px;
}

.joautok-car-result-details {
    flex: 1;
    margin-right: 10px;
}

.joautok-car-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #0c4677;
    font-weight: 700;
}

.joautok-car-result-name {
    text-transform: uppercase;
    margin: 0;
    font-size: 24px;
    flex: 1;
    font-weight: 700;
    text-align: left;
}

.joautok-car-result-price {
    font-size: 24px;
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

.joautok-car-result-specs {
    margin: 5px 0;
    font-weight: 600;
    color: #0c4677;
    font-size: 18px;
    font-family: "Work Sans", serif;
    text-align: left;
}

.joautok-car-result-description {
    color: #0c4677;
    font-size: 14px;
    text-align: justify;
    margin: 5px 20px 5px 0;
    font-family: "Work Sans", serif;
}

.joautok-car-result-main {
    width: 75%;
}

.joautok-car-outer-main {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.joautok-car-result-buttons {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    white-space: nowrap;
    margin-top: 10px;
}

.joautok-car-result-buttons .button {
    background-color: #0c4677;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-family: "Work Sans", serif;
    text-align: center;
}

.joautok-car-result-buttons .button:hover {
    background-color: #ff4444;
    color: #fff;
}

.joautok-carid {
    color: #0c4677;
    padding: 0;
    margin: 0;
    text-align: left;
}

#joautok-search-results {
    min-height: 200px;
    padding: 20px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .joautok-car-search-title {
        margin-right: 10px;
        margin-left: 10px;
        font-size: 28px;
    }

    .joautok-car-search-description {
        margin-right: 10px;
        margin-left: 10px;
        font-size: 18px;
    }

    #joautok-search-input {
        width: 340px;
    }

    .joautok-car-result {
        flex-direction: column;
        align-items: flex-start;
    }

    .joautok-car-result img {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .joautok-car-result-details {
        width: 100%;
    }

    .joautok-car-result-header {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 5px;
    }

    .joautok-car-result-name {
        font-size: 18px;
    }

    .joautok-car-result-price {
        font-size: 18px;
    }

    .joautok-car-result-specs {
        font-size: 14px;
    }

    .joautok-car-result-description {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .joautok-car-outer-main {
        flex-direction: column;
    }

    .joautok-car-result-buttons {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
        flex-direction: row;
    }

    .joautok-car-result-buttons .button {
        font-size: 14px;
        padding: 10px;
        width: 48%;
    }

    .joautok-carid {
        font-size: 14px;
    }

    .joautok-car-result-main {
        width: 100%;
    }
}

