/* vin */
#form-7c{
    display: none;
}
/*.wpcf7 p:last-of-type {--theme-content-spacing: 0;}*/
.wpcf7 .wpcf7-file,.wpcf7 .wpcf7-submit {    
    display: none;
}
.error-message,.btnError {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
   display: none; /* Hidden initially */
}

#vehicle-form-container {
    max-width: 600px;
    margin: 80px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 2px solid transparent; /* Initially hide the border */

}

.tab-button.active {
    border-bottom: 2px solid var(--theme-button-background-hover-color); /* Show the border when active */
    background-color: white;
}
.tab-button:hover {
    background-color: #e0e0e0;
}

.form-container {
    display: none;
    margin-bottom: 20px;
}
.form-container.active {
    display: block !important;
}

.vin-search {
    display: flex;
    margin-bottom: 10px;
}
.vin-search input{
    padding: 10px;
    margin-right: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    flex-grow: 1;
}

.text-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.text-input:focus{
    outline:none;
}

.button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
}

/* .primary-button {
    background-color: red;
} */
 .secondary2-button {
    /* background-color: #eee; */
    background-color: var(--theme-button-background-hover-color) !important;
    color: black !important;
} 
 .secondary2-button:hover {
    /* background-color: #eee; */
    background-color: var(--theme-button-background-initial-color) !important;
    color: #ffffff !important;
} 
 .secondary-button:hover {
    /* background-color: #eee; */
    color: var(--theme-button-background-initial-color);
    color: #111111;
} 
#where-is-vin{
    display: block;
    margin-bottom: 20px;
}

#where-is-vin:focus, #where-is-vin:hover{
    text-decoration: underline;
    cursor: pointer;
}

.autocomplete {
    position: relative;
    display: inline-block;
    width: 100%;
}

#years-list, #makes-list, #models-list, #styles-list, #cities-list, #zips-list {
    display: none;
    position: absolute;
    /*  background-color: rgb(243 243 243);
   width: auto; */
    padding: 0px;
    border: 1px solid #e0e0e0;
    border-top: none;
    list-style: none;
    margin: 0;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    max-height: 200px;
    overflow-y: auto;
    border-radius: 5px;
     box-sizing: border-box; /* added to include padding and border within the width */
}


#years-list li, #makes-list li, #models-list li, #styles-list li {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0; /* Match lighter border */
}

#years-list li:hover, #makes-list li:hover, #models-list li:hover, #styles-list li:hover {
    background-color: #f0f0f0;
}

#years-list li:last-child, #makes-list li:last-child, #models-list li:last-child, #styles-list li:last-child {
    border-bottom: none;
}

.form-buttons{
    display: flex;
    justify-content: flex-start; /* align buttons to the left */
    gap: 10px; /* Add a gap between the buttons */
    margin-top: 20px;
}

.zip-description{
 margin-top: 10px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) { /* Apply styles on smaller screens */
    #vehicle-form-container {
        max-width: 95%;
    }
    .vin-search {
      flex-direction: column; /* stack the input and button */
        margin-bottom: 0;
    }

    .vin-search input{
     margin-bottom: 10px;
    }

    .form-buttons {
         flex-direction: column; /* stack the buttons */
    }
}

#vin-back-button {
 display: block;
    /* margin-top: 10px; */
}

.vin-help-image{
    max-width: 100%; /* make image responsive */
    display: block;
    margin: 10px 0; /* add margin for spacing */
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}
.vin-help-content{
  margin-top: 10px;
}

.dont-have-vin{
  display: flex;
  align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
}

#no-vin-link{
 padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    /* color: black; */
     /* background-color: #eee; */
      margin-bottom: 0;
   display: inline-block; /* to allow flexbox to align elements */
   text-decoration: none;
}

#where-is-vin{
    margin-bottom: 0;
}

.input-lock {
     position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}

.input-lock input{
    border:none;
     border-radius: 5px;
     padding: 10px;
      flex-grow: 1;
      outline: none;
}

.lock-icon {
     position: absolute;
    right: 10px;
    pointer-events: none; /* Ensure the icon doesn't interfere with input clicks */
    color: #777;
}

.problem-list{
     list-style: none; /* Removes list bullets */
    padding: 0;
   margin: 0;
   padding-bottom: 20px;
}

.problem-list li{
  padding: 5px;
    display: flex; /* Makes label and checkbox line up */
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 5px;
     background-color: #fff;
}

.problem-list li:hover{
      background-color: #f0f0f0; /* change color on hover */
}


 .problem-list li input[type="checkbox"]{
  margin-right: 10px; /* Space between checkbox and label */
 }

  .problem-list li label{
     margin: 0;
      flex: 1; /* Label takes up available space */
}


.problem-list li .problem-image{
      width: 40px; /* Makes the image same width */
    margin-left: 10px; /* Distance between text and image */
     display: flex;
    align-items: center;
}

 .problem-list li .problem-image .problem-image-item{
       width: 100%; /* Makes image as big as it can be, while being contained by its wrapper*/
     height: auto; /* Keeps the correct height */
}
 .problem-label{
       display: block; /* labels are block by default */
    margin-bottom: 10px;
    font-weight: bold;
}



.text-input:focus{
    outline:none;
}

.autocomplete {
  position: relative;
  display: inline-block;
  /* width: 300px; */
  width: 100%;
}

.autocomplete-list {
    position: absolute;
    border: 1px solid #ddd;
    border-top: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    width: 100%;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: none;
}

.autocomplete-list li {
  padding: 10px;
  cursor: pointer;
}

.autocomplete-list li:hover {
  background-color: #f0f0f0;
}


.dropdown {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
 .dropdown:focus{
    outline:none;
}
/* end vin */