.telmetra-cookie-consent {
    position: fixed;
    inset: auto 1rem 1rem 1rem;
    z-index: 10050;
    color: #e5edf8;
    font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

.telmetra-cookie-consent__card {
    position: relative;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 1.35rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 14px;
    background: linear-gradient(145deg, #0a1628, #13243d);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
}

.telmetra-cookie-consent__intro {
    padding-right: 2.25rem;
}

.telmetra-cookie-consent__eyebrow {
    margin: 0 0 0.35rem;
    color: #67e8f9;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.telmetra-cookie-consent__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.25;
}

.telmetra-cookie-consent__copy {
    max-width: 780px;
    margin: 0.55rem 0 0;
    color: #b8c5d8;
    font-size: 0.94rem;
    line-height: 1.55;
}

.telmetra-cookie-consent a {
    color: #67e8f9;
    text-underline-offset: 0.18em;
}

.telmetra-cookie-consent__close {
    position: absolute;
    top: 0.7rem;
    right: 0.85rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #b8c5d8;
    font-size: 1.6rem;
    line-height: 1;
}

.telmetra-cookie-consent__close:hover,
.telmetra-cookie-consent__close:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.telmetra-cookie-consent__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 1rem;
}

.telmetra-cookie-consent__button {
    min-height: 42px;
    padding: 0.65rem 1rem;
    border: 1px solid transparent;
    border-radius: 9px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.telmetra-cookie-consent__button--primary {
    background: #2f7cf6;
    color: #ffffff;
}

.telmetra-cookie-consent__button--primary:hover,
.telmetra-cookie-consent__button--primary:focus-visible {
    background: #4b8df7;
}

.telmetra-cookie-consent__button--secondary {
    border-color: rgba(184, 197, 216, 0.48);
    background: transparent;
    color: #e5edf8;
}

.telmetra-cookie-consent__button--secondary:hover,
.telmetra-cookie-consent__button--secondary:focus-visible {
    border-color: #67e8f9;
    background: rgba(103, 232, 249, 0.08);
}

.telmetra-cookie-consent__preferences {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.telmetra-cookie-consent__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.telmetra-cookie-consent__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 78px;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 10px;
    background: rgba(15, 32, 54, 0.72);
    cursor: pointer;
}

.telmetra-cookie-consent__option--locked {
    cursor: default;
}

.telmetra-cookie-consent__option strong,
.telmetra-cookie-consent__option small {
    display: block;
}

.telmetra-cookie-consent__option strong {
    color: #ffffff;
    font-size: 0.94rem;
}

.telmetra-cookie-consent__option small {
    margin-top: 0.2rem;
    color: #9fb0c7;
    font-size: 0.79rem;
    line-height: 1.35;
}

.telmetra-cookie-consent__option input {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    accent-color: #2f7cf6;
}

.telmetra-cookie-consent__always-on {
    flex: 0 0 auto;
    color: #67e8f9;
    font-size: 0.76rem;
    font-weight: 700;
}

.remote-session-active .telmetra-cookie-consent {
    display: none !important;
}

@media (min-width: 900px) {
    .telmetra-cookie-consent:not(.telmetra-cookie-consent--expanded) .telmetra-cookie-consent__card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 1.5rem;
    }

    .telmetra-cookie-consent__actions--summary {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .telmetra-cookie-consent {
        inset: auto 0 0 0;
    }

    .telmetra-cookie-consent__card {
        max-height: min(88vh, 720px);
        overflow-y: auto;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 14px 14px 0 0;
        padding: 1.1rem;
    }

    .telmetra-cookie-consent__options {
        grid-template-columns: 1fr;
    }

    .telmetra-cookie-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .telmetra-cookie-consent__button {
        width: 100%;
    }
}
