/* ==========================================================
   TDC Floating Hub
   Version : 0.4.4
========================================================== */

.tdc-floating-wrapper {
    position: fixed;
    z-index: 999999;
    left: 10px;
    bottom: 20vh;
}

/* ===========================================
   Floating Button
=========================================== */

.tdc-floating-button {
    padding: 5px 10px 5px 30px;
    height: 40px;
    border-radius: 0 10px 10px 0;
    margin-left: -25px;
    border: none;
    outline: none;
    cursor: pointer;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    transition: .25s;
    background: rgba(214, 40, 40, 0.76);
    backdrop-filter: blur(6.1px);
    -webkit-backdrop-filter: blur(6.1px);
    border: 1px solid rgba(214, 40, 40, 0.29);
}

.tdc-floating-button:hover{
    transform:scale(1.08);
}

.tdc-floating-button:active{
    transform:scale(.95);
}

/* ===========================================
   Popup
=========================================== */

.tdc-floating-popup {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 270px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(.95);
    transition: .25s;
    background: rgba(255, 255, 255, 0.31);
    border-radius: 16px;
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* nanti JS akan menambahkan class ini */

.tdc-floating-popup.show{
    opacity:1;
    visibility:visible;
    transform:
        translateY(0)
        scale(1);
}

.tdc-floating-logo {
    width: 100%;
    height: auto;
    max-width: 25px;
}

/* ===========================================
   Header
=========================================== */

.tdc-popup-header{
    padding:18px;
    border-bottom:1px solid #ececec;
}

.tdc-popup-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
    text-shadow: 0px 0 10px #ffffff;
}

.tdc-popup-subtitle {
    font-size: 13px;
    color: #000000;
    line-height: 1.5;
    text-shadow: 1px -1px 13px #ffffff;
}

/* ===========================================
   Menu
=========================================== */

.tdc-popup-menu{
    padding:8px;
}

.tdc-popup-item{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#222;
    padding:12px;
    border-radius:12px;
    transition:.2s;
}

.tdc-popup-item:hover{
    background:#f5f5f5;
}

.tdc-popup-icon{
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;

}

.tdc-popup-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 1px -1px 13px #ffffff;
}

.tdc-popup-arrow {
    color: #000000;
    transition: .2s;
    text-shadow: 1px -1px 13px #ffffff;
}

.tdc-popup-item:hover
.tdc-popup-arrow{
    transform:translateX(4px);
}

/* ===========================================
   Mobile
=========================================== */

@media(max-width:768px){
    .tdc-floating-popup{
        width:250px;
    }
}