
:root {
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}
body { font-family: system-ui, -apple-system, sans-serif; margin: 0; padding: 0; background: var(--gray-50); color: var(--gray-900); line-height: 1.5; }
.navbar { background: var(--blue-900); color: white; padding: 1rem 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.nav-brand { display: flex; align-items: center; gap: 0.75rem; color: white; text-decoration: none; font-weight: bold; font-size: 1.125rem; }
.brand-logo { background: white; color: var(--blue-900); width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; font-size: 1rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.btn-primary { background: var(--blue-600); color: white; padding: 0.75rem 1.5rem; border-radius: 0.375rem; text-decoration: none; font-weight: 600; border: none; cursor: pointer; display: inline-block; text-align: center; transition: 0.2s; }
.btn-primary:hover { background: var(--blue-700); }
.btn-outline { background: transparent; color: var(--blue-600); border: 1px solid var(--blue-600); padding: 0.75rem 1.5rem; border-radius: 0.375rem; text-decoration: none; cursor: pointer; display: inline-block; text-align: center; transition: 0.2s; font-weight: 600; }
.btn-outline:hover { background: var(--blue-50); }
.btn-danger { background: transparent; color: #dc2626; border: 1px solid #dc2626; padding: 0.5rem 1rem; border-radius: 0.375rem; cursor: pointer; font-weight: 600; transition: 0.2s; }
.btn-danger:hover { background: #fef2f2; }
.card { background: white; padding: 2rem; border-radius: 0.75rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); border: 1px solid var(--gray-200); }
.grid-layout { display: grid; gap: 2rem; }
.grid-layout.cols-2 { grid-template-columns: 1fr 1fr; }
.grid-layout.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-input { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--gray-300); border-radius: 0.375rem; box-sizing: border-box; font-size: 1rem; font-family: inherit; transition: 0.2s; }
.form-input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.footer { text-align: center; padding: 3rem 1.5rem; background: white; color: var(--gray-500); border-top: 1px solid var(--gray-200); margin-top: 4rem; }
.section-title { font-size: 1.875rem; font-weight: 700; color: var(--gray-900); margin-top: 0; margin-bottom: 1.5rem; }
.app-layout { display: flex; max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; gap: 2.5rem; min-height: calc(100vh - 200px); }
.app-sidebar { width: 260px; flex-shrink: 0; }
.app-main { flex-grow: 1; }
.menu-item { padding: 0.75rem 1rem; margin-bottom: 0.5rem; border-radius: 0.375rem; cursor: pointer; color: var(--gray-700); transition: 0.2s; font-weight: 500;}
.menu-item:hover { background: var(--gray-100); }
.menu-item.active { background: var(--blue-50); color: var(--blue-700); font-weight: 600; }
.cms-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--gray-200); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.cms-title { font-size: 1.5rem; color: var(--gray-900); margin: 0; display: flex; align-items: center; gap: 0.75rem;}
.cms-badge { background: var(--blue-100); color: var(--blue-800); font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 1rem; font-weight: bold; }
.cms-content-list { list-style: none; padding: 0; margin: 0; }
.cms-content-item { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border: 1px solid var(--gray-200); border-radius: 0.5rem; margin-bottom: 0.5rem; background: white; transition: 0.2s; cursor: pointer; }
.cms-content-item:hover { border-color: var(--blue-300); }
.cms-item-title { font-weight: 600; color: var(--gray-900); margin-bottom: 0.25rem; }
.cms-item-meta { font-size: 0.875rem; color: var(--gray-500); }
.cms-actions { display: flex; gap: 0.5rem; }
.form-label { font-weight: bold; font-size: 0.875rem; color: var(--gray-700); margin-bottom: 0.5rem; display: block; }

.cms-category { background: white; border: 1px solid var(--gray-200); border-radius: 0.75rem; margin-bottom: 1.5rem; overflow: hidden; }
.cms-category-header { background: var(--gray-50); padding: 1rem 1.5rem; font-weight: 600; font-size: 1.125rem; color: var(--gray-900); cursor: pointer; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--gray-200); transition: 0.2s; }
.cms-category-header:hover { background: var(--gray-100); }
.cms-category-content { padding: 1.5rem; }

.gallery-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 0.375rem; border: 1px solid var(--gray-300); }
.paragraph-block { background: var(--gray-50); border: 1px solid var(--gray-200); padding: 1.5rem; border-radius: 0.5rem; margin-bottom: 1rem; position: relative; }

.chat-bubble { padding: 1rem; border-radius: 0.5rem; margin-bottom: 1rem; max-width: 80%; line-height: 1.5;}
.chat-client { background: var(--gray-100); color: var(--gray-900); border-bottom-left-radius: 0; }
.chat-support { background: var(--blue-100); color: var(--blue-900); border-bottom-right-radius: 0; align-self: flex-end; margin-left: auto; }
