/* =========================================================
   Contact Widget Container
   ========================================================= */

.contact-widget {
    position: fixed;
    right: 40px;
    bottom: 96px;
    z-index: 9000;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 12px;
}

/* =========================================================
   Contact Actions
   ========================================================= */

.contact-widget__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 12px;

    visibility: hidden;
    opacity: 0;

    transform: translateY(12px);

    pointer-events: none;

    transition: opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.contact-widget--active
.contact-widget__actions {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);

    pointer-events: auto;
}

/* =========================================================
   Contact Action Item
   ========================================================= */

.contact-widget__action {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    color: #17324b;
    text-decoration: none;

    transition: transform 0.2s ease;
}

.contact-widget__action:hover {
    color: #17324b;

    text-decoration: none;

    transform: translateX(-4px);
}

.contact-widget__label {
    padding: 7px 12px;

    border-radius: 6px;

    background: #ffffff;
    color: #17324b;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}

.contact-widget__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: #129bf4;
    color: #ffffff;

    font-size: 22px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   Main Toggle Button
   ========================================================= */

.contact-widget__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border: 0;
    border-radius: 50%;

    background: #129bf4;
    color: #ffffff;

    font-size: 24px;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);

    cursor: pointer;

    transition: transform 0.2s ease,
    background-color 0.2s ease;
}

.contact-widget__toggle:hover {
    background: #0d88d8;

    transform: scale(1.05);
}

.contact-widget__toggle:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
    .contact-widget {
        right: 16px;
        bottom: 96px;
    }

    .contact-widget__toggle {
        width: 54px;
        height: 54px;

        font-size: 22px;
    }

    .contact-widget__icon {
        width: 44px;
        height: 44px;

        font-size: 20px;
    }
}