/*
 * Broker profile scroll and share affordances.
 * The profile view still owns its base layout styles; these rules only
 * correct the sticky flow and the copy feedback surface.
 */
:root {
    --broker-sticky-top: 85px;
}

.up-sidebar-mini {
    flex: 0 0 auto;
}

.up-btn-primary,
.up-info-phone {
    line-height: 1.35;
}

.up-hero-actions .up-btn-primary {
    color: #fff;
    background: #003c47;
}

.up-hero-actions .up-btn-primary:hover {
    color: #fff;
    background: #0b6f62;
}

.up-info-list li {
    min-height: 30px;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: anywhere;
}

.up-info-list li > svg {
    flex: 0 0 24px;
}

.up-contact-link {
    color: #33423f;
    text-decoration: none;
}

.up-contact-link:hover {
    color: #0b6f62;
    text-decoration: underline;
}

.up-btn .tabler-icon,
.up-join-date .tabler-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.up-btn-primary.is-loading,
.up-info-phone.is-loading {
    cursor: wait;
    opacity: .72;
}

.up-info-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0;
    color: #33423f;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.up-info-phone span {
    overflow-wrap: anywhere;
    font-weight: 600;
}

.up-info-phone small {
    flex: 0 0 auto;
    padding: 3px 7px;
    color: #0b6f62;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    background: #e7f4f0;
    border-radius: 999px;
}

.up-copy-toast {
    position: fixed;
    top: calc(var(--broker-sticky-top, 85px) + 16px);
    right: 20px;
    z-index: 2000;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 11px;
    width: min(360px, calc(100vw - 32px));
    padding: 13px 12px 13px 14px;
    color: #18352e;
    background: rgba(255, 255, 255, .98);
    border: 1px solid #d7ebe3;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(13, 55, 43, .18);
    opacity: 0;
    transform: translate3d(24px, -8px, 0);
    transition: opacity .22s ease, transform .22s ease;
    pointer-events: none;
}

.up-copy-toast[hidden] {
    display: none;
}

.up-copy-toast.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
}

.up-copy-toast__icon {
    display: grid;
    width: 34px;
    height: 34px;
    color: #fff;
    background: #16805c;
    border-radius: 10px;
    place-items: center;
    font-size: 15px;
}

.up-copy-toast__icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.up-copy-toast__icon svg[hidden] {
    display: none;
}

.up-copy-toast.is-error .up-copy-toast__icon {
    background: #bd4c39;
}

.up-copy-toast__content {
    min-width: 0;
}

.up-copy-toast__title,
.up-copy-toast__message {
    display: block;
    margin: 0;
}

.up-copy-toast__title {
    color: #153b31;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.up-copy-toast__message {
    margin-top: 2px;
    color: #71857e;
    font-size: 12px;
    line-height: 1.35;
}

.up-copy-toast__close {
    display: grid;
    width: 28px;
    height: 28px;
    padding: 0;
    color: #80928c;
    background: transparent;
    border: 0;
    border-radius: 8px;
    place-items: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.up-copy-toast__close:hover {
    color: #18352e;
    background: #edf5f1;
}

@media (max-width: 991px) {
    .up-sidebar {
        top: auto;
    }
}

@media (max-width: 576px) {
    .up-copy-toast {
        top: calc(var(--broker-sticky-top, 116px) + 12px);
        right: 12px;
        width: calc(100vw - 24px);
    }
}
