/* WEDSNAP CONSENT UI V1 */

.ws-consent-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 10000;
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid rgba(120, 85, 90, .22);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(40, 30, 32, .22);
}

.ws-consent-banner[hidden],
.ws-consent-backdrop[hidden] {
    display: none !important;
}

.ws-consent-banner-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 22px;
}

.ws-consent-copy strong {
    display: block;
    margin-bottom: 7px;
    font-size: 1.05rem;
}

.ws-consent-copy p {
    margin: 0 0 8px;
    line-height: 1.55;
}

.ws-consent-copy a {
    color: #824850;
    font-weight: 700;
}

.ws-consent-actions {
    display: grid;
    gap: 8px;
    min-width: 205px;
}

.ws-consent-main-action,
.ws-consent-manage-action {
    min-height: 44px;
    padding: 10px 15px;
    border-radius: 12px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.ws-consent-main-action {
    border: 2px solid #824850;
    background: #824850;
    color: #fff;
}

.ws-consent-main-action:hover,
.ws-consent-main-action:focus-visible {
    background: #6f3d45;
    border-color: #6f3d45;
}

.ws-consent-manage-action {
    border: 1px solid #d9c8cb;
    background: #fff;
    color: #603a40;
}

.ws-consent-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(30, 24, 25, .58);
}

.ws-consent-dialog {
    width: min(640px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 26px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.ws-consent-dialog h2 {
    margin-top: 0;
}

.ws-consent-choice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid #eadfe1;
}

.ws-consent-choice p {
    margin: 5px 0 0;
    line-height: 1.5;
}

.ws-consent-choice input {
    width: 22px;
    height: 22px;
    accent-color: #824850;
}

.ws-consent-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.ws-footer-link-button {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.ws-footer-link-button:hover,
.ws-footer-link-button:focus-visible {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .ws-consent-banner {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .ws-consent-banner-inner {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .ws-consent-actions {
        min-width: 0;
    }

    .ws-consent-main-action,
    .ws-consent-manage-action {
        width: 100%;
    }

    .ws-consent-dialog {
        padding: 20px;
    }

    .ws-consent-dialog-actions {
        display: grid;
    }
}
