/* ChatGPT'ye Sor — ana sayfa sağ alt, Tawk.to balonunun üstü (2026-10-22)
   Tawk balonu: sağ 20px, alt 20px, ~60px → bu buton alt 92px'te durur.
   z-index Tawk'ın (2000000000) altında: sohbet penceresi açılınca butonu örter. */
.chatgpt-ask {
    position: fixed;
    right: 20px;
    bottom: 92px;
    z-index: 9990;
    width: 60px;
    height: 60px;
}
.chatgpt-ask[hidden] { display: none; }

.chatgpt-ask-link {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chatgpt-ask-link:hover,
.chatgpt-ask-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.24);
}
.chatgpt-ask-link:focus-visible {
    outline: 3px solid #F97316;
    outline-offset: 2px;
}
.chatgpt-ask-link img {
    display: block;
    width: 60px;
    height: 60px;
}

/* Kapat (×) — tıklanınca kalıcı gizlenir */
.chatgpt-ask-close {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #ffffff;
    color: #4b5563;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.chatgpt-ask:hover .chatgpt-ask-close,
.chatgpt-ask:focus-within .chatgpt-ask-close { opacity: 1; }
.chatgpt-ask-close:hover { color: #111827; }

/* Dokunmatik cihazlarda hover yok: × her zaman görünür */
@media (hover: none) {
    .chatgpt-ask-close { opacity: 1; }
}

@media (max-width: 575px) {
    .chatgpt-ask { right: 16px; bottom: 88px; width: 54px; height: 54px; }
    .chatgpt-ask-link,
    .chatgpt-ask-link img { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
    .chatgpt-ask-link,
    .chatgpt-ask-close { transition: none; }
    .chatgpt-ask-link:hover,
    .chatgpt-ask-link:focus-visible { transform: none; }
}
