/* Custom Tippy.js Tooltip Theme */
/* SellMe Custom Tooltip Styling */

/* Custom theme: sellme-tooltip */
.tippy-box[data-theme~='sellme-tooltip'] {
    background: #667eea;
    color: #ffffff;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.875rem;
    line-height: 1.4;
}

.tippy-box[data-theme~='sellme-tooltip'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color: #667eea;
}

.tippy-box[data-theme~='sellme-tooltip'][data-placement^='bottom'] > .tippy-arrow::before {
    border-bottom-color: #667eea;
}

.tippy-box[data-theme~='sellme-tooltip'][data-placement^='left'] > .tippy-arrow::before {
    border-left-color: #667eea;
}

.tippy-box[data-theme~='sellme-tooltip'][data-placement^='right'] > .tippy-arrow::before {
    border-right-color: #667eea;
}

/* Dark theme support */
[data-theme="dark"] .tippy-box[data-theme~='sellme-tooltip'] {
    background: #7c8ef0;
    box-shadow: 0 4px 14px rgba(124, 142, 240, 0.5);
}

[data-theme="dark"] .tippy-box[data-theme~='sellme-tooltip'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color: #7c8ef0;
}

[data-theme="dark"] .tippy-box[data-theme~='sellme-tooltip'][data-placement^='bottom'] > .tippy-arrow::before {
    border-bottom-color: #7c8ef0;
}

[data-theme="dark"] .tippy-box[data-theme~='sellme-tooltip'][data-placement^='left'] > .tippy-arrow::before {
    border-left-color: #7c8ef0;
}

[data-theme="dark"] .tippy-box[data-theme~='sellme-tooltip'][data-placement^='right'] > .tippy-arrow::before {
    border-right-color: #7c8ef0;
}

/* Animation: shift-away with smooth transition (no color transition) */
.tippy-box[data-animation='shift-away'][data-state='hidden'] {
    opacity: 0;
}

.tippy-box[data-animation='shift-away'][data-placement^='top'][data-state='hidden'] {
    transform: translateY(-5px);
}

.tippy-box[data-animation='shift-away'][data-placement^='bottom'][data-state='hidden'] {
    transform: translateY(5px);
}

.tippy-box[data-animation='shift-away'][data-placement^='left'][data-state='hidden'] {
    transform: translateX(-5px);
}

.tippy-box[data-animation='shift-away'][data-placement^='right'][data-state='hidden'] {
    transform: translateX(5px);
}

.tippy-box[data-animation='shift-away'][data-state='visible'] {
    transform: translate(0, 0);
    opacity: 1;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    transition-property: transform, opacity;
}


