* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #242729;
}

.divider{
    height: 1px;
    background-color: rgb(128, 128, 128);
    border-color: rgb(128, 128, 128);
}

.car-details {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    width: 80%;
    margin: 0 auto;
    align-items: stretch;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

.save-changes-btn {
    background-color: #00b1dd;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.save-changes-btn:hover {
    background-color: #0089a9;
    transform: translateY(-2px);
}

.save-changes-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.car-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}

.car-info-form {
    width: 100%;
    padding: 20px;
    background-color: #181a1b;
    border-radius: 5px;
}

.car-price {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.car-specs {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
    color: #dddddd;
    
}

.car-specs td {
    padding: 5px;
    border-bottom: 1px solid rgb(128, 128, 128);
}

.input-field1 {
    width: 100%;
    background-color: #242729;
    color: #b6b6b6;
    border: none;
    padding: 5px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.input-field1:hover {
    outline: none;
    background-color: #3a3d3e;
}

.input-field1:focus {
    outline: none;
    background-color: #3a3d3e;
}

.textual-description {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    width: 45%;
}

.advertising-policy {
    padding: 20px;
    background-color: #181a1b;
    border-radius: 5px;
    color: #dddddd;
}

.advertising-policy h3, h4 {
    color: #ffffff;
}

.advertising-policy ul {
    padding-left: 20px;
    list-style: none;
}

.advertising-policy li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 20px; 
}

.advertising-policy li::before {
    content: "•"; 
    position: absolute;
    left: 0; 
    color: #dddddd; 
    font-size: 1em;
}

.car-description {
    padding: 20px;
    background-color: #181a1b;
    border-radius: 5px;
    color: #b6b6b6;
}

.car-description h3 {
    color: #ffffff;
    padding-bottom: 15px;
}

.description-field {
    width: 100%;
    height: 200px;
    background-color: #242729;
    color: #b6b6b6;
    border: none;
    border-radius: 5px;
    padding: 10px;
    resize: none;
}

.description-field:focus {
    outline: none;
    background-color: #1e1e1e;
}

@media (max-width: 600px) {
    .car-details{
        flex-direction: column;
        width: 100%;
        padding: 10px;
        gap: 10px;
    }
    .textual-description{
        width: 100%;
        gap: 10px;
    }

    .car-info{
        width: 100%;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .car-details{
        flex-direction: column;
        width: 90%;
        padding: 20px;
        gap: 20px;
    }
    .textual-description{
        width: 100%;
        gap: 20px;
    }

    .car-info{
        width: 100%;
    }
}

@media (min-width: 901px) and (max-width: 1200px) {
    .car-details{
        flex-direction: column;
        width: 90%;
        padding: 20px;
        gap: 20px;
    }
    .textual-description{
        width: 100%;
        gap: 20px;
    }

    .car-info{
        width: 100%;
    }
}

@media (min-width: 1201px) and (max-width: 1500px) {
    .car-details{
        flex-direction: column;
        width: 80%;
        padding: 20px;
        gap: 20px;
    }
    .textual-description{
        width: 100%;
        gap: 20px;
    }

    .car-info{
        width: 100%;
    }
}