/* === VIN Input ve Label === */
.floating-label-group {
  position: relative;
}

.floating-label-wrapper {
  margin-top: 20px;
}

.floating-label-group input {
  width: 100%;
  padding: 20px 10px 12px 10px;
  font-size: 16px;
  background: none;
  border: 1px solid #f5f5f5;
  transition: all 0.3s ease;
  outline: none;
  border-radius: 4px;
  color: #333;
}

.floating-label-group input:focus {
  background-color: #f5f5f5;
  border-color: white;
}

.floating-label-group label {
  position: absolute;
  top: 14px;
  left: 22px;
  font-size: 16px;
  color: #999;
  pointer-events: none;
  transition: all 0.2s ease;
  background-color: white;
  padding: 0 4px;
  z-index: 10;
}

.floating-label-group input:focus + label,
.floating-label-group input:not(:placeholder-shown) + label {
  top: -10px;
  left: 20px;
  font-size: 12px;
  color: #333;
  background-color: #f5f5f5;
  z-index: 10;
}

/* === Mikrofon Butonu === */
#micToggle {
  position: absolute;
  top: 10%;
  right: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 5;
}

#micIcon {
  font-size: 18px;
  color: #28a745;
}

#micIcon:hover,
#micButton i:hover {
  color: #218838;
}

/* === Marka Tahmini === */
.brand-animated {
  font-weight: 500;
  color: #28a745;
  font-size: 16px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-animated.show {
  opacity: 1;
  transform: scale(1);
}

#brandLogo {
  height: 24px;
  vertical-align: middle;
  display: none;
  transition: opacity 0.4s ease;
}

/* === Sesli Durum Alanları === */
#micStatus {
  margin-top: 6px;
  font-size: 14px;
  color: #555;
}

#liveWord {
  font-size: 14px;
  color: #999;
  margin-top: 4px;
}

#liveVIN {
  font-size: 16px;
  font-weight: 500;
  color: #28a745;
  margin-top: 2px;
}

/* === Arama Butonu === */
.search-icon-button {
  padding: 12px 16px;
  font-size: 18px;
  color: #28a745;
  background-color: #fff;
  border: none;
  text-align: left;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -55px;
}

.search-icon-button:hover {
  background-color: #fff;
}

.search-icon-button i {
  pointer-events: none;
}

/* === VIN Geçmişi Kutusu === */
#shase-history-box h5 {
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}

#shase-history-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

#shase-history-list a {
  display: block;
  padding: 6px 0;
  color: #28a745;
  text-decoration: none;
  transition: color 0.2s ease;
}

#shase-history-list a:hover {
  color: #218838;
}

/* === Mobil Uyum === */
@media (max-width: 576px) {
  #micToggle {
    top: 12%;
    right: 8px;
  }

  #micIcon {
    font-size: 16px;
  }

  #shaseInput {
    padding-right: 36px;
  }

  #liveVIN {
    font-size: 15px;
  }

  .search-icon-button {
    margin-left: -45px;
    font-size: 16px;
  }
}
