/* =========================
   RIGHT SOCIAL SIDE TABS
========================= */

.hxb-social-sidebar{
    position: fixed;
    right: 0;
    top: 75%;
    z-index: 99999;
    display: flex;
    flex-direction: column;
}

.hxb-social-link{
    width: 48px;
    height: 48px;
    margin-bottom: 2px;
    background: #ffffff;
    border-radius: 10px 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 6px 18px rgba(0,0,0,.15);
    transition: .3s ease;
}

.hxb-social-link img{
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.hxb-social-link:hover{
    width: 58px;
}

.hxb-instagram{
    border-left: 4px solid #e1306c;
}

.hxb-facebook{
    border-left: 4px solid #1877f2;
}


/* =========================
   LEFT CONTACT SIDE TABS
========================= */

.hxb-floating-actions{
    position: fixed;
    left: 0;
    top: 75%;
    z-index: 99999;
    display: flex;
    flex-direction: column;
}

.hxb-action-btn{
    position: relative;
    width: 52px;
    height: 52px;
    margin-bottom: 2px;
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: 4px 6px 18px rgba(0,0,0,.15);
    transition: .3s ease;
}

.hxb-action-btn img{
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hxb-email-btn{
    background: #d93025;
}

.hxb-whatsapp-btn{
    background: #25d366;
}

.hxb-call-btn{
    background: #0b63ce;
}

.hxb-action-btn span{
    position: absolute;
    left: 58px;
    top: 50%;
    transform: translateY(-50%);
    background: #111827;
    color: #fff;
    padding: 7px 13px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.hxb-action-btn:hover{
    width: 62px;
}

.hxb-action-btn:hover span{
    opacity: 1;
    visibility: visible;
}


/* =========================
   MODAL DIFFERENT STYLE
========================= */

#emailModal .modal-content,
#whatsappModal .modal-content{
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(0,0,0,.25);
}

#emailModal .modal-header,
#whatsappModal .modal-header{
    background: #ffffff;
    border-bottom: 1px solid #eee;
    padding: 18px 22px;
}

#emailModal .modal-title,
#whatsappModal .modal-title{
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

#emailModal .close,
#whatsappModal .close{
    color: #111;
    opacity: 1;
    outline: none;
}

#emailModal .modal-body,
#whatsappModal .modal-body{
    padding: 24px;
    background: #ffffff;
}

#emailModal .form-control,
#whatsappModal .form-control{
    height: 48px;
    border-radius: 6px;
    border: 1px solid #d8d8d8;
    font-size: 14px;
    box-shadow: none !important;
}

#emailModal textarea.form-control,
#whatsappModal textarea.form-control{
    height: auto;
    min-height: 110px;
    resize: none;
}

#emailModal .form-control:focus{
    border-color: #d93025;
}

#whatsappModal .form-control:focus{
    border-color: #25d366;
}

#emailModal .btn-danger,
#whatsappModal .btn-success{
    height: 48px;
    border-radius: 6px;
    font-weight: 700;
    border: none;
}

#emailModal .btn-danger{
    background: #d93025;
}

#whatsappModal .btn-success{
    background: #25d366;
}


/* =========================
   LOADER
========================= */

.loader-circle{
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-left: 8px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: hxbLoader .7s linear infinite;
}

@keyframes hxbLoader{
    to{
        transform: rotate(360deg);
    }
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

    .hxb-social-sidebar{
        right: 0;
        top: 75%;
    }

    .hxb-floating-actions{
        left: 0;
        top: 75%;
    }

    .hxb-social-link{
        width: 42px;
        height: 42px;
        border-radius: 8px 0 0 8px;
    }

    .hxb-action-btn{
        width: 42px;
        height: 42px;
        border-radius: 0 8px 8px 0;
    }

    .hxb-social-link img,
    .hxb-action-btn img{
        width: 21px;
        height: 21px;
    }

    .hxb-action-btn span{
        display: none;
    }

    #emailModal .modal-dialog,
    #whatsappModal .modal-dialog{
        margin: 12px;
    }

    #emailModal .modal-body,
    #whatsappModal .modal-body{
        padding: 18px;
    }
}
