.knw-ss {
    width: 100%;
}

.knw-ss-intro {
    max-width: 1180px;
    margin: 0 auto 28px;
    text-align: center;
}

.knw-ss-intro-heading {
    margin: 0 0 18px;
}

.knw-ss-intro-text p {
    margin: 0 0 14px;
}

.knw-ss-intro-text p:last-child {
    margin-bottom: 0;
}

.knw-ss-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

.knw-ss-button {
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 1 220px;
    width: 220px;
    max-width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #fff;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}

.knw-ss-button:hover,
.knw-ss-button:focus-visible {
    color: #fff;
    filter: brightness(.90);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .16);
}

.knw-ss-button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 2px;
}

.knw-ss-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: 0 0 auto;
}

.knw-ss-facebook {
    background: #1877f2;
    border-color: #1877f2;
}

.knw-ss-x {
    background: #000;
    border-color: #000;
}

.knw-ss-whatsapp {
    background: #25d366;
    border-color: #25d366;
}

.knw-ss-telegram {
    background: #229ed9;
    border-color: #229ed9;
}

.knw-ss-email {
    background: #3f3f3f;
    border-color: #3f3f3f;
}

.knw-ss-trustpilot {
    background: #00b67a;
    border-color: #00b67a;
}

.knw-ss-dialog[hidden] {
    display: none !important;
}

.knw-ss-dialog {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.knw-ss-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
}

.knw-ss-dialog-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 540px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 24px;
    border-radius: 8px;
    background: #fff;
    color: #222;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.knw-ss-dialog-panel h2 {
    margin-top: 0;
}

.knw-ss-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.knw-ss-dialog-actions button {
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}

.knw-ss-cancel {
    border: 1px solid #777;
    background: #fff;
    color: #222;
}

.knw-ss-continue {
    border: 1px solid #222;
    background: #222;
    color: #fff;
}

html.knw-ss-dialog-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .knw-ss-buttons {
        gap: 10px;
    }

    .knw-ss-button {
        flex-basis: 220px;
        width: 220px;
    }

    .knw-ss-dialog-actions {
        flex-direction: column-reverse;
    }

    .knw-ss-dialog-actions button {
        width: 100%;
    }
}
