*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
.hidden{
    visibility: hidden;
}

/* Floating Button */

#support-button{

    width:64px;
    height:64px;

    border-radius:50%;

    background:#0052ff;

    display:flex;

    justify-content:center;

    align-items:center;

    color:white;

    font-size:24px;

    cursor:pointer;

    box-shadow:0 15px 40px rgba(0,0,0,.18);

    transition:.35s;
}
#support-widget{

    position:fixed;

    right:25px;

    bottom:25px;

    z-index:9999;

}

/* Support Panel */

#support-panel{

    position:absolute;

    right:0;

    bottom:0;

    width:380px;

    height:650px;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 20px 60px rgba(0,0,0,.20);

    transform:scale(.25);

    opacity:0;

    visibility:hidden;

    transform-origin:bottom right;

    transition:.35s ease;

}

#support-widget.open #support-button{

    opacity:0;

    transform:scale(.8);

    pointer-events:none;

}

#support-widget.open #support-panel{

    transform:scale(1);

    opacity:1;

    visibility:visible;

}

/* Header */

.support-header{
    height:70px;

    background:#0052ff;
    color:#fff;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 20px;
}

.support-header button{
    background:none;
    border:none;
    color:#fff;
    font-size:22px;
    cursor:pointer;
}

/* Content Area */

.support-content{
    position:relative;
    height:calc(100% - 70px);
    overflow:hidden;
}

/* Pages */

.support-page{
    position:absolute;
    inset:0;

    background:#fff;

    transform:translateX(100%);
    opacity:0;

    pointer-events:none;

    transition:.35s ease;
}

.support-page.active{
    transform:translateX(0);
    opacity:1;
    pointer-events:auto;
}

/* Page Content */

.page-content{
    padding:25px;
}

.page-content h2{
    margin-bottom:10px;
}

.page-content p{
    color:#666;
    margin-bottom:20px;
}

/* Buttons */

.support-option{
    width:100%;

    padding:16px;

    margin-top:15px;

    border-radius:12px;

    border:1px solid #ddd;

    background:#fff;

    cursor:pointer;

    transition:.2s;
}

.support-option:hover{
    border-color:#0052ff;
    background:#f5f9ff;
}

/* Input */

.support-input{
    width:100%;

    padding:14px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:15px;

    outline:none;
}

.support-input:focus{
    border-color:#0052ff;
}

/* Main Blue Button */

.support-primary{
    width:100%;

    padding:15px;

    margin-top:20px;

    border:none;

    border-radius:10px;

    background:#0052ff;

    color:#fff;

    cursor:pointer;

    font-size:15px;
}

/* Header Buttons */

.header-btn{
    width:36px;
    height:36px;

    border:none;

    background:none;

    color:#fff;

    cursor:pointer;
}

/* Mobile */

@media(max-width:500px){

    #support-panel{

        width:calc(100% - 20px);

        right:10px;
        left:10px;

        bottom:90px;
    }

}