.support-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1060;
}

.support-widget__toggle {
    width: 62px;
    height: 62px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd234, #ffbf00);
    color: #0f172a;
    font-size: 24px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.support-widget__panel {
    width: 390px;
    max-width: calc(100vw - 24px);
    height: 620px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.support-widget__header {
    padding: 14px 16px;
    border-bottom: 1px solid #e8edf5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.support-widget__status {
    padding: 12px 16px 0;
}

.support-widget__status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.support-widget__messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f7f9fd;
}

.support-widget__empty {
    color: #6b7280;
    font-size: .95rem;
}

.support-widget__message-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.support-widget__message-row.is-admin {
    align-items: flex-end;
}

.support-widget__message-row.is-user {
    align-items: flex-start;
}

.support-widget__message-meta {
    font-size: .78rem;
    color: #6b7280;
    margin-bottom: 6px;
}

.support-widget__bubble {
    max-width: 82%;
    padding: 12px 14px;
    border-radius: 16px;
    line-height: 1.45;
    font-size: .95rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    white-space: pre-line;
}

.support-widget__bubble.is-user {
    background: #0f172a;
    color: #fff;
    border-bottom-left-radius: 6px;
}

.support-widget__bubble.is-admin {
    background: linear-gradient(135deg, #ffd234, #ffbf00);
    color: #101828;
    border-bottom-right-radius: 6px;
}

.support-widget__footer {
    padding: 14px 16px;
    border-top: 1px solid #e8edf5;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-widget__footer textarea {
    resize: none;
    min-height: 90px;
}
.support-widget__toggle {
    position: relative;
}

.support-widget__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(239, 68, 68, .35);
    border: 2px solid #fff;
}