﻿/* ===== Cookie Bar ===== */
.cookiebar {
    position: fixed;
    z-index: 1080;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 45, 45, 0.96);
    color: #fff;
    padding: 14px 0;
    box-shadow: 0 -6px 16px rgba(0,0,0,.25);
    border-top: 1px solid rgba(255,255,255,.08);
    backdrop-filter: saturate(120%) blur(2px);
}

    .cookiebar .cookiebar-inner {
        max-width: 1400px;
    }

    .cookiebar .cookiebar-text {
        font-size: .95rem;
        line-height: 1.55;
    }

    .cookiebar .cookie-link {
        color: #a4d0ff;
        text-decoration: underline;
    }

        .cookiebar .cookie-link:hover {
            color: #c9e2ff;
        }

    .cookiebar .lang-pill {
        background: #3f3f3f;
        color: #e9e9e9;
        border-radius: .35rem;
        font-weight: 700;
        font-size: .75rem;
        padding: .25rem .45rem;
        vertical-align: middle;
    }

    .cookiebar .btn-wrap {
        white-space: nowrap;
    }

/* ปุ่มโทนเดียวกับตัวอย่าง */
.btn-cookie-settings {
    background: #5a5f67;
    border: 1px solid #6b7077;
    color: #fff;
    padding: .5rem 1rem;
    border-radius: .4rem;
}

    .btn-cookie-settings:hover {
        filter: brightness(1.05);
    }

.btn-cookie-accept {
    background: #2b7cff;
    border: 1px solid #1d6fff;
    color: #fff;
    padding: .5rem 1rem;
    border-radius: .4rem;
    font-weight: 600;
}

    .btn-cookie-accept:hover {
        filter: brightness(0.97);
    }

@media (max-width:576px) {
    .cookiebar {
        padding: 12px 0;
    }

    .btn-wrap {
        display: flex;
        gap: 8px;
    }
}
