.mcc-cookie-consent {
    font-family: Inter, Arial, Helvetica, sans-serif;
}

.mcc-cookie-consent__footer-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: rgba(255, 255, 255, 0.72);
    font: inherit;
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.mcc-cookie-consent__footer-link:hover,
.mcc-cookie-consent__footer-link:focus {
    color: #ffffff;
}

.mcc-cookie-banner {
    position: fixed;
    right: 22px;
    bottom: 22px;
    left: 22px;
    z-index: 1200;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    max-width: 1180px;
    margin-inline: auto;
    padding: 22px 24px;
    color: #ffffff;
    background: #07111f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
}

.mcc-cookie-banner[hidden],
.mcc-cookie-modal[hidden] {
    display: none !important;
}

.mcc-cookie-banner__copy strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.2;
}

.mcc-cookie-banner__copy p {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.45;
}

.mcc-cookie-banner__copy a {
    display: inline-flex;
    margin-top: 8px;
    color: #7fc4ff;
    font-weight: 700;
}

.mcc-cookie-banner__actions,
.mcc-cookie-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.mcc-cookie-banner__actions {
    justify-content: flex-end;
}

.mcc-cookie-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    color: #ffffff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.mcc-cookie-button--primary {
    background: #0073cf;
}

.mcc-cookie-button--primary:hover,
.mcc-cookie-button--primary:focus {
    background: #1688e8;
}

.mcc-cookie-button--secondary {
    background: rgba(255, 255, 255, 0.13);
}

.mcc-cookie-button--secondary:hover,
.mcc-cookie-button--secondary:focus {
    background: rgba(255, 255, 255, 0.22);
}

.mcc-cookie-button--text {
    min-height: auto;
    padding: 0;
    color: #7fc4ff;
    text-decoration: underline;
    text-underline-offset: 3px;
    background: transparent;
    border-radius: 0;
}

.mcc-cookie-button--text:hover,
.mcc-cookie-button--text:focus {
    color: #ffffff;
    background: transparent;
}

.mcc-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mcc-cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.64);
}

.mcc-cookie-modal__dialog {
    position: relative;
    width: min(100%, 680px);
    max-height: min(760px, calc(100vh - 48px));
    overflow: auto;
    padding: 28px;
    color: #ffffff;
    background: #07111f;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.mcc-cookie-modal__close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 34px;
    height: 34px;
    padding: 0;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.mcc-cookie-modal__dialog h2 {
    margin: 0 42px 10px 0;
    color: #ffffff;
    font-size: clamp(1.6rem, 3vw, 2rem);
    line-height: 1.1;
}

.mcc-cookie-modal__dialog > p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    line-height: 1.55;
}

.mcc-cookie-choice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.mcc-cookie-choice strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 1rem;
}

.mcc-cookie-choice p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    line-height: 1.45;
}

.mcc-cookie-choice span {
    color: #7fc4ff;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.mcc-cookie-choice input {
    width: 22px;
    height: 22px;
    accent-color: #0073cf;
}

.mcc-cookie-modal__actions {
    margin-top: 18px;
}

@media (max-width: 760px) {
    .mcc-cookie-banner {
        grid-template-columns: 1fr;
        right: 14px;
        bottom: 14px;
        left: 14px;
        gap: 18px;
        padding: 20px;
    }

    .mcc-cookie-banner__actions {
        justify-content: flex-start;
    }

    .mcc-cookie-button {
        flex: 1 1 auto;
    }

    .mcc-cookie-button--text {
        flex-basis: 100%;
        justify-content: flex-start;
    }

    .mcc-cookie-modal {
        align-items: flex-start;
        padding: 14px;
    }

    .mcc-cookie-modal__dialog {
        max-height: calc(100vh - 28px);
        padding: 24px 20px;
    }

    .mcc-cookie-choice {
        grid-template-columns: 1fr;
    }
}
