/**
 * Module Tecdoc Web - CSS
 *
 * @author Claude
 * @copyright 2025
 * @license GPL
 */

#tecdoc-vehicle-selector,
#tecdoc-parts-categories {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  background-color: #fff;
}

#tecdoc-vehicle-selector .title_block,
#tecdoc-parts-categories .title_block {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

/* Styles pour le sÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©lecteur de vÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©hicule */
#tecdoc-vehicle-selector .form-group {
  margin-bottom: 15px;
}

#tecdoc-vehicle-selector label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

#tecdoc-vehicle-selector select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f8f8f8;
}

#tecdoc-vehicle-selector select:focus {
  border-color: #2fb5d2;
  outline: none;
}

#search-vehicle-button {
  width: 100%;
  padding: 10px;
  font-weight: 500;
}

/* Styles pour les catÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©gories de piÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¨ces */
.tecdoc-categories-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -5px;
}

.tecdoc-category-item {
  flex: 0 0 33.333%;
  padding: 5px;
  box-sizing: border-box;
}

.tecdoc-category-item .category-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 4px;
  transition: all 0.2s ease;
  height: 100%;
}

.tecdoc-category-item .category-link:hover,
.tecdoc-category-item .category-link.active {
  background-color: #f5f5f5;
  border-color: #ddd;
  text-decoration: none;
}

.tecdoc-category-item .category-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
}

.tecdoc-category-item .category-name {
  font-size: 12px;
  color: #333;
}

/* Styles pour les sous-catÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©gories */
#tecdoc-subcategories {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.subcategory-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

.subcategory-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.subcategory-list li {
  padding: 5px 0;
  border-bottom: 1px solid #f5f5f5;
}

.subcategory-list li:last-child {
  border-bottom: none;
}

.subcategory-list a {
  color: #555;
  font-size: 13px;
  transition: color 0.2s ease;
}

.subcategory-list a:hover {
  color: #2fb5d2;
  text-decoration: none;
}


.tecdoc-home-vehicle-selector {
  width: 100%;
  margin: 0 auto;
  padding: 60px;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid #e9e7e759;
  background-image: url("../img/bg_slider.jpg");
  background-position: center;
}

#vehicleSelectorTabs button{
  background:#ddd7d3;
  color:#212121;
}

#rechercher-par-plaque,#search-vehicle-button-home,#rechercher-par-vin{
    background: #e4a139;
    color:#ffffff;
    background: linear-gradient(#e4a139, #e4a139);
}

#vehicleSelectorTabs button.active{
  background: #e4a139;
  color:#ffffff;
  background: linear-gradient(#e4a139,#e4a139);
}
.tecdoc-home-box {
  background-color: #000000ab;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  max-width: 450px;
  margin-top: 34px;
  margin-bottom: 8px;
  margin-left: 180px;
  box-shadow: 2px 2px 2px #e2dddd8c;
  min-height: 300px;
  margin: 0 auto;
}

.tecdoc-home-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.tecdoc-home-form .form-group {
  margin-bottom: 20px;
}

.tecdoc-home-form label {
  font-weight: 500;
  margin-bottom: 8px;
  color: #ded2d2;
}

.tecdoc-home-form select {
  height: 45px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: #fff;
  padding: 0 15px;
}

.tecdoc-home-form .btn-primary {
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
  background: #e4a139;
  color: white;
}


.form-item.input-plate{
  position:relative;
  margin-right: .5rem;
  padding: 0 2em;
  border: 1px solid #cacaca;
  background: #0d1a63 url(https://oscaro.media/mu/layout/starsOfEurope.svg) no-repeat 10px 11px / 12px 12px;
  border-radius: .5rem;
  width: 100%;
  padding-left: 27px;
  height: 42px;
}

.input-plate::before{
    content: 'F';
  top:18px;
    position: absolute;
    left: 0;
    bottom: .125rem;
    width: 2rem;
    text-align: center;
    font-size: .75rem;
    color: #fff;
}


.input-plate input{
  width:100%;
  height: 40px;
  border: none;
  padding-left: 25px;
  text-align: center;
}
/* Styles responsifs */
@media (max-width: 767px) {
  .tecdoc-category-item {
    flex: 0 0 50%;
  }
  
  .tecdoc-home-box {
    padding: 15px;
  }
  
  .tecdoc-home-title {
    font-size: 20px;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .tecdoc-category-item {
    flex: 0 0 100%;
  }
}