.nb-cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    padding: 16px;
    pointer-events: none;
}

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

.nb-cookie-consent__panel {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #e5ebf2;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.18);
    pointer-events: auto;
}

.nb-cookie-consent__content {
    min-width: 0;
    flex: 1 1 auto;
}

.nb-cookie-consent__content p {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.6;
    color: #1f2937;
}

.nb-cookie-consent__content a {
    color: #0d1630;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nb-cookie-consent__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nb-cookie-consent__button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #e5ebf2;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nb-cookie-consent__button:hover {
    background: #f8fafc;
}

.nb-cookie-consent__button--primary {
    border-color: #0d1630;
    background: #0d1630;
    color: #ffffff;
}

.nb-cookie-consent__button--primary:hover {
    background: #111827;
}

.nb-cookie-consent__settings {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.nb-cookie-consent__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border: 1px solid #e5ebf2;
    border-radius: 12px;
    background: #f8fafc;
}

.nb-cookie-consent__option strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 800;
    font-size: 14px;
    color: #111827;
}

.nb-cookie-consent__option span {
    display: block;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.45;
    color: #6b7280;
}

.nb-cookie-consent__option input {
    flex: 0 0 auto;
    width: 46px;
    height: 26px;
    accent-color: #0d1630;
    cursor: pointer;
}

.nb-cookie-consent__option--toggle {
    cursor: pointer;
}

.nb-cookie-consent__badge {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef3f8;
    color: #46556a !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .nb-cookie-consent {
        padding: 10px;
    }

    .nb-cookie-consent__panel {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 14px;
    }

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

    .nb-cookie-consent__button {
        width: 100%;
        padding: 0 12px;
    }
}

@media (max-width: 520px) {
    .nb-cookie-consent__actions {
        grid-template-columns: 1fr;
    }

    .nb-cookie-consent__option {
        align-items: flex-start;
        flex-direction: column;
    }

    .nb-cookie-consent__badge {
        white-space: normal;
    }
}
