.tf-toolbar-bottom .toolbar-item .mega-toolbar-share {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    height: 67px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--main, #000);
    font: inherit;
    cursor: pointer;
}

.mega-toolbar-share .toolbar-icon {
    width: 18px;
    height: 18px;
    position: relative;
    font-size: 18px;
    line-height: 18px;
}

.mega-toolbar-share .toolbar-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
    white-space: nowrap;
}

.mega-toolbar-share:disabled { opacity: .6; cursor: wait; }
.mega-toolbar-share:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }

.mega-page-share-dialog {
    width: min(440px, calc(100% - 32px));
    max-height: calc(100dvh - 48px);
    overflow: auto;
    padding: 24px;
    margin: auto;
    border: 1px solid #e2e7e5;
    border-radius: 16px;
    background: #fff;
    color: #35424b;
    box-shadow: 0 12px 48px rgb(0 0 0 / 18%);
    font-family: inherit;
    text-align: right;
}

.mega-page-share-dialog:not([open]) { display: none; }
.mega-page-share-dialog::backdrop { background: rgb(0 0 0 / 42%); }
.mega-page-share-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mega-page-share-heading h2 { margin: 0; font-size: 18px; line-height: 1.7; font-weight: 600; }
.mega-page-share-heading button { width: 44px; height: 44px; flex-shrink: 0; border: 0; background: transparent; color: inherit; font-size: 28px; cursor: pointer; }
.mega-page-share-dialog p { margin: 12px 0; font-size: 14px; line-height: 1.9; }
.mega-page-share-dialog label { display: block; margin-bottom: 8px; font-size: 13px; }

.mega-page-share-dialog input {
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dce2df;
    border-radius: 8px;
    background: #f7f9f8;
    color: #35424b;
    font: inherit;
    text-align: left;
}

.mega-page-share-dialog .mega-page-share-copy {
    width: 100%;
    min-height: 44px;
    margin-top: 16px;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--primary-color, #35424b);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.mega-page-share-copy:disabled { opacity: .6; cursor: wait; }
.mega-page-share-status { min-height: 26px; }
.mega-page-share-dialog :focus-visible { outline: 2px solid #5e8d74; outline-offset: 3px; }
