/* "Share this free tool" box under every tool (resources/views/partials/tool-share.blade.php). */
.tk-share { margin: 28px 0 0; padding: 18px 20px; background: #fff; border: 1px solid var(--tk-line, #e6ecf5); border-radius: 16px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
    transition: box-shadow .35s, border-color .35s; }
.tk-share-txt { min-width: 0; flex: 1 1 260px; }
.tk-share-title { margin: 0 0 4px; font-size: 1.05rem; font-weight: 800; color: var(--tk-navy, #0b1f44); line-height: 1.3; }
.tk-share-sub { margin: 0; font-size: .86rem; color: var(--tk-muted, #5d6b85); }
.tk-share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-share-btn { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .5rem .85rem; border-radius: 10px;
    border: 1px solid var(--tk-line, #e6ecf5); background: #f5f8fd; color: var(--tk-navy, #0b1f44); font: inherit; font-size: .88rem;
    font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.tk-share-btn:hover, .tk-share-btn:focus-visible { background: #eaf1fc; color: var(--tk-navy, #0b1f44); text-decoration: none; }
.tk-share-btn:focus-visible { outline: 2px solid var(--tk-blue, #2563eb); outline-offset: 2px; }
.tk-share-btn[hidden] { display: none !important; }
.tk-share-wa i { color: #128c3f; }
.tk-share-li i { color: #0a66c2; }
.tk-share-fb i { color: #1877f2; }
.tk-share-xmark { font-weight: 800; }
.tk-share-native { background: var(--tk-blue, #2563eb); border-color: var(--tk-blue, #2563eb); color: #fff; }
.tk-share-native:hover, .tk-share-native:focus-visible { background: #1d4ed8; color: #fff; }
.tk-share-status { flex-basis: 100%; margin: 0; min-height: 1em; font-size: .84rem; font-weight: 600; color: var(--tk-ok, #16a34a); }
.tk-share-status:empty { display: none; }

/* After a result is downloaded the box is highlighted once. */
.tk-share.is-done { border-color: var(--tk-blue, #2563eb); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14), 0 16px 34px rgba(11, 31, 68, .08); }

/* A small one-time nudge that points to the box when it is off screen. */
.tk-share-nudge { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1050; display: flex; align-items: center; gap: 10px;
    max-width: calc(100vw - 24px); padding: 10px 10px 10px 16px; border-radius: 14px; background: var(--tk-navy, #0b1f44); color: #fff;
    box-shadow: 0 16px 40px rgba(11, 31, 68, .35); font-size: .9rem; }
.tk-share-nudge a { color: #fff; font-weight: 700; text-decoration: underline; }
.tk-share-nudge button { border: 0; background: transparent; color: #cbd5e1; font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 4px 8px; }

@media (max-width: 575px) {
    .tk-share { padding: 16px; }
    .tk-share-btns { width: 100%; }
    .tk-share-btn { flex: 1 1 calc(50% - 8px); justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .tk-share { transition: none; } }
