.eo-consent,
.eo-consent * {
    box-sizing: border-box;
}

.eo-consent {
    color: #0f274d;
    font-family: inherit;
}

.eo-consent [hidden] {
    display: none !important;
}

.eo-consent__banner {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbe7f5;
    border-radius: 18px;
    bottom: 18px;
    box-shadow: 0 20px 60px rgba(15, 39, 77, .18);
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) auto;
    left: 50%;
    max-width: 1060px;
    padding: 22px;
    position: fixed;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    z-index: 10020;
}

.eo-consent__copy h2,
.eo-consent__dialog h2 {
    color: #0b2c5f;
    font-size: 1.25rem;
    line-height: 1.25;
    margin: 0 0 8px;
}

.eo-consent__copy p,
.eo-consent__dialog > p {
    color: #425879;
    font-size: .94rem;
    line-height: 1.55;
    margin: 0 0 8px;
}

.eo-consent__policy,
.eo-consent__dialog-policy a {
    color: #075ca8;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.eo-consent__actions,
.eo-consent__dialog-actions {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.eo-consent__actions {
    justify-content: flex-end;
    max-width: 480px;
}

.eo-consent__button,
.eo-consent__close,
.eo-consent__settings {
    appearance: none;
    cursor: pointer;
    font: inherit;
    min-height: 44px;
}

.eo-consent__button {
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 750;
    line-height: 1.2;
    padding: 11px 16px;
}

.eo-consent__button--primary {
    background: #075ca8;
    color: #ffffff;
}

.eo-consent__button--primary:hover {
    background: #064b89;
}

.eo-consent__button--secondary {
    background: #f2f7fc;
    border-color: #a9bfd8;
    color: #0b2c5f;
}

.eo-consent__button--plain {
    background: transparent;
    border-color: #d3dfed;
    color: #075ca8;
}

.eo-consent button:focus-visible,
.eo-consent a:focus-visible,
.eo-consent input:focus-visible {
    outline: 3px solid #19a7df;
    outline-offset: 3px;
}

.eo-consent__backdrop {
    background: rgba(8, 26, 52, .58);
    inset: 0;
    position: fixed;
    z-index: 10030;
}

.eo-consent__dialog {
    background: #ffffff;
    border: 1px solid #dbe7f5;
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(8, 26, 52, .32);
    left: 50%;
    max-height: calc(100vh - 32px);
    max-width: 620px;
    overflow: auto;
    padding: 24px;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    z-index: 10040;
}

.eo-consent__dialog-header {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.eo-consent__eyebrow {
    color: #187eb9 !important;
    font-size: .75rem !important;
    font-weight: 800;
    letter-spacing: .08em;
    margin: 0 0 5px !important;
    text-transform: uppercase;
}

.eo-consent__close {
    align-items: center;
    background: #f2f7fc;
    border: 1px solid #d3dfed;
    border-radius: 50%;
    color: #0b2c5f;
    display: inline-flex;
    flex: 0 0 44px;
    font-size: 1.55rem;
    justify-content: center;
    line-height: 1;
    width: 44px;
}

.eo-consent__categories {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.eo-consent__category {
    align-items: center;
    background: #f8fbfe;
    border: 1px solid #dbe7f5;
    border-radius: 13px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    min-height: 72px;
    padding: 14px 16px;
}

.eo-consent__category strong,
.eo-consent__category span {
    display: block;
}

.eo-consent__category strong {
    color: #0b2c5f;
    font-size: .98rem;
    margin-bottom: 3px;
}

.eo-consent__category span span {
    color: #536984;
    font-size: .84rem;
    line-height: 1.4;
}

.eo-consent__category input {
    accent-color: #075ca8;
    flex: 0 0 24px;
    height: 24px;
    width: 24px;
}

.eo-consent__always {
    color: #166534;
    font-size: .78rem;
    font-weight: 800;
    text-align: right;
}

.eo-consent__dialog-policy {
    margin: 0 0 18px;
}

.eo-consent__settings {
    background: #ffffff;
    border: 1px solid #b8cadf;
    border-radius: 999px;
    bottom: 14px;
    box-shadow: 0 8px 28px rgba(15, 39, 77, .14);
    color: #0b2c5f;
    font-size: .82rem;
    font-weight: 750;
    left: 14px;
    padding: 10px 15px;
    position: fixed;
    z-index: 10010;
}

.eo-consent__status {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

@media (max-width: 760px) {
    .eo-consent__banner {
        align-items: stretch;
        bottom: 10px;
        gap: 16px;
        grid-template-columns: 1fr;
        padding: 18px;
        width: calc(100% - 20px);
    }

    .eo-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
        max-width: none;
    }

    .eo-consent__button {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .eo-consent__dialog {
        max-height: calc(100vh - 20px);
        padding: 19px;
        width: calc(100% - 20px);
    }

    .eo-consent__category {
        align-items: flex-start;
    }

    .eo-consent__dialog-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eo-consent * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
