/* =========================
   UX PANEL
========================= */

#ux-panel {

    position: fixed;

    bottom: 20px;

    left: 50%;

    transform: translateX(-50%);

    width: calc(100% - 40px);

    max-width: 900px;

    background:
            linear-gradient(
                    135deg,
                    #13324f 0%,
                    #0f2740 45%,
                    #091a2c 100%
            );

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 16px;

    padding: 18px 22px;

    z-index: 999999;

    box-shadow:
            0 10px 35px rgba(0,0,0,0.35);

    backdrop-filter: blur(10px);

    animation: uxShow .3s ease;

    overflow: hidden;
}

/* LIGHT EFFECT */

#ux-panel::before {

    content: '';

    position: absolute;

    top: -120px;

    right: -120px;

    width: 260px;

    height: 260px;

    background:
            radial-gradient(
                    circle,
                    rgba(255,255,255,0.10) 0%,
                    transparent 70%
            );

    pointer-events: none;
}

/* BORDER */

#ux-panel::after {

    content: '';

    position: absolute;

    inset: 0;

    border-radius: 16px;

    border: 1px solid rgba(255,255,255,0.04);

    pointer-events: none;
}

/* ANIMATION */

@keyframes uxShow {

    from {

        opacity: 0;

        transform:
                translateX(-50%)
                translateY(20px);
    }

    to {

        opacity: 1;

        transform:
                translateX(-50%)
                translateY(0);
    }
}

/* TYPOGRAPHY */

#ux-panel h1 {
    font-size: 36px;
}

#ux-panel h2 {
    font-size: 34px;
}

#ux-panel h1,
#ux-panel h2,
#ux-panel h3,
#ux-panel h4,
#ux-panel h5 {

    color: #fff !important;
}

.desc h1,
.desc h2,
.desc h3,
.desc h4,
.desc h5 {

    color: #000 !important;
}

.exept h1,
.exept h2,
.exept h3,
.exept h4,
.exept h5 {

    color: #000 !important;
}

#ux-panel p,
#ux-panel ul li {

    color: #fff !important;
}

/* CONTAINER */

#ux-panel .ux-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

/* TEXT */

#ux-panel .ux-text {

    color: rgba(255,255,255,0.82);

    font-size: 14px;

    line-height: 1.5;

    max-width: 580px;

    font-family: Inter, sans-serif;
}

#ux-panel .ux-text strong {

    color: #fff;
}

#ux-panel .ux-text a {

    color: #fff;

    text-decoration: none;
}

#ux-panel .ux-text a:hover {

    text-decoration: underline;
}

/* BUTTONS */

#ux-panel .ux-buttons {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

#ux-panel button {

    border: none;

    border-radius: 12px;

    padding: 11px 18px;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;
}

/* PRIMARY */

#btn-allow {

    background: #ff5a1f;

    color: #fff;
}

#btn-allow:hover {

    background: #ff6d3a;
}

/* SECONDARY */

#btn-options,
#btn-basic {

    background: rgba(255,255,255,0.06);

    color: #fff;

    border: 1px solid rgba(255,255,255,0.08);
}

#btn-options:hover,
#btn-basic:hover {

    background: rgba(255,255,255,0.12);
}

/* =========================
   UX MODAL
========================= */

#ux-preferences {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.6);

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 9999999;

    padding: 20px;
}

/* MODAL BOX */

.ux-modal-box {

    width: 100%;

    max-width: 620px;

    background: #fff;

    border-radius: 18px;

    padding: 28px;

    box-shadow:
            0 20px 60px rgba(0,0,0,0.35);
}

/* TITLES */

.ux-modal-box h3 {

    margin-top: 0;

    margin-bottom: 24px;

    color: #111;
}

/* GROUPS */

.ux-group {

    margin-bottom: 22px;

    padding-bottom: 18px;

    border-bottom: 1px solid #eee;
}

.ux-group label {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 15px;

    color: #111;
}

.ux-group input {

    width: 18px;

    height: 18px;
}

/* DESCRIPTION */

.ux-description {

    margin-top: 8px;

    margin-left: 30px;

    color: #555;

    font-size: 14px;

    line-height: 1.5;
}

/* MODAL BUTTONS */

.ux-modal-buttons {

    display: flex;

    justify-content: flex-end;

    gap: 12px;

    margin-top: 25px;
}

.ux-modal-buttons button {

    border: none;

    border-radius: 12px;

    padding: 12px 20px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: .25s ease;
}

/* CLOSE */

#btn-close-ux {

    background: #f3f3f3;

    color: #222;
}

#btn-close-ux:hover {

    background: #e7e7e7;
}

/* SAVE */

#btn-save-ux {

    background: #ff5a1f;

    color: #fff;
}

#btn-save-ux:hover {

    background: #ff6d3a;
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px) {

    #ux-panel {

        bottom: 10px;

        width: calc(100% - 20px);

        padding: 16px;
    }

    #ux-panel .ux-container {

        flex-direction: column;

        align-items: flex-start;
    }

    #ux-panel .ux-buttons {

        width: 100%;
    }

    #ux-panel button {

        flex: 1;
    }

    .ux-modal-box {

        padding: 22px;
    }

    .ux-modal-buttons {

        flex-direction: column;
    }

    .ux-modal-buttons button {

        width: 100%;
    }
}