:root {
    --primary-color:#FF6F00 ;
    --secondary-color: #004488;
    --font-size: ;
}
html {
    margin: 0 !important;
    padding: 0 !important;
}
.widget-icon {
    background:var(--primary-color);
    padding:10px;
}
a:hover, button:hover, a:active, button:active, a:focus, button:focus {
    background: unset;
    color:#fff;
    border-color:transparent;
    transition: 0.5s ease-in-out;
}
a {
    text-decoration: none;
}
/* 
Backgrounds
*/
.bg-white {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -moz-backdrop-filter: blur(20px);
}
.bg-red {
    background: #d10000;
    color: #fff;
}
body {
    background: linear-gradient(#F2F2F2, #FFDAB9) no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
}
html {
    width: 100%;
    overflow-x: clip;
}
body,p,a,div,span,h1,h2,h3,h4,h5,h6 {
    margin: 0;
    padding: 0;
}
#site-header {
    display: none;
}
.button2 {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    background: #fff;
    border:1px;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
}
.button2:hover, .button2:focus, .button2:active, .pbutton3:hover, .pbutton3:active, .pbutton3:focus {
    background: var(--primary-color);
    color:#fff;
}
.pButton3 {
    padding: 4% 10%;
    border: 1px;
    border-radius: 10px;
    color: #fff;
}
.footer-wrap {
    position: fixed;
    bottom: 1vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
}
.user-footer {
    display: flex;
    flex-direction: row;
    position: relative;
    width: 85%;
    padding: 5% 4%;
    border:1px;
    border-radius: 15px;
    background:#fff;
    align-items:center;
    justify-content: space-between;
}
.user-footer-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    color:#004488;
    font-size: 1.6em;
}
.footer-plex {
    width: 35px;
    height: 35px;
    padding: 5px;
    position: absolute;
    top: -45%;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    background-color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.footer-plex:hover, .footer-plex:active, .footer-plex:focus {
    background-color: var(--secondary-color);
}
.footer-plex img{
    width: 30px;
    height:30px;
    transform: rotate(45deg);
}

.enable-push {
    position: absolute;
    top: -60px;
    left:0px;
}
#enablePush {
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 5px;
    padding:5px 10px;
}
.star-progress-wrap {
    height: 25px;
    width: 150px;
    position: relative;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(25px);
    -moz-backdrop-filter:blur(25px);
    border-radius: 15px;
    box-shadow:  0px 5px rgba(0,0,0,0.5);
}
.star-bar, .star-count {
    position: absolute;
    height:100%;
}
.star-bar {
    background-color: #FF6F00;
    border-radius: 15px;
    left:0;
    top: 0;
}
.star-count {
    font-size: 1rem;
    color: #000;
    right: 5px;
    top:3px;
    z-index: 1;
}
input.plex-input, input[type="text"].plex-input {
    background: rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    padding: 10px;
    border-color: transparent;
}
#back-arrow {
    position: fixed;
    left: 15px;
    top: 3vw;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 9999;
    transition: background 0.2s ease-in-out;
}

#back-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
}
.gained {
    color:darkorange;
}

/* Redeem Star Popup Text*/
.swal2-html-container {
    font-family: sans-serif !important;
}

.user-footer-item {
    position: relative;
}

#user-icon {
    cursor: pointer;
}

#user-icon:hover .user-dropdown {
    display: none;
}

.footer-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.user-dropdown {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    display: none;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.user-dropdown a {
    color: var(--secondary-color);
    font-size: 1.4em;
    transition: color 0.3s ease;
}

.user-dropdown a:hover {
    color: var(--primary-color);
}

/* Add a small arrow at the bottom of dropdown */
.user-dropdown::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
}

#user-icon:hover .user-avatar {
    border-color: var(--primary-color);
}

.plex-header {
    position: relative;
    width: 90%;
    margin:0 auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 70px;
    align-items: center;
    height: 60px;
    background: #fff;
    border-radius: 15px;
    padding: 0 10px;
}

.header-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.notch {
    width: 120px;
    height: 35px;
    background: #E8F4FF;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notch-text {
    color: #004488;
    font-size: 14px;
    font-weight: 500;
}

.widget-icon {
    background: #fff !important;
}

@media (min-width: 1024px) {
    .user-footer {
        width: 30%;
        padding: 20px 15px;
        bottom:2vh;
    }
}