
.floating-contact-buttons{
    position:fixed;
    inset-inline-end:24px;
    bottom:4vh;
    transform:translateY(-50%);
    z-index:999;
    display:flex;
    flex-direction:column;
    gap:14px;
    top:unset !important;
}

.appointment-btn{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:flex-start;

    width:205px;
    height:62px;

    padding-inline-start:72px;
    padding-inline-end:16px;

    border-radius:999px;
    
    color:#fff;
    text-decoration:none;

    overflow:hidden;
    white-space:nowrap;

    box-shadow:0 12px 26px rgba(11,47,111,.18);

    transition:
        width .42s cubic-bezier(.22,1,.36,1),
        height .32s ease,
        padding-inline-start .42s cubic-bezier(.22,1,.36,1),
        padding-inline-end .42s cubic-bezier(.22,1,.36,1),
        box-shadow .30s ease,
        transform .30s ease;
}
@media (max-width:768px){

    .floating-contact-buttons{
        inset-inline-end:16px;
        bottom:20px;
        gap:12px;
    }

    .appointment-btn{
        width:60px !important;
        height:60px !important;

        padding-inline-start:0 !important;
        padding-inline-end:0 !important;

        justify-content:center;
    }

    .appointment-btn .floating-icon{
        position:relative;
        inset-inline-start:auto;
        top:auto;
        transform:none;

        width:60px;
        height:60px;
    }

    .appointment-btn .text{
        display:none;
    }

    /* mobilde hover açılmasın */
    body.scrolled .appointment-btn:hover{
        width:60px !important;
        height:60px !important;

        padding-inline-start:0 !important;
        padding-inline-end:0 !important;
    }

}
.appointment-btn .floating-icon{
    position:absolute;
    inset-inline-start:0;
    top:50%;
    transform:translateY(-50%);
    width:62px;
    height:62px;
    border-radius:50%;
    

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 8px 18px rgba(11,47,111,.20);
}

.appointment-btn .floating-icon img{
    width:26px;
    height:26px;
    object-fit:contain;
}

/* TEXT */
.appointment-btn .text{
    font-size:17px;
    font-weight:700;
    line-height:1.1;
    opacity:1;
    transform:translateX(0);

    transition:
        opacity .22s ease,
        transform .35s ease;
}

.appointment-btn .text-2line{
    line-height:1.05;
}

.appointment-btn:hover{
    transform:translateX(-4px);
    box-shadow:0 16px 30px rgba(11,47,111,.24);
}

body.scrolled .appointment-btn{
    width:60px;
    height:60px;

    padding-inline-start:0;
    padding-inline-end:0;
}

body.scrolled .appointment-btn .floating-icon{
    width:60px;
    height:60px;
}

body.scrolled .appointment-btn .text{
    opacity:0;
    transform:translateX(12px);
}

body.scrolled .appointment-btn:hover{
    width:205px;
    height:62px;

    padding-inline-start:92px;
    padding-inline-end:16px;

    transform:translateX(-4px);
}

body.scrolled .appointment-btn:hover .floating-icon{
    width:62px;
    height:62px;
}

body.scrolled .appointment-btn:hover .text{
    opacity:1;
    transform:translateX(0);
}

.appointment-btn:hover {
    padding-inline-start:70px !important;
}
