.dg-consent-banner,
.dg-consent-dialog {
    color: #e8eef8;
    background: #111b2b;
    border: 1px solid #34445e;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .38);
    font-family: inherit;
}

.dg-consent-banner {
    position: fixed;
    z-index: 9998;
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: 1050px;
    margin: 0 auto;
    padding: 20px 22px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

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

.dg-consent-copy {
    flex: 1;
    min-width: 0;
}

.dg-consent-copy strong {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-size: 16px;
}

.dg-consent-copy p,
.dg-consent-dialog p {
    margin: 0;
    color: #bdc9da;
    font-size: 13px;
    line-height: 1.65;
}

.dg-consent-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.dg-consent-button {
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.dg-consent-primary {
    color: #061321;
    background: #55d9ef;
}

.dg-consent-secondary {
    color: #e8eef8;
    background: #202d41;
    border-color: #455671;
}

.dg-consent-link {
    padding: 8px;
    color: #8deaff;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.dg-consent-button:focus-visible,
.dg-consent-link:focus-visible,
.dg-consent-preferences:focus-visible,
.dg-consent-close:focus-visible {
    outline: 3px solid #55d9ef;
    outline-offset: 3px;
}

.dg-consent-overlay {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(3, 8, 17, .76);
}

.dg-consent-dialog {
    position: relative;
    width: min(480px, 100%);
    padding: 28px;
    border-radius: 18px;
}

.dg-consent-dialog h2 {
    margin: 0 35px 12px 0;
    color: #fff;
    font-size: 21px;
}

.dg-consent-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    color: #e8eef8;
    background: transparent;
    border: 0;
    font-size: 27px;
    cursor: pointer;
}

.dg-consent-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 22px 0;
    padding: 16px;
    border: 1px solid #34445e;
    border-radius: 12px;
}

.dg-consent-toggle strong,
.dg-consent-toggle small {
    display: block;
}

.dg-consent-toggle strong {
    color: #fff;
    font-size: 14px;
}

.dg-consent-toggle small {
    margin-top: 5px;
    color: #aebbd0;
    font-size: 11px;
}

.dg-consent-toggle input {
    width: 21px;
    height: 21px;
    accent-color: #55d9ef;
    flex: none;
}

.dg-consent-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.dg-consent-preferences {
    position: fixed;
    z-index: 9997;
    right: 14px;
    bottom: 12px;
    padding: 8px 11px;
    color: #dce9f8;
    background: #172337;
    border: 1px solid #455671;
    border-radius: 8px;
    font: inherit;
    font-size: 10px;
    cursor: pointer;
    opacity: .88;
}

@media (max-width: 700px) {
    .dg-consent-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: block;
        padding: 17px;
    }

    .dg-consent-actions {
        justify-content: stretch;
        margin-top: 13px;
    }

    .dg-consent-actions .dg-consent-button {
        flex: 1 1 100%;
    }

    .dg-consent-actions .dg-consent-link {
        flex: 1 1 100%;
    }

    .dg-consent-dialog {
        padding: 23px 18px;
    }

    .dg-consent-dialog-actions .dg-consent-button {
        flex: 1 1 100%;
    }

    .dg-consent-preferences {
        right: 8px;
        bottom: 8px;
    }
}
