* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #242729;
}

.postavi_oglas{
    display: flex;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.postavi_oglas h2{
    color: white;
    text-align: center;
    margin-top: 25px;
}

.postavi_tip_vozila {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 5px;
}

.vozilo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
}

.vozilo-item i {
    font-size: 40px;
    color: #fff;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: color 0.3s, border-color 0.3s, background-color 0.3s;
    cursor: pointer;
}

.vozilo-item i:hover {
    color: #00b1dd;
    border-color: #00b1dd;
    background-color: #242729;
}

.vozilo-item i.active {
    color: #00b1dd;
    border-color: #00b1dd;
    background-color: #242729;
}

.vozilo-item p {
    margin-top: 10px;
    font-size: 14px;
    color: #ddd;
}


.postavi_tip_vozila i {
    font-size: 40px;
    color: #fff; 
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: color 0.3s, border-color 0.3s, background-color 0.3s;
    cursor: pointer;
}

.postavi_tip_vozila i:hover {
    color: #00b1dd; 
    border-color: #00b1dd; 
    background-color: #242729; 
}

.postavi_tip_vozila i.active {
    color: #00b1dd; 
    border-color: #00b1dd; 
    background-color: #242729; 
}

.upload-section {
    text-align: center;
}

.upload-box {
    width: 60%;
    height: 300px;
    background-color: #242729;
    border: 2px dashed #d1d1d1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 0 auto;
}

.upload-placeholder {
    color: #b3b3b3;
    font-size: 1.2rem;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    margin-top: 20px;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.add-photo-btn {
    background-color: #00b1dd;
    color: black;
    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);
}

.add-photo-btn:hover {
    background-color: #0089a9;
    transform: translateY(-2px);
}

.add-photo-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.description {
    padding: 30px 20px 20px;
    background-color: #181a1b;
}

.description-info {
    background-color: #242729;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content:center;
    padding: 20px;
    align-items: center;
    width: 55%;
    margin: 0 auto;
}

.description-info h3 {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.description-title{
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    padding: 20px 0;
}

.description-info p {
    color: #b6b6b6;
}

.car-info-form {
    width: 100%;
    padding: 0 20px 20px 20px;
    background-color: #242729;
    border-radius: 5px;
}

.car-info-form input{
    width: 100%;
}

.car-price {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    padding-bottom: 5px;
}

.car-specs {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
    color: #dddddd;
    font-size: 16px;
}

.car-specs td {
    padding: 5px;
    border-bottom: 1px solid rgb(128, 128, 128);
}

.input-field1 {
    width: 100%;
    background-color: #181a1b;
    color: #b6b6b6;
    border: none;
    padding: 5px;
    border-radius: 3px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.input-field-price{
    width: 100%;
}

.input-field1:hover {
    outline: none;
    background-color: #3a3d3e;
}

.input-field1:focus {
    outline: none;
    background-color: #3a3d3e;
}

.description-info-2{
    margin-top: 20px; 
}

.description-info-2 h3{
    padding: 10px 0 30px 0;
}

.oprema-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px; 
    color: #b6b6b6;
    text-align: left;
    width: 100%;
    font-size: 17px;
}

.oprema-item input[type="checkbox"] {
    margin: 5px;
}

.oprema-item label {
    white-space: nowrap; 
    overflow: hidden;
}

.car-description {
    padding: 20px;
    background-color:#242729;
    border-radius: 5px;
    color: #b6b6b6;
    width: 55%;
    margin: 20px auto;
}

.car-description h3 {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

.description-field {
    width: 100%;
    height: 200px;
    background-color:#181a1b;
    color: #b6b6b6;
    border: none;
    border-radius: 5px;
    padding: 10px;
    resize: none;
    font-size: 15px;
    text-decoration: none;
}

.description-field:focus {
    outline: none;
    background-color: #3a3d3e;
}

.add-ad-btn {
    background-color: #00b1dd;
    color: black;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.add-ad-btn:hover {
    background-color: #0089a9;
    transform: translateY(-2px);
}

.add-ad-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


@media (max-width: 600px) {
    .postavi_oglas {
        flex-direction: column;
        align-items: center;
    }

    .postavi_tip_vozila {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        gap: 20px;
        margin-bottom: 0;
    }

    .vozilo-item {
        margin-bottom: 20px;
    }

    .upload-section {
        margin-top: 0px;
    }

    .upload-box {
        width: 90%;
        height: 200px;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .add-photo-btn {
        margin-bottom: 0px;
    }

    .description {
        padding: 10px 0;
    }

    .description-info {
        width: 95%;
        margin: 0 auto;
        padding: 0px;
    }

    .car-info-form {
        padding: 10px;
    }

    .car-info-form h3{
        font-size: 20px;
    }

    .car-description {
        width: 80%;
    }

    .car-specs{
        font-size: 15px;
    }

    .input-field1 {
        padding: 5px;
        font-size: 14px;
        width: 80%;
        margin-left: auto;
        display: block;
    }

    input[name="price"] {
        margin-left: 0;
        width: auto;
    }

    .description-info-2{
        margin-top: 10px;
    }

    .oprema-list {
        grid-template-columns: repeat(1, 1fr);
        font-size: 15px;
        margin-bottom: 20px;
        width: 90%;
    }

    .description-info-2 h3{
        padding: 20px 0;
    }

    .car-description{
        width: 95%;
        margin-top: 10px;
        padding: 10px;
    }

    .car-description h3{
        margin-top: 10px;
    }
}



@media (min-width: 601px) and (max-width: 900px) {
    .postavi_oglas {
        flex-direction: column;
        align-items: center;
    }

    .postavi_tip_vozila {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        gap: 20px;
        margin-bottom: 0;
    }

    .vozilo-item {
        margin-bottom: 20px;
    }

    .upload-section {
        margin-top: 0px;
    }

    .upload-box {
        width: 80%;
        height: 200px;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .add-photo-btn {
        margin-bottom: 0px;
        font-size: 17px;
    }

    .description {
        padding: 20px 0;
    }

    .description-info {
        width: 90%;
        margin: 0 auto;
        padding: 0px;
    }

    .car-info-form {
        padding: 20px;
    }

    .car-info-form h3{
        font-size: 22px;
    }

    .car-description {
        width: 80%;
    }

    .car-specs{
        font-size: 17px;
    }

    .input-field1 {
        padding: 5px;
        font-size: 15px;
        width: 80%;
        margin-left: auto;
        display: block;
    }

    input[name="price"] {
        margin-left: 0;
        width: auto;
    }

    .description-info-2{
        margin-top: 20px;
    }

    .oprema-list {
        grid-template-columns: repeat(2, 1fr);
        font-size: 15px;
        margin-bottom: 20px;
        width: 90%;
    }

    .description-info-2 h3{
        padding: 20px 0;
    }

    .car-description{
        width: 90%;
        margin-top: 20px;
        padding: 20px;
    }

    .car-description h3{
        margin-top: 10px;
    }
}

@media (min-width: 901px) and (max-width: 1200px) {
    .postavi_oglas {
        flex-direction: column;
        align-items: center;
    }

    .postavi_tip_vozila {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        gap: 20px;
        margin-bottom: 0;
    }

    .vozilo-item {
        margin-bottom: 20px;
    }

    .upload-section {
        margin-top: 0px;
    }

    .upload-box {
        width: 80%;
        height: 200px;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .add-photo-btn {
        margin-bottom: 0px;
        font-size: 17px;
    }

    .description {
        padding: 30px 0;
    }

    .description-title{
        margin-top: 10px;
    }

    .description-info {
        width: 90%;
        margin: 0 auto;
        padding: 0px;
    }

    .car-info-form {
        padding: 30px;
    }

    .car-info-form h3{
        font-size: 23px;
    }

    .car-description {
        width: 80%;
    }

    .car-specs{
        font-size: 18px;
    }

    .input-field1 {
        padding: 5px;
        font-size: 16px;
        width: 80%;
        margin-left: auto;
        display: block;
    }

    input[name="price"] {
        margin-left: 0;
        width: auto;
    }

    .description-info-2{
        margin-top: 20px;
    }

    .oprema-list {
        grid-template-columns: repeat(2, 1fr);
        font-size: 17px;
        margin-bottom: 20px;
        width: 90%;
    }

    .description-info-2 h3{
        padding: 30px 0;
    }

    .car-description{
        width: 90%;
        margin-top: 20px;
        padding: 30px;
    }

    .car-description h3{
        margin-top: 0px;
        margin-bottom: 30px;
    }

    .description-field{
        font-size: 16px;
    }
}

@media (min-width: 1201px) and (max-width: 1500px) {
    .postavi_oglas {
        flex-direction: column;
        align-items: center;
    }

    .postavi_tip_vozila {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        gap: 20px;
        margin-bottom: 0;
    }

    .vozilo-item {
        margin-bottom: 20px;
    }

    .upload-section {
        margin-top: 0px;
    }

    .upload-box {
        width: 60%;
        height: 200px;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .add-photo-btn {
        margin-bottom: 0px;
        font-size: 17px;
    }

    .description {
        padding: 30px 0;
    }

    .description-title{
        margin-top: 10px;
        margin-bottom: 0;
    }

    .description-info {
        width: 75%;
        margin: 0 auto;
        padding: 0px;
    }

    .car-info-form {
        padding: 30px;
    }

    .car-info-form h3{
        font-size: 23px;
    }

    .car-description {
        width: 80%;
    }

    .car-specs{
        font-size: 18px;
    }

    .input-field1 {
        padding: 5px;
        font-size: 16px;
        width: 80%;
        margin-left: auto;
        display: block;
    }

    input[name="price"] {
        margin-left: 0;
        width: auto;
    }

    .description-info-2{
        margin-top: 20px;
    }

    .oprema-list {
        grid-template-columns: repeat(2, 1fr);
        font-size: 17px;
        margin-bottom: 20px;
        width: 90%;
    }

    .description-info-2 h3{
        padding: 30px 0;
    }

    .car-description{
        width: 75%;
        margin-top: 20px;
        padding: 30px;
    }

    .car-description h3{
        margin-top: 0px;
        margin-bottom: 30px;
    }

    .description-field{
        font-size: 16px;
    }
}