/*
  profile.html'e özgü kurallar. Renk, yazı ve ölçüler velesso.css değişkenlerinden gelir.
  Varsayımlar (doğrulanmadı): 375px görsel testi bu görevde tarayıcıda yapılmadı;
  yatay taşma için uzun metinlerde overflow-wrap ve plakada taşma gizleme kullanıldı.
*/

[hidden] {
  display: none !important;
}

.vl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vl-btn--compact {
  width: auto;
  height: 48px;
  padding: 0 14px;
  font-size: var(--fs-s);
}

.vl-vehicle-title {
  margin: 24px 0;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: var(--fs-xl);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.vl-plate__num {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.vl-owner__text {
  min-width: 0;
}

.vl-owner__name {
  overflow-wrap: anywhere;
}

.vl-owner__note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Sosyal bağlantılar: sade metin satırları */
.vl-social {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.vl-social__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: var(--fs-m);
  text-decoration: none;
}

.vl-social__link:hover {
  color: var(--text-2);
}

.vl-social__link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Acil bölüm: motosiklette açık, otomobilde başlığa dokununca açılır */
.vl-alert .vl-h {
  margin: 0;
}

.vl-emergency-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.vl-emergency-toggle:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.vl-chevron {
  transition: transform 150ms ease;
}

.vl-alert.is-open .vl-chevron {
  transform: rotate(180deg);
}

.vl-emergency-content {
  display: none;
  margin-top: 16px;
}

.vl-alert.is-open .vl-emergency-content {
  display: block;
}

.vl-emergency-warning {
  margin: 0 0 16px;
}

.vl-kv__v {
  overflow-wrap: anywhere;
}

.vl-emergency-call {
  margin-top: 16px;
}

/* Bildirim alanı */
.vl-field {
  margin-bottom: 16px;
}

.vl-turnstile:not(:empty) {
  margin: 4px 0 16px;
}

.vl-error {
  margin: 12px 0 0;
  color: var(--danger-text);
}

/* Sahip yanıtı */
.vl-reply-text {
  margin: 12px 0 0;
  color: var(--text-2);
}

/* Kapalı / bulunamayan kart */
.vl-message {
  margin-top: 40px;
  padding-top: 0;
  border-top: 0;
}

.vl-message__link {
  margin-top: 20px;
}

/* Alt bağlantılar */
.vl-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.vl-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 4px;
  color: var(--text-2);
  text-decoration: none;
}

.vl-footer a:hover {
  color: var(--text);
}

.vl-footer a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.vl-footer__sep {
  color: var(--text-2);
}

@media (max-width: 360px) {
  .vl-btn {
    padding: 0 12px;
  }

  .vl-btn-row {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vl-chevron {
    transition: none;
  }
}
