/* Anchored callout shared by the saved-search and owner-share controls. */
.action-nudge[hidden],
.action-nudge__action[hidden],
.action-nudge__message[hidden] {
    display: none !important;
}

.action-nudge {
    position: absolute;
    z-index: 3;
    top: calc(100% + 9px);
    right: 0;
    width: min(250px, calc(100vw - 24px));
    border: 1px solid #81add6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(23, 76, 121, 0.18);
}

.action-nudge::before {
    content: "";
    position: absolute;
    top: -6px;
    right: var(--action-nudge-arrow-right, 24px);
    width: 10px;
    height: 10px;
    border-top: 1px solid #81add6;
    border-left: 1px solid #81add6;
    background: #fff;
    transform: rotate(45deg);
}

.action-nudge:has(.action-nudge__action:hover)::before {
    background: #f2f8fe;
}

.action-nudge__action {
    position: relative;
    display: block;
    width: 100%;
    padding: 10px 34px 10px 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #174c79;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
}

.action-nudge__action:hover {
    background: #f2f8fe;
}

.action-nudge__message {
    position: relative;
    margin: 0;
    padding: 10px 34px 10px 12px;
    color: #174c79;
    cursor: default;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
}

.action-nudge__message a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.action-nudge__message a:hover {
    color: #0e5c98;
}

.action-nudge__message a:focus-visible {
    border-radius: 2px;
    outline: 2px solid #0e5c98;
    outline-offset: 1px;
}

.action-nudge__close {
    position: absolute;
    top: 4px;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #4f6f8c;
    cursor: pointer;
    font-size: 12px;
}

.action-nudge__close:hover {
    background: #e0eefb;
    color: #174c79;
}

.action-nudge__action:focus-visible,
.action-nudge__close:focus-visible {
    outline: 2px solid #0e5c98;
    outline-offset: 1px;
}
