/* SOQ demo tips — friendly helper cards for non-technical users */

.tippy-box[data-theme~='soqLabel'] {
    background: #ffffff;
    color: #1e293b;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    max-width: 300px;
}

.tippy-box[data-theme~='soqLabel'] > .tippy-arrow {
    color: #ffffff;
}

.tippy-box[data-theme~='soqLabel'] > .tippy-arrow::before {
    border-top-color: #ffffff;
    filter: drop-shadow(0 1px 0 #e2e8f0);
}

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

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

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

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

.tippy-box[data-theme~='soqLabel'] .tippy-content {
    padding: 12px 14px;
}

.soq-tip__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: #0f4c81;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.soq-tip__body {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #475569;
    line-height: 1.45;
}

/* Bootstrap tooltip skin (admin fallback) */
.tooltip.soq-bs-tip .tooltip-inner {
    max-width: 300px;
    text-align: left;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.tooltip.soq-bs-tip .tooltip-inner .soq-tip__label {
    color: #0f4c81;
}

.tooltip.soq-bs-tip .tooltip-inner .soq-tip__body {
    color: #475569;
}

.tooltip.soq-bs-tip.bs-tooltip-right .arrow::before,
.tooltip.soq-bs-tip.bs-tooltip-auto[x-placement^="right"] .arrow::before {
    border-right-color: #ffffff;
}

.tooltip.soq-bs-tip.bs-tooltip-left .arrow::before,
.tooltip.soq-bs-tip.bs-tooltip-auto[x-placement^="left"] .arrow::before {
    border-left-color: #ffffff;
}

.tooltip.soq-bs-tip.bs-tooltip-top .arrow::before,
.tooltip.soq-bs-tip.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: #ffffff;
}

.tooltip.soq-bs-tip.bs-tooltip-bottom .arrow::before,
.tooltip.soq-bs-tip.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: #ffffff;
}
