.jydag-cookie-panel {
    position: fixed;
    z-index: 9990;
    inset: auto 20px 20px;
    max-width: 620px;
    margin-inline: auto;
    padding: clamp(16px, 3vw, 25px);
    border: 1px solid #aebfd4;
    border-radius: 10px;
    background: #fff;
    color: #172c45;
    box-shadow: 0 12px 42px rgb(14 34 58 / 18%);
}

.jydag-cookie-panel[hidden] {
    display: none;
}

.jydag-cookie-panel h2 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.25;
}

.jydag-cookie-panel p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.55;
}

.jydag-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jydag-cookie-actions button,
.jydag-cookie-settings {
    min-height: 44px;
    cursor: pointer;
    border: 1px solid currentColor;
    border-radius: 5px;
    padding: 6px 12px;
    background: transparent;
    color: inherit;
    font: inherit;
}

.jydag-cookie-actions button:hover,
.jydag-cookie-actions button:focus-visible {
    background: #eef4fc;
}

@media (max-width: 580px) {
    .jydag-cookie-panel {
        inset: auto 12px 12px;
    }
    .jydag-cookie-actions button {
        flex: 1 0 100%;
    }
}
