.ss-share-submit {
    appearance: none;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.ss-share-button {
    line-height: 2.4rem;
}

.ss-share-modal[hidden] {
    display: none !important;
}

.ss-share-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 20px;
}

.ss-share-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.58);
    backdrop-filter: blur(3px);
}

.ss-share-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: #fff;
    color: #111827;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 24px 80px rgba(0,0,0,.22);
}

.ss-share-dialog h2 {
    margin: 0 32px 6px 0;
    font-size: 24px;
    line-height: 1.2;
}

.ss-share-intro {
    margin: 0 0 22px;
    color: #667085;
}

.ss-share-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #667085;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.ss-share-dialog label {
    display: block;
    margin-bottom: 16px;
}

.ss-share-dialog label > span {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
}

.ss-share-dialog label small {
    font-weight: 400;
    color: #98a2b3;
}

.ss-share-dialog input {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    padding: 10px 12px;
    font: inherit;
    color: inherit;
    background: #fff;
}

.ss-share-dialog input:focus {
    outline: 2px solid currentColor;
    outline-offset: 1px;
}

.ss-share-privacy {
    margin: 0 0 16px;
    font-size: 12px;
    line-height: 1.5;
    color: #98a2b3;
}

.ss-share-submit {
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
    background: #111827;
    color: #fff;
}

.ss-share-submit:disabled {
    opacity: .55;
    cursor: wait;
}

.ss-share-status {
    min-height: 20px;
    margin-top: 12px;
    font-size: 13px;
}

.ss-share-status.is-success {
    color: #067647;
}

.ss-share-status.is-error {
    color: #b42318;
}

.ss-share-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.ss-share-modal-open {
    overflow: hidden;
}


.ss-share-success[hidden] {
    display: none !important;
}

.ss-share-success {
    padding: 24px 4px 8px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
    text-align: center;
    color: #067647;
}
