.scxcl-consent[hidden],
.scxcl-consent__choices[hidden],
.scxcl-button[hidden] {
    display: none !important;
}

.scxcl-consent {
    color: #102033;
    font-family: inherit;
    position: fixed;
    z-index: 999999;
}

.scxcl-layout-bar {
    left: 0;
    right: 0;
}

.scxcl-position-bottom {
    bottom: 0;
}

.scxcl-position-top {
    top: 0;
}

.scxcl-layout-modal {
    inset: 0;
    align-items: center;
    background: rgba(15, 23, 42, 0.36);
    display: flex;
    justify-content: center;
    padding: 20px;
}

.scxcl-consent__inner {
    background: #ffffff;
    border: 1px solid #d9e2e7;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
    margin: 0 auto;
    max-width: 1040px;
    padding: 22px;
}

.scxcl-layout-bar .scxcl-consent__inner {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.scxcl-layout-modal .scxcl-consent__inner {
    border-radius: 8px;
    max-width: 620px;
}

.scxcl-consent h2 {
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 8px;
}

.scxcl-consent p {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.scxcl-consent__privacy {
    display: inline-block;
    font-size: 14px;
    margin-top: 10px;
}

.scxcl-consent__choices {
    border-top: 1px solid #e5edf1;
    display: grid;
    gap: 8px;
    grid-column: 1 / -1;
    margin-top: 4px;
    padding-top: 14px;
}

.scxcl-consent__note {
    color: #64748b;
    font-size: 13px !important;
}

.scxcl-consent__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.scxcl-button,
.scxcl-preferences-button {
    border: 1px solid #0f766e;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 40px;
    padding: 10px 14px;
}

.scxcl-button-primary {
    background: #0f766e;
    color: #ffffff;
}

.scxcl-button-secondary,
.scxcl-preferences-button {
    background: #ffffff;
    color: #0f766e;
}

@media (max-width: 760px) {
    .scxcl-layout-bar .scxcl-consent__inner {
        grid-template-columns: 1fr;
    }

    .scxcl-consent__actions {
        justify-content: flex-start;
    }
}
