/* ---------------------------------------------------------------------------
   "You already searched this" notice (js/tf-recent.js).

   Same tokens as the free-tier panel: near-black surface, 1px hairline border,
   gold accent for the advisory icon. Sits between the search form and the
   results on email / username / phone.
   --------------------------------------------------------------------------- */

.tf-recent-slot {
    width: 100%;
}

.tf-recent-slot:empty {
    display: none;
}

.tf-recent {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 640px;
    margin: 12px auto 0;
    padding: 12px 40px 12px 14px;
    box-sizing: border-box;
    background: #0a0a0a;
    border: 1px solid hsla(0, 0%, 100%, 0.12);
    border-left: 3px solid #f5d984;
    border-radius: 10px;
    text-align: left;
    font-size: 13px;
    line-height: 1.5;
    color: #a1a1a1;
}

.tf-recent-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    color: #f5d984;
}

.tf-recent-body {
    flex: 1 1 auto;
    min-width: 0;
}

.tf-recent-text b {
    color: #ededed;
    font-weight: 600;
    /* An email or URL has no spaces to wrap on and would otherwise push the
       notice wider than the phone it is being read on. */
    overflow-wrap: anywhere;
}

.tf-recent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tf-recent-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid hsla(0, 0%, 100%, 0.18);
    border-radius: 7px;
    background: transparent;
    color: #ededed;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.tf-recent-btn:hover {
    border-color: hsla(0, 0%, 100%, 0.36);
    background: hsla(0, 0%, 100%, 0.05);
}

.tf-recent-primary {
    background: #ededed;
    border-color: #ededed;
    color: #0a0a0a;
}

.tf-recent-primary:hover {
    background: #fff;
    border-color: #fff;
}

.tf-recent-close {
    position: absolute;
    top: 8px;
    right: 10px;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: #7d7d7d;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.tf-recent-close:hover {
    color: #ededed;
}

@media (max-width: 520px) {
    .tf-recent-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}
