/* Contextual Help Tooltips Styles */

.contextual-help-icon {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.contextual-help-icon:hover {
    opacity: 1;
}

.contextual-help-icon:focus {
    opacity: 1;
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
    border-radius: 50%;
}

/* Help tooltip styling */
.tooltip .tooltip-inner {
    max-width: 300px;
    text-align: right;
    background-color: #333;
    color: #fff;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #333;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #333;
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #333;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #333;
}

/* Dark mode support */
[data-theme="dark"] .tooltip .tooltip-inner {
    background-color: #2d3748;
    color: #e2e8f0;
}

[data-theme="dark"] .tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #2d3748;
}

[data-theme="dark"] .tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #2d3748;
}

[data-theme="dark"] .tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #2d3748;
}

[data-theme="dark"] .tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #2d3748;
}

