body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

#img{
     style="display: none;"
}

.login-container {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 20px;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    border: none;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.login-container button:hover {
    background-color: #0056b3;
}

.error {
    color: red;
    display: none;
}

.main-content {
    display: flex;
    width: 100%;
    height: 100vh;
}

.sidebar {
    width: 200px;
    background-color: #333;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.sidebar button {
    padding: 25px;
    border: none;
    background: none;
    color: white;
    text-align: center;
    cursor: pointer;
    font-size: 20px;
    margin-top: 20px;
    transition: 0.5s;
}

.sidebar button:hover {
    color: #007BFF;
}

.content {
    padding: 20px;
    flex-grow: 1;
}

.content-section{
    display: flex;
    flex-direction: column;
}
.content-section input{
    width: 500px;
    height: 30px;
    border-radius: 20px;
    text-align: center;
    margin-left: 350px;
    margin-top: 10px;
}
.content-section h2{
    margin-top: 300px;
    margin-left: 520px;
}
.content-section .btn1{
    margin-left: 450px;
    height: 40px;
    width: 120px;
    border-radius: 10px;
}
.content-section .btn2{
    margin-left: 100px;
    height: 40px;
    width: 120px;
    border-radius: 10px;
}
.content-section h1{
    margin-top: 300px;
    margin-left: 380px;
}
.content-section p{
    margin-left: 500px;
}
#vehicleResults {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
    width: 800px;
    margin-left: 200px;
    margin-top: 30px;
}

.vehicle {
    border: 1px solid #ccc;
    padding: 10px;
    width: calc(33.333% - 20px);
    box-sizing: border-box;
    background-color: #ddd;
    border-radius: 10px;
}

.vehicle h3 {
    cursor: pointer;
    transition: 0.5s;
}

.vehicle h3:hover {
    color: #007BFF;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
}

.popup img {
    max-width: 100%;
    height: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}

#sparePopup {
    height: 390px;
    width: 350px;
    border-radius: 10px;
    box-shadow: 10px 10px 10px gray;
}

#sparePopup select {
    margin-top: 20px;
    height: 40px;
    width: 260px;
    border-radius: 10px;
}

#sparePopup button {
    margin-top: 10px;
    height: 40px;
    border-radius: 10px;
}

.dropdowns div {
    padding: 10px;
}

.parts-results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
  }
  
  .part {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    max-width: 200px;
  }
  
  .part img {
    max-width: 100%;
    height: auto;
  }
  
  .not-found {
    color: red;
    font-weight: bold;
  }
  .card {
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    margin: 10px;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: inline-block;
    vertical-align: top;
  }
  
  .card-img {
    width: 100%;
    height: 140px;
  }
  
  .card-details {
    padding: 10px;
    text-align: center;
  }
  
  .card-details h4 {
    margin: 10px 0;
    font-size: 16px;
  }
  
  .card-details p {
    margin: 5px 0;
    color: #555;
  }
    
