#support-widget {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1050;
    font-size: 0.875rem;
}

@media (max-width: 767.98px) {
    #support-widget {
        display: none !important;
    }
}

.support-widget-fab {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: none;
    background-color: var(--bs-primary);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.support-widget-fab:hover,
.support-widget-fab:focus {
    opacity: 1;
    outline: none;
}

.support-widget-fab i {
    font-size: 1.1rem;
}

.support-widget-panel {
    position: absolute;
    bottom: 3.5rem;
    right: 0;
    width: 22rem;
    max-width: calc(100vw - 2rem);
    background-color: #fff;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.support-widget-header {
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bs-gray-100);
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.support-widget-body {
    padding: 0.75rem;
}

.support-widget-screenshot-preview {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    border: 1px dashed var(--bs-border-color, #dee2e6);
    border-radius: 0.25rem;
    padding: 0.25rem;
}

.support-widget-screenshot-preview img {
    max-width: 100%;
    max-height: 8rem;
    border-radius: 0.125rem;
    display: block;
}

#support-widget.is-capturing #support-widget,
#support-widget.is-capturing {
    visibility: hidden !important;
}
