.eecrm-cookie-consent,
.eecrm-cookie-modal {
    color: #172033;
    font-family: inherit;
}

.eecrm-cookie-consent[hidden],
.eecrm-cookie-modal[hidden] {
    display: none;
}

.eecrm-cookie-consent {
    bottom: 18px;
    left: 18px;
    position: fixed;
    right: 18px;
    z-index: 99998;
}

.eecrm-cookie-consent__panel {
    align-items: center;
    background: #fff;
    border: 1px solid #d5dbe7;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 auto;
    max-width: 1120px;
    padding: 18px;
}

.eecrm-cookie-consent__eyebrow {
    color: #3f5f8f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.eecrm-cookie-consent h2,
.eecrm-cookie-modal h2,
.eecrm-cookie-choice h3 {
    color: #111827;
    letter-spacing: 0;
    margin: 0;
}

.eecrm-cookie-consent h2 {
    font-size: 21px;
    line-height: 1.2;
    margin-bottom: 7px;
}

.eecrm-cookie-consent p,
.eecrm-cookie-choice p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.eecrm-cookie-consent__actions,
.eecrm-cookie-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.eecrm-cookie-consent__button {
    align-items: center;
    background: #fff;
    border: 1px solid #b7c1d3;
    border-radius: 7px;
    color: #172033;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 42px;
    padding: 10px 16px;
}

.eecrm-cookie-consent__button:hover {
    border-color: #475569;
}

.eecrm-cookie-consent__button--primary {
    background: #1f6feb;
    border-color: #1f6feb;
    color: #fff;
}

.eecrm-cookie-consent__button--primary:hover {
    background: #1d5fc8;
    border-color: #1d5fc8;
}

.eecrm-cookie-consent__button--ghost {
    background: #f8fafc;
}

.eecrm-cookie-modal {
    inset: 0;
    position: fixed;
    z-index: 99999;
}

.eecrm-cookie-modal__backdrop {
    background: rgba(15, 23, 42, 0.44);
    inset: 0;
    position: absolute;
}

.eecrm-cookie-modal__panel {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
    left: 50%;
    max-height: calc(100vh - 32px);
    max-width: 680px;
    overflow: auto;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(calc(100vw - 32px), 680px);
}

.eecrm-cookie-modal__header,
.eecrm-cookie-modal__actions {
    align-items: center;
    border-bottom: 1px solid #e4e8f0;
    display: flex;
    justify-content: space-between;
    padding: 18px;
}

.eecrm-cookie-modal__actions {
    border-bottom: 0;
    border-top: 1px solid #e4e8f0;
}

.eecrm-cookie-modal__close {
    background: transparent;
    border: 0;
    color: #334155;
    cursor: pointer;
    font-size: 30px;
    height: 36px;
    line-height: 1;
    width: 36px;
}

.eecrm-cookie-modal__content {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.eecrm-cookie-choice {
    align-items: center;
    border: 1px solid #d7deea;
    border-radius: 8px;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 15px;
}

.eecrm-cookie-choice input {
    height: 22px;
    width: 22px;
}

.eecrm-cookie-choice__always {
    color: #166534;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .eecrm-cookie-consent {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .eecrm-cookie-consent__panel {
        grid-template-columns: 1fr;
    }

    .eecrm-cookie-consent__actions,
    .eecrm-cookie-modal__actions {
        justify-content: stretch;
    }

    .eecrm-cookie-consent__button {
        flex: 1 1 100%;
    }
}
