
/* ── Cookie Bar ── */
#lp-cookie-bar {
    position: fixed;
    z-index: 999998;
    left: 0;
    right: 0;
    background: var(--lp-cb-bg, #1f2937);
    color: var(--lp-cb-color, #ffffff);
    padding: 14px 24px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
    box-sizing: border-box;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Vertical position */
#lp-cookie-bar.lp-cb-bottom { bottom: 0; top: auto; box-shadow: 0 -2px 12px rgba(0,0,0,0.15); }
#lp-cookie-bar.lp-cb-top    { top: 0; bottom: auto; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }

/* Horizontal position */
#lp-cookie-bar.lp-cb-full  { left: 0; right: 0; width: 100%; }
#lp-cookie-bar.lp-cb-left  { left: 16px; right: auto; width: 340px; border-radius: 8px; }
#lp-cookie-bar.lp-cb-right { right: 16px; left: auto; width: 340px; border-radius: 8px; }

/* Adjust vertical offset for corner variants */
#lp-cookie-bar.lp-cb-bottom.lp-cb-left,
#lp-cookie-bar.lp-cb-bottom.lp-cb-right { bottom: 16px; }
#lp-cookie-bar.lp-cb-top.lp-cb-left,
#lp-cookie-bar.lp-cb-top.lp-cb-right    { top: 16px; }

/* Hidden state */
#lp-cookie-bar.lp-cb-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}
#lp-cookie-bar.lp-cb-top.lp-cb-hidden {
    transform: translateY(-20px);
}

/* ── Inner layout ── */
.lp-cb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Corner variant: stack vertically */
#lp-cookie-bar.lp-cb-left  .lp-cb-inner,
#lp-cookie-bar.lp-cb-right .lp-cb-inner {
    flex-direction: column;
    align-items: flex-start;
}

/* ── Message ── */
.lp-cb-message {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    color: var(--lp-cb-color, #ffffff);
}

.lp-cb-learn-more {
    color: var(--lp-cb-color, #ffffff);
    text-decoration: underline;
    margin-left: 6px;
    font-size: 14px;
    white-space: nowrap;
}
.lp-cb-learn-more:hover {
    opacity: 0.8;
}

/* ── Buttons ── */
.lp-cb-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lp-cb-btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
    line-height: 1.4;
}
.lp-cb-btn:hover { opacity: 0.85; }

/* Deny — outline style using text color */
.lp-cb-btn-deny {
    background: transparent;
    color: var(--lp-cb-color, #ffffff);
    border: 1px solid var(--lp-cb-color, #ffffff);
}

/* Accept — filled with button color */
.lp-cb-btn-accept {
    background: var(--lp-cb-btn-bg, #f1d600);
    color: var(--lp-cb-btn-color, #000000);
    border: 1px solid transparent;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    #lp-cookie-bar.lp-cb-left,
    #lp-cookie-bar.lp-cb-right {
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        bottom: 0;
        top: auto;
    }
    .lp-cb-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .lp-cb-buttons {
        width: 100%;
        justify-content: flex-end;
    }
}