.inox-callback-widget {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99999;
    font-family: Arial, Helvetica, sans-serif;
    pointer-events: none;
}

.inox-callback-box,
.inox-callback-avatar {
    pointer-events: auto;
}

.inox-callback-avatar {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #3b82f6;
    padding: 4px;
    box-sizing: border-box;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    outline: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.inox-callback-avatar:hover {
    transform: scale(1.08);
}

.inox-callback-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}

.inox-notification-dot {
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: #ef4444;
    border: 3px solid #fff;
    border-radius: 50%;
    animation: inoxCallbackPulseDot 2s infinite;
}

.inox-callback-widget.show-dot .inox-notification-dot {
    display: block;
}

@keyframes inoxCallbackPulseDot {
    0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.inox-callback-box {
    position: absolute;
    right: 100px;
    bottom: 0;
    width: 360px;
    max-width: calc(100vw - 130px);
    background: #ffffff;
    border-radius: 20px;
    padding: 26px 24px;
    box-sizing: border-box;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(15, 23, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s;
}

.inox-callback-box.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.inox-callback-box::after {
    content: "";
    position: absolute;
    right: -16px;
    bottom: 25px;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 18px solid #ffffff;
}

.inox-callback-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f1f3f6;
    color: #6b7280;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.inox-callback-close:hover {
    background: #e5e7eb;
    color: #111827;
}

.inox-callback-box h3 {
    margin: 0 30px 12px 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
    color: #1f2937;
}

.inox-callback-box p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: #4b5563;
}

.inox-callback-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    border-radius: 8px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.inox-callback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.inox-callback-btn-blue  { background: #3b82f6; margin-bottom: 12px; }
.inox-callback-btn-green { background: #10b981; }

@media (max-width: 550px) {
    .inox-callback-widget {
        right: 20px;
        bottom: 20px;
    }

    .inox-callback-avatar {
        width: 65px;
        height: 65px;
    }

    .inox-callback-box {
        right: 0;
        bottom: 85px;
        width: calc(100vw - 40px);
        max-width: 360px;
        transform: translateY(20px) scale(0.95);
    }

    .inox-callback-box.is-open {
        transform: translateY(0) scale(1);
    }

    .inox-callback-box::after {
        right: 20px;
        bottom: -16px;
        border-top: 18px solid #ffffff;
        border-bottom: none;
        border-left: 14px solid transparent;
        border-right: 14px solid transparent;
    }
}
