.sc-consent-hidden {
    display: none !important;
}

.sc-consent-bar,
.sc-consent-dialog,
.sc-consent-trigger {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* Southern Charms dark-purple presentation. */
.sc-consent-bar {
    position: fixed;
    z-index: 2147483000;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 18px 24px;
    border: 0;
    border-top: 1px solid #7b2c83;
    border-radius: 0;
    background: linear-gradient(135deg, #23022c 0%, #470c3a 100%);
    color: #f8f1fa;
    box-shadow: 0 -8px 28px rgba(20, 0, 24, .52);
    font-size: 15px;
    line-height: 1.5;
}

.sc-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    gap: 28px;
}

.sc-consent-summary {
    flex: 1 1 620px;
    min-width: 0;
}

.sc-consent-bar h2,
.sc-consent-dialog h2 {
    margin: 0 0 7px;
    color: #fff;
    font: 600 18px/1.3 Arial, Helvetica, sans-serif;
}

.sc-consent-bar p,
.sc-consent-dialog p {
    margin: 0 0 10px;
}

.sc-consent-bar a,
.sc-consent-dialog a {
    color: #efd9f5;
    text-decoration: underline;
}

.sc-consent-links {
    font-size: 13px;
}

.sc-consent-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
}

.sc-consent-button {
    box-sizing: border-box;
    min-width: 168px;
    min-height: 48px;
    padding: 11px 18px;
    border: 2px solid #d7a8e2;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font: 600 15px/1.2 Arial, Helvetica, sans-serif;
    cursor: pointer;
    text-align: center;
}

.sc-consent-button:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .13);
}

.sc-consent-button:focus {
    outline: 3px solid #efd9f5;
    outline-offset: 3px;
}

.sc-consent-button-primary {
    border-color: #a34fb0;
    background: #7b2c83;
    color: #fff;
}

/* Reject is always the same size and type weight as Accept. */
.sc-consent-button-reject {
    background: transparent;
    color: #fff;
}

.sc-consent-button-secondary {
    border-color: #b98ac5;
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.sc-consent-status {
    max-width: 1600px;
    min-height: 0;
    margin: 8px auto 0 !important;
    color: #ffd7a8;
    font-weight: bold;
}

.sc-consent-status:empty {
    display: none;
}

.sc-consent-backdrop {
    position: fixed;
    z-index: 2147483001;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .55);
}

.sc-consent-dialog {
    position: fixed;
    z-index: 2147483002;
    top: 50%;
    left: 50%;
    width: calc(100% - 28px);
    max-width: 720px;
    max-height: calc(100% - 28px);
    overflow: auto;
    transform: translate(-50%, -50%);
    padding: 24px;
    border: 1px solid #7b2c83;
    border-radius: 8px;
    background: linear-gradient(145deg, #23022c 0%, #470c3a 100%);
    color: #f8f1fa;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .32);
    font-size: 15px;
    line-height: 1.5;
}

.sc-consent-dialog .sc-consent-actions {
    justify-content: flex-start;
    margin-top: 18px;
}

.sc-consent-choice {
    display: block;
    margin: 10px 0;
    padding: 13px 14px;
    border: 1px solid #8d5597;
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
}

.sc-consent-choice label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.sc-consent-choice input {
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: #a34fb0;
}

.sc-consent-choice small {
    display: block;
    margin: 5px 0 0 29px;
    color: #e3d1e7;
}

.sc-consent-choice-locked {
    opacity: .82;
}

.sc-consent-trigger {
    position: fixed;
    z-index: 2147482999;
    right: 10px;
    bottom: 10px;
    padding: 7px 11px;
    border: 1px solid #b98ac5;
    border-radius: 6px;
    background: #23022c;
    color: #fff;
    font: 600 12px/1.2 Arial, Helvetica, sans-serif;
    cursor: pointer;
    opacity: .94;
}

.sc-consent-trigger:hover,
.sc-consent-trigger:focus {
    outline: 2px solid #efd9f5;
    outline-offset: 2px;
    opacity: 1;
}

body.sc-consent-dialog-open {
    overflow: hidden !important;
}

@media (max-width: 980px) {
    .sc-consent-content {
        display: block;
    }

    .sc-consent-actions {
        justify-content: flex-start;
        margin-top: 14px;
    }

    .sc-consent-button {
        flex: 1 1 180px;
    }
}

@media (max-width: 600px) {
    .sc-consent-bar {
        padding: 15px;
        font-size: 14px;
    }

    .sc-consent-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sc-consent-button {
        width: 100%;
        min-width: 0;
    }

    .sc-consent-dialog {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-consent-bar,
    .sc-consent-dialog,
    .sc-consent-trigger {
        scroll-behavior: auto;
    }
}
