.danel-cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.danel-cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
}

.danel-cookie-bar--bottom {
    bottom: 0;
}

.danel-cookie-bar--top {
    top: 0;
}

.danel-cookie-bar--popup {
    left: 50%;
    right: auto;
    bottom: 24px;
    transform: translateX(-50%);
    max-width: 480px;
    border-radius: 8px;
}

.danel-cookie-bar__message {
    flex: 1 1 320px;
    font-size: 14px;
    line-height: 1.5;
}

.danel-cookie-bar__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.danel-cookie-bar__actions .action {
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 13px;
}

.danel-cookie-bar__actions .action.primary {
    border-color: transparent;
}

.danel-cookie-settings-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.danel-cookie-settings {
    background: #fff;
    color: #1f2430;
    max-width: 520px;
    width: 92%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 24px;
}

.danel-cookie-settings h2 {
    margin-top: 0;
}

.danel-cookie-settings__row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.danel-cookie-settings__name {
    font-weight: 600;
}

.danel-cookie-settings__desc {
    grid-column: 2;
    font-size: 13px;
    color: #666;
}

.danel-cookie-settings__footer {
    margin-top: 16px;
    text-align: right;
}

.danel-cookie-settings__footer .action {
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    background: #3c8f5f;
    color: #fff;
    cursor: pointer;
}
