.fp-support-widget {
    position: fixed;
    right: 22px;
    bottom: 88px;
    z-index: 99990;
    font-family: Inter, "Segoe UI", sans-serif;
}

.fp-support-widget[data-context="panel"] {
    bottom: 28px;
}

.fp-support-widget-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px 14px 14px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(18, 140, 126, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fp-support-widget-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(18, 140, 126, 0.42);
}

.fp-support-widget-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.fp-support-widget-toggle-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.fp-support-widget-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    width: min(340px, calc(100vw - 32px));
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(17, 23, 41, 0.08);
    box-shadow: 0 24px 60px rgba(17, 23, 41, 0.18);
    overflow: hidden;
    transform-origin: bottom right;
    animation: fpSupportWidgetIn 0.22s ease;
}

@keyframes fpSupportWidgetIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fp-support-widget-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    background: linear-gradient(135deg, #111729 0%, #1a2744 100%);
    color: #fff;
}

.fp-support-widget-panel-head strong {
    display: block;
    font-size: 16px;
    line-height: 1.3;
}

.fp-support-widget-panel-head span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.fp-support-widget-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}

.fp-support-widget-close-icon {
    font-size: 22px;
    line-height: 1;
}

.fp-support-widget-panel-body {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.fp-support-widget-intro {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
}

.fp-support-widget-hours {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #0f7b46;
    font-size: 12px;
    font-weight: 600;
}

.fp-support-widget-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.fp-support-widget-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #e5e7ef;
    background: #f8fafc;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.fp-support-widget-action:hover {
    transform: translateY(-1px);
    border-color: #cbd5e1;
    background: #fff;
}

.fp-support-widget-action strong {
    display: block;
    font-size: 14px;
    color: #111729;
}

.fp-support-widget-action small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #64748b;
}

.fp-support-widget-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    flex-shrink: 0;
    font-size: 18px;
}

.fp-support-widget-action-whatsapp {
    background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf3 100%);
    border-color: rgba(37, 211, 102, 0.25);
}

.fp-support-widget-action-whatsapp .fp-support-widget-action-icon {
    color: #128c7e;
}

.fp-support-widget.is-open .fp-support-widget-toggle {
    box-shadow: 0 10px 24px rgba(18, 140, 126, 0.28);
}

body:has(.fp-support-widget) .progress-wrap {
    bottom: 96px;
}

@media (max-width: 640px) {
    .fp-support-widget {
        right: 16px;
        bottom: 82px;
    }

    .fp-support-widget[data-context="panel"] {
        bottom: 20px;
    }

    .fp-support-widget-toggle {
        padding: 0;
        width: 58px;
        height: 58px;
        justify-content: center;
    }

    .fp-support-widget-toggle-label {
        display: none;
    }
}
