.nva-cookie {
    font-family: 'Roboto', sans-serif;
}

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

.nva-cookie__banner {
    position: fixed;
    z-index: 2000;
    right: 0;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    max-height: 75vh;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    border-top: 1px solid #50616c;
    background: #1d1f21;
    box-shadow: 0 -12px 30px rgba(0, 0, 0, .35);
    color: #f5f7f8;
}

.nva-cookie__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.nva-cookie__copy {
    min-width: 0;
}

.nva-cookie__title {
    margin: 0 0 6px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.nva-cookie__description {
    margin: 0;
    color: #dce5e9;
    font-size: 14px;
    line-height: 1.5;
}

.nva-cookie__description a {
    color: #78c8f3;
    text-decoration: underline;
}

.nva-cookie__description a:hover {
    color: #fff;
}

.nva-cookie__actions {
    display: grid;
    flex: 0 0 400px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.nva-cookie__button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 10px 12px;
    border: 1px solid;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.nva-cookie__button--allow {
    border-color: #1f93d1;
    background: #1f93d1;
    color: #fff;
}

.nva-cookie__button--allow:hover {
    border-color: #42ace5;
    background: #42ace5;
    color: #fff;
}

.nva-cookie__button--deny {
    border-color: #dce5e9;
    background: #1d1f21;
    color: #dce5e9;
}

.nva-cookie__button--deny:hover {
    background: #2a3237;
    color: #fff;
}

.nva-cookie__button:focus-visible,
.nva-cookie__settings:focus-visible,
.nva-cookie__description a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.nva-cookie__settings {
    position: fixed;
    z-index: 1999;
    right: 16px;
    bottom: 16px;
    padding: 8px 12px;
    border: 1px solid #dce5e9;
    border-radius: 6px;
    background: #1d1f21;
    color: #dce5e9;
    cursor: pointer;
    font-size: 12px;
}

@media (max-width: 760px) {
    .nva-cookie__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .nva-cookie__actions {
        flex: auto;
    }
}

@media (max-width: 480px) {
    .nva-cookie__actions {
        grid-template-columns: 1fr;
    }
}
