/* Webiva Model — iletişim, randevu talebi ve yorum formları (tema: contact.html / post.html girişleri). */

/* Tema metin kutularıyla aynı görünüm: tel / tarih / saat / sayı / seçim alanları */
.wv-form input[type="tel"],
.wv-form input[type="date"],
.wv-form input[type="time"],
.wv-form input[type="number"],
.wv-form select {
    display: block; width: 100%; max-width: 100%; height: auto; margin-bottom: 0; padding: 18px 10px 10px;
    border: 0; border-bottom: 1px solid rgba(0, 0, 0, .1); border-radius: 0; background-color: transparent; box-shadow: none;
    font-family: "Didact Gothic", sans-serif; font-size: 15px; line-height: 1.5em; color: var(--wv-text);
}
.wv-form select {
    -webkit-appearance: none; appearance: none; padding-right: 30px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23999999' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 8px center; background-size: 12px 8px;
}
.wv-form input[type="date"], .wv-form input[type="time"] { min-height: 49px; }
.wv-form input:focus, .wv-form textarea:focus, .wv-form select:focus { outline: none; border-bottom-color: var(--wv-accent); }
.wv-form input:focus-visible, .wv-form textarea:focus-visible, .wv-form select:focus-visible { box-shadow: 0 1px 0 0 var(--wv-accent); }
.wv-form .wv-field input, .wv-form .wv-field textarea, .wv-form .wv-field select { margin-bottom: 0; }
.wv-form .wv-field { margin-bottom: 18px; }

/* Temanın yalnız alt çizgili alanları beyaz zeminde fark edilmiyordu: çerçeveli, dolgulu kutu */
.wv-form input[type="text"],
.wv-form input[type="email"],
.wv-form input[type="tel"],
.wv-form input[type="date"],
.wv-form input[type="time"],
.wv-form input[type="number"],
.wv-form select,
.wv-form textarea {
    padding: 14px 16px; border: 1px solid rgba(var(--wv-accent-rgb), .28); border-radius: 3px; background-color: var(--wv-blush); color: var(--wv-dark);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.wv-form select { padding-right: 36px; background-position: right 14px center; }
.wv-form textarea { min-height: 140px; resize: vertical; }
.wv-form input::placeholder, .wv-form textarea::placeholder { color: #8c8c8c; opacity: 1; }
.wv-form input[type="text"]:hover, .wv-form input[type="email"]:hover, .wv-form input[type="tel"]:hover, .wv-form input[type="date"]:hover,
.wv-form input[type="time"]:hover, .wv-form input[type="number"]:hover, .wv-form select:hover, .wv-form textarea:hover { border-color: rgba(var(--wv-accent-rgb), .45); }
.wv-form input:focus, .wv-form textarea:focus, .wv-form select:focus,
.wv-form input:focus-visible, .wv-form textarea:focus-visible, .wv-form select:focus-visible {
    border-color: var(--wv-accent); background-color: #fff; box-shadow: 0 0 0 3px rgba(var(--wv-accent-rgb), .15);
}
.wv-form input.is-invalid, .wv-form textarea.is-invalid, .wv-form select.is-invalid { border-color: #c0392b; background-color: #fff8f8; }
.wv-form .wv-check input[type="checkbox"] { accent-color: var(--wv-accent); }

/* Temadaki ".section-padding span" (30 px el yazısı) kuralı form içindeki yazıları etkilemesin */
.section-padding .wv-form span, .fredia-comment-section .wv-form span { font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; }

/* Etiketli form (randevu) */
.wv-form-labeled .wv-field label.wv-label { font-size: 19px; line-height: 1.2; margin-bottom: 0; }
.wv-form-labeled .wv-field input[type="text"],
.wv-form-labeled .wv-field input[type="email"],
.wv-form-labeled .wv-field input[type="tel"],
.wv-form-labeled .wv-field input[type="date"],
.wv-form-labeled .wv-field input[type="time"],
.wv-form-labeled .wv-field input[type="number"],
.wv-form-labeled .wv-field select,
.wv-form-labeled .wv-field textarea { padding-top: 12px; }
.wv-form-labeled .wv-field label.wv-label { margin-bottom: 6px; }
.wv-req { color: var(--wv-accent); text-decoration: none; border: 0; cursor: help; }
abbr.wv-req[title] { text-decoration: none; }

/* Onay kutuları: Aydınlatma beyanı + ticari ileti izinleri (ayrı, işaretsiz, isteğe bağlı) */
.wv-form .wv-check { font-size: 14px; color: var(--wv-text); cursor: pointer; }
.wv-form .wv-check input[type="checkbox"] { width: 17px; height: 17px; }
.wv-form .wv-check .wv-check-text a { color: var(--wv-accent); text-decoration: underline; }
.wv-form .wv-check input.is-invalid { outline: 2px solid #c0392b; outline-offset: 1px; }
.wv-consent-field { margin-bottom: 12px; }
.wv-consents { border: 0; padding: 14px 16px 4px; margin: 0 0 18px; background: var(--wv-blush); min-width: 0; }
.wv-consents .wv-consents-title { font-family: "Teko", sans-serif; font-size: 20px; color: var(--wv-dark); margin-bottom: 4px; padding: 0; width: auto; line-height: 1.3; }
.wv-consents .wv-consents-title small { font-family: "Didact Gothic", sans-serif; font-size: 13px; color: #999; }
.wv-consents .wv-kvkk-note { margin-bottom: 8px; }
.wv-check-row { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.wv-check-row .wv-check { margin-bottom: 8px; }

/* Mesaj kutusu ve gönder düğmesi */
.wv-form .wv-form-message:focus { outline: none; }
.wv-form button[type="submit"] { margin-top: 6px; }
.wv-form button[type="submit"]:disabled { opacity: .6; cursor: progress; }
.wv-form button[type="submit"]:focus-visible { outline: 2px solid var(--wv-dark); outline-offset: 2px; }
.wv-topic { background: var(--wv-blush); padding: 10px 14px; font-size: 14px; margin-bottom: 18px; }

/* İletişim bilgileri ve harita */
.wv-contact-info a { color: var(--wv-text); }
.wv-contact-info a:hover { color: var(--wv-accent); }
.wv-contact-info .btn-cont a { color: #fff; }
.wv-map-link { margin: 14px 0 0; text-align: right; }

@media (max-width: 767px) {
    .wv-map-link { text-align: left; }
    .wv-check-row { gap: 4px 20px; }
}
