﻿/* Cookie banner + modal (dark-glass theme) */
.cookieBanner {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 99999;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    padding: 14px;
    display: none;
}

.cookieRow {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap
}

.cookieTitle {
    color: #fff;
    font-weight: 950;
    font-size: 15px;
    margin: 0 0 6px
}

.cookieText {
    color: rgba(255,255,255,.78);
    font-weight: 750;
    line-height: 1.45;
    margin: 0;
    max-width: 760px
}

.cookieLinks {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.cookieLink {
    color: #b780ff;
    font-weight: 950;
    text-decoration: none
}

    .cookieLink:hover {
        text-decoration: underline
    }

.cookieBtns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center
}

.cookieBtn {
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

    .cookieBtn.primary {
        background: rgb(245, 41, 6);
        border-color: rgba(245,41,6,.6)
    }

    .cookieBtn.ghost {
        background: rgba(255,255,255,.06)
    }

    .cookieBtn:hover {
        filter: brightness(1.06)
    }

/* Modal overlay */
.cookieOverlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0,0,0,.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cookieModal {
    width: min(680px, 100%);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgb(25 10 40 / 78%);
    backdrop-filter: blur(16px) saturate(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    box-shadow: 0 22px 50px rgba(0,0,0,.55);
    overflow: hidden;
}

.cookieModalHead {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.cookieModalTitle {
    color: #fff;
    font-weight: 950;
    font-size: 16px;
    margin: 0
}

.cookieClose {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-weight: 950;
    cursor: pointer;
}

    .cookieClose:hover {
        background: rgba(255,255,255,.10)
    }

.cookieModalBody {
    padding: 14px 16px
}

.cookieP {
    color: rgba(255,255,255,.78);
    font-weight: 750;
    line-height: 1.5;
    margin: 0 0 12px
}

.cookieOpt {
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
    padding: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.cookieOptTitle {
    color: #fff;
    font-weight: 950;
    margin: 0 0 6px;
    font-size: 14px
}

.cookieOptDesc {
    color: rgba(255,255,255,.72);
    font-weight: 750;
    margin: 0;
    line-height: 1.4
}

.cookieOptLeft {
    min-width: 0
}

.cookieToggle {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .cookieToggle input {
        width: 48px;
        height: 28px;
        appearance: none;
        -webkit-appearance: none;
        border-radius: 999px;
        background: rgba(255,255,255,.18);
        border: 1px solid rgba(255,255,255,.14);
        position: relative;
        outline: none;
        cursor: pointer;
    }

        .cookieToggle input::after {
            content: "";
            position: absolute;
            top: 3px;
            left: 3px;
            width: 22px;
            height: 22px;
            border-radius: 999px;
            background: #fff;
            transition: transform .18s ease;
        }

        .cookieToggle input:checked {
            background: rgba(247,198,0,.35);
            border-color: rgba(247,198,0,.45);
        }

            .cookieToggle input:checked::after {
                transform: translateX(20px)
            }

        .cookieToggle input:disabled {
            opacity: .55;
            cursor: not-allowed
        }

.cookieModalFoot {
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,.10);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
