/* css/widgets/hint-button.css */
/* İpucu Butonu Widget Stilleri */
/* Modüler, tekrar kullanılabilir bileşen */

/* ====== İPUCU WIDGET CONTAINER ====== */

.hint-widget-container {
    margin: 16px 0;
    width: 100%;
}

/* ====== İPUCU BUTONU - Minimal & Temiz Tasarım ====== */

.hint-button {
    width: 100%;
    padding: 12px 16px;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    outline: none;
}

.hint-button:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hint-button:active {
    transform: scale(0.98);
}

.hint-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.hint-button.active {
    border-color: #6366f1;
    color: #6366f1;
}

.hint-button-text {
    user-select: none;
    -webkit-user-select: none;
}

/* ====== İPUCU İÇERİĞİ - Inline Expand ====== */

.hint-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    border-radius: 8px;
    margin-top: 0;
}

.hint-content.show {
    max-height: 300px;
    opacity: 1;
    margin-top: 12px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hint-text {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ====== RESPONSIVE ====== */

@media (max-width: 640px) {
    .hint-button {
        padding: 10px 14px;
        font-size: 14px;
    }

    .hint-text {
        font-size: 13px;
    }
}

/* ====== ANIMATION PREFERENCES ====== */

@media (prefers-reduced-motion: reduce) {
    .hint-button,
    .hint-content {
        transition: none !important;
    }
}
