diff --git a/src/modules/attendance/components/RecentContactsList.jsx b/src/modules/attendance/components/RecentContactsList.jsx index 7024c23..528b607 100644 --- a/src/modules/attendance/components/RecentContactsList.jsx +++ b/src/modules/attendance/components/RecentContactsList.jsx @@ -8,7 +8,7 @@ export function RecentContactsList({ style={{ background: '#fff', border: '1px solid var(--color-border)', - borderRadius: '28px', + borderRadius: '20px', padding: '1.25rem', display: 'grid', gap: '0.9rem', @@ -34,7 +34,7 @@ export function RecentContactsList({ border: '1px solid', borderColor: isActive ? 'rgba(0, 164, 183, 0.26)' : 'var(--color-border)', background: isActive ? 'rgba(0, 164, 183, 0.08)' : '#fff', - borderRadius: '20px', + borderRadius: '15px', padding: '1rem', textAlign: 'left', display: 'grid', @@ -71,7 +71,7 @@ export function RecentContactsList({
@@ -81,7 +81,7 @@ export function AgentNewAttendancePage() {
setSelectedTemplateId(event.target.value)} style={{ border: '1px solid var(--color-border)', - borderRadius: '18px', + borderRadius: '14px', padding: '0.95rem 1rem', background: '#fff', outline: 'none', @@ -597,7 +597,7 @@ export function NewAttendancePage({ embedded = false }) { placeholder="Ex: 26/05/2026" style={{ border: '1px solid var(--color-border)', - borderRadius: '18px', + borderRadius: '14px', padding: '0.95rem 1rem', background: '#fff', outline: 'none', @@ -613,7 +613,7 @@ export function NewAttendancePage({ embedded = false }) { placeholder="https://..." style={{ border: '1px solid var(--color-border)', - borderRadius: '18px', + borderRadius: '14px', padding: '0.95rem 1rem', background: '#fff', outline: 'none', @@ -629,7 +629,7 @@ export function NewAttendancePage({ embedded = false }) { placeholder="Valor livre" style={{ border: '1px solid var(--color-border)', - borderRadius: '18px', + borderRadius: '14px', padding: '0.95rem 1rem', background: '#fff', outline: 'none', @@ -642,7 +642,7 @@ export function NewAttendancePage({ embedded = false }) {
@@ -189,7 +189,7 @@ function MediaRenderer({ message, contactId, onLoadMedia, isAgent }) { gap: '0.75rem', alignItems: 'center', padding: '0.85rem', - borderRadius: 14, + borderRadius: 10, background: isAgent ? 'rgba(255,255,255,0.16)' : '#fff', color: isAgent ? '#fff' : 'var(--color-primary)', fontWeight: 700, @@ -209,7 +209,7 @@ function AttachmentPreview({ file, onRemove }) {
) : ( onAssumeChat?.()} style={{ border: 'none', - borderRadius: '14px', + borderRadius: '10px', padding: '0.8rem 1rem', background: 'linear-gradient(135deg, var(--color-primary), #0b5a86)', color: '#fff', @@ -476,7 +476,7 @@ export function ChatWindow({ onClick={onReleaseChat} style={{ border: '1px solid var(--color-border)', - borderRadius: '14px', + borderRadius: '10px', padding: '0.8rem 1rem', background: '#fff', color: 'var(--color-primary)', @@ -490,7 +490,7 @@ export function ChatWindow({ onClick={onCloseChat} style={{ border: 'none', - borderRadius: '14px', + borderRadius: '10px', padding: '0.8rem 1rem', background: 'rgba(181, 31, 31, 0.1)', color: 'var(--color-secondary)', @@ -507,7 +507,7 @@ export function ChatWindow({ disabled={!canReply} style={{ border: 'none', - borderRadius: '14px', + borderRadius: '10px', padding: '0.8rem 1rem', background: 'rgba(0, 49, 80, 0.08)', color: 'var(--color-primary)', @@ -523,7 +523,7 @@ export function ChatWindow({ style={{ gridColumn: '1 / -1', border: '1px solid rgba(0, 164, 183, 0.24)', - borderRadius: 16, + borderRadius: 12, padding: '0.85rem 1rem', background: 'rgba(0, 164, 183, 0.07)', color: 'var(--color-text)', @@ -652,7 +652,7 @@ export function ChatWindow({ style={{ justifySelf: 'center', padding: '0.8rem 1rem', - borderRadius: 16, + borderRadius: 12, background: 'rgba(0,49,80,0.06)', color: 'var(--color-text-soft)', fontWeight: 700, @@ -694,7 +694,7 @@ export function ChatWindow({
navigate('/call')} style={{ border: 'none', - borderRadius: '18px', + borderRadius: '14px', padding: '0.95rem 1.1rem', background: 'linear-gradient(135deg, var(--color-primary), #0b5a86)', color: '#fff', @@ -51,7 +51,7 @@ export function CallsWorkspace({ calls, isWideDesktop = false, isDesktop = false
navigate('/call')} style={{ border: '1px solid var(--color-border)', - borderRadius: '14px', + borderRadius: '10px', padding: '0.7rem 0.95rem', background: '#fff', color: 'var(--color-primary)', diff --git a/src/modules/home/components/HomeSidebar.jsx b/src/modules/home/components/HomeSidebar.jsx index 1995af9..5e55afa 100644 --- a/src/modules/home/components/HomeSidebar.jsx +++ b/src/modules/home/components/HomeSidebar.jsx @@ -9,7 +9,7 @@ export function HomeSidebar({ items, activeItem, isMobile = false }) { style={{ background: 'linear-gradient(180deg, rgba(0, 49, 80, 0.98), rgba(7, 64, 98, 0.96))', color: '#fff', - borderRadius: '28px', + borderRadius: '20px', padding: '1.5rem', display: 'grid', gap: '1.25rem', @@ -21,7 +21,7 @@ export function HomeSidebar({ items, activeItem, isMobile = false }) { onClick={() => navigate('/home')} style={{ border: 'none', - borderRadius: '20px', + borderRadius: '15px', padding: '1rem 1.15rem', background: 'linear-gradient(135deg, var(--color-highlight), #f3b94d)', color: '#132534', @@ -49,7 +49,7 @@ export function HomeSidebar({ items, activeItem, isMobile = false }) { onClick={() => item.route && navigate(item.route)} style={{ border: 'none', - borderRadius: '18px', + borderRadius: '14px', padding: '0.9rem 1rem', background: isActive ? 'rgba(255, 255, 255, 0.14)' : 'transparent', color: '#fff', @@ -87,7 +87,7 @@ export function HomeSidebar({ items, activeItem, isMobile = false }) { }} style={{ border: '1px solid rgba(255, 255, 255, 0.2)', - borderRadius: '18px', + borderRadius: '14px', padding: '0.9rem 1rem', background: 'transparent', color: '#ef4444', diff --git a/src/modules/home/components/HomeTopbar.jsx b/src/modules/home/components/HomeTopbar.jsx index f88a2a7..56c4ff8 100644 --- a/src/modules/home/components/HomeTopbar.jsx +++ b/src/modules/home/components/HomeTopbar.jsx @@ -57,7 +57,7 @@ export function HomeTopbar({ style={{ display: 'inline-flex', padding: '0.35rem', - borderRadius: '18px', + borderRadius: '14px', background: 'rgba(0, 49, 80, 0.06)', gap: '0.35rem', width: isMobile ? '100%' : 'fit-content', @@ -75,7 +75,7 @@ export function HomeTopbar({ onClick={() => onTabChange(tab.id)} style={{ border: 'none', - borderRadius: '14px', + borderRadius: '10px', padding: '0.8rem 1rem', background: isActive ? 'var(--color-primary)' : 'transparent', color: isActive ? '#fff' : 'var(--color-primary)', @@ -91,7 +91,7 @@ export function HomeTopbar({
@@ -112,7 +112,7 @@ export function AgentMassMessagePage() {
@@ -390,7 +390,7 @@ export function ContactsPanel({ embedded = false }) {
@@ -170,7 +170,7 @@ export function HomePage() {
change('nodeType', type)} style={{ border: `1px solid ${draft.nodeType === type ? 'var(--color-primary)' : 'var(--color-border)'}`, - borderRadius: 16, + borderRadius: 12, padding: '0.9rem', background: draft.nodeType === type ? 'rgba(0,164,183,0.08)' : '#fff', color: 'var(--color-text)', @@ -743,7 +743,7 @@ export function KnowledgeBasePanel({ areas, mode = 'admin', isMobile = false })
+ {/* Grid plano de 4 zonas: col1=sidebar(270px) col2=conteúdo(1fr), row1=topo row2=corpo */}
-
-
- -
- - + {/* Zona 1 — BrandMark card: col1 row1 */} +
+
-
-
+ + + + + + + + {/* Zona 3 — Header: col2 row1 — mesma linha do BrandMark card */} +
+
+

{title}

+

+ {subtitle} +

+
+ +
+
+ {profileLabel} + + Ambiente de gestão + +
+
+
-
-
- {profileLabel} - - Ambiente de gestão - -
- -
-
- + {/* Zona 4 — Conteúdo: col2 row2 */} +
{children}
diff --git a/src/modules/management/components/ManagementTable.jsx b/src/modules/management/components/ManagementTable.jsx index 8c73563..ba78104 100644 --- a/src/modules/management/components/ManagementTable.jsx +++ b/src/modules/management/components/ManagementTable.jsx @@ -23,7 +23,7 @@ export function ManagementTable({ columns, rows, getRowId, isMobile = false }) {
setAssignmentTarget(item)} style={{ border: 'none', - borderRadius: 12, + borderRadius: 9, padding: '0.65rem 0.8rem', background: 'var(--color-primary)', color: '#fff', @@ -291,7 +291,7 @@ export function OperationalDashboard({ isDesktop, isMobile }) { zIndex: 20, }} > -
+

Atribuir atendimento

@@ -306,7 +306,7 @@ export function OperationalDashboard({ isDesktop, isMobile }) { onClick={() => setAssignmentTarget(null)} style={{ border: '1px solid var(--color-border)', - borderRadius: 14, + borderRadius: 10, padding: '0.8rem 0.9rem', background: '#fff', color: 'var(--color-text)', @@ -325,7 +325,7 @@ export function OperationalDashboard({ isDesktop, isMobile }) { onClick={() => setAssignmentTarget(null)} style={{ border: 'none', - borderRadius: 14, + borderRadius: 10, padding: '0.8rem 1rem', background: 'rgba(0, 49, 80, 0.08)', color: 'var(--color-primary)', diff --git a/src/modules/management/components/TemplateManagementPanel.jsx b/src/modules/management/components/TemplateManagementPanel.jsx index ee65763..c3dc9b9 100644 --- a/src/modules/management/components/TemplateManagementPanel.jsx +++ b/src/modules/management/components/TemplateManagementPanel.jsx @@ -75,7 +75,7 @@ function renderPreviewBody(content, bodyVariables) { // ── Styles ──────────────────────────────────────────────────────────────── const fieldStyle = { - width: '100%', border: '1px solid var(--color-border)', borderRadius: 10, + width: '100%', border: '1px solid var(--color-border)', borderRadius: 8, padding: '0.6rem 0.75rem', fontSize: '0.9rem', fontWeight: 600, color: 'var(--color-text)', background: '#fff', boxSizing: 'border-box', }; @@ -92,7 +92,7 @@ function pill(bg, color) { function actionBtn(bg, color, disabled = false) { return { - border: 'none', borderRadius: 8, padding: '0.4rem 0.75rem', + border: 'none', borderRadius: 6, padding: '0.4rem 0.75rem', background: disabled ? '#f0f2f5' : bg, color: disabled ? '#aaa' : color, fontWeight: 800, fontSize: '0.8rem', cursor: disabled ? 'not-allowed' : 'pointer', }; @@ -108,7 +108,7 @@ function WhatsAppPreview({ form }) {

Pré-visualização
@@ -188,7 +188,7 @@ function TemplateCard({ t, onEdit, onSubmit, onDelete, submitting, deleting }) { return (
@@ -197,7 +197,7 @@ function TemplateCard({ t, onEdit, onSubmit, onDelete, submitting, deleting }) { {t.name} {ms.label} @@ -296,18 +296,19 @@ function TemplateFormView({ form, setForm, editingId, onSave, saving, error, suc const metaNamePreview = toMetaName(form.name); return ( -
+
{/* Header */} -
- - - {editingId ? 'Editar Template HSM' : 'Novo Template HSM'} +
+ + {editingId ? 'Editar template' : 'Novo template'} +
{/* Two-column */} @@ -356,7 +357,7 @@ function TemplateFormView({ form, setForm, editingId, onSave, saving, error, suc
{/* Header */} -
+