.branch-master.svelte-ixrwh8{padding:24px;height:100%;display:flex;flex-direction:column;background:#fff;gap:24px}.header.svelte-ixrwh8{display:flex;justify-content:space-between;align-items:center;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.title.svelte-ixrwh8{font-size:24px;font-weight:600;color:#111827;margin:0}.create-btn.svelte-ixrwh8{background:#10b981;color:#fff;border:none;border-radius:8px;padding:12px 20px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .2s}.create-btn.svelte-ixrwh8:hover{background:#059669;transform:translateY(-1px)}.create-btn.svelte-ixrwh8 .icon:where(.svelte-ixrwh8){font-size:18px;font-weight:700}.table-container.svelte-ixrwh8{flex:1;overflow:auto;border:1px solid #e5e7eb;border-radius:8px}.branches-table.svelte-ixrwh8{width:100%;border-collapse:collapse;background:#fff}.branches-table.svelte-ixrwh8 th:where(.svelte-ixrwh8){background:#f9fafb;padding:12px 16px;text-align:left;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb;white-space:nowrap}.branches-table.svelte-ixrwh8 td:where(.svelte-ixrwh8){padding:12px 16px;border-bottom:1px solid #f3f4f6;color:#111827}.branches-table.svelte-ixrwh8 tr:where(.svelte-ixrwh8):hover{background:#f9fafb}.branches-table.svelte-ixrwh8 tr.inactive:where(.svelte-ixrwh8){opacity:.6}.arabic.svelte-ixrwh8{font-family:Tajawal,Cairo,Arial,sans-serif;direction:rtl;text-align:right}.status-badge.svelte-ixrwh8{padding:4px 12px;border-radius:20px;font-size:12px;font-weight:500;text-transform:uppercase}.status-badge.active.svelte-ixrwh8{background:#d1fae5;color:#065f46}.status-badge.inactive.svelte-ixrwh8{background:#fee2e2;color:#991b1b}.main-branch-badge.svelte-ixrwh8{background:#dbeafe;color:#1d4ed8;padding:4px 8px;border-radius:4px;font-weight:500}.actions.svelte-ixrwh8{display:flex;gap:8px}.edit-btn.svelte-ixrwh8,.delete-btn.svelte-ixrwh8{padding:6px 12px;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer;border:1px solid;transition:all .2s}.edit-btn.svelte-ixrwh8{background:#eff6ff;color:#1d4ed8;border-color:#3b82f6}.edit-btn.svelte-ixrwh8:hover{background:#dbeafe}.delete-btn.svelte-ixrwh8{background:#fef2f2;color:#dc2626;border-color:#ef4444}.delete-btn.svelte-ixrwh8:hover{background:#fee2e2}.empty-state.svelte-ixrwh8{padding:48px;text-align:center;color:#6b7280}.empty-state.svelte-ixrwh8 .create-btn:where(.svelte-ixrwh8){margin-top:16px;background:#3b82f6}.empty-state.svelte-ixrwh8 .create-btn:where(.svelte-ixrwh8):hover{background:#2563eb}.loading-state.svelte-ixrwh8{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px;color:#6b7280}.spinner.svelte-ixrwh8{width:40px;height:40px;border:4px solid #f3f4f6;border-top:4px solid #3b82f6;border-radius:50%;animation:svelte-ixrwh8-spin 1s linear infinite;margin-bottom:16px}@keyframes svelte-ixrwh8-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-message.svelte-ixrwh8{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:12px 16px;border-radius:8px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}.retry-btn.svelte-ixrwh8{background:#dc2626;color:#fff;border:none;border-radius:4px;padding:6px 12px;font-size:12px;cursor:pointer;font-weight:500}.retry-btn.svelte-ixrwh8:hover{background:#b91c1c}button.svelte-ixrwh8:disabled{opacity:.6;cursor:not-allowed}.popup-overlay.svelte-ixrwh8{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.popup.svelte-ixrwh8{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a;max-width:600px;width:90%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.popup-header.svelte-ixrwh8{padding:20px 24px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;background:#f9fafb}.popup-header.svelte-ixrwh8 h2:where(.svelte-ixrwh8){margin:0;font-size:18px;font-weight:600;color:#111827}.close-btn.svelte-ixrwh8{background:none;border:none;font-size:24px;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px}.close-btn.svelte-ixrwh8:hover{background:#f3f4f6;color:#374151}.popup-content.svelte-ixrwh8{padding:24px;flex:1;overflow-y:auto}.form-row.svelte-ixrwh8{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.form-group.svelte-ixrwh8{display:flex;flex-direction:column}.form-group.svelte-ixrwh8 label:where(.svelte-ixrwh8){margin-bottom:6px;font-weight:500;color:#374151}.form-group.svelte-ixrwh8 input:where(.svelte-ixrwh8){padding:12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:border-color .2s}.form-group.svelte-ixrwh8 input:where(.svelte-ixrwh8):focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.checkbox-label.svelte-ixrwh8{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;margin-top:8px}.checkbox-label.svelte-ixrwh8 input:where(.svelte-ixrwh8){width:auto;margin:0}.form-actions.svelte-ixrwh8{display:flex;justify-content:flex-end;gap:12px;padding-top:20px;border-top:1px solid #e5e7eb;margin-top:20px}.cancel-btn.svelte-ixrwh8,.save-btn.svelte-ixrwh8{padding:12px 20px;border-radius:6px;font-weight:500;cursor:pointer;border:1px solid;transition:all .2s}.cancel-btn.svelte-ixrwh8{background:#fff;color:#6b7280;border-color:#d1d5db}.cancel-btn.svelte-ixrwh8:hover{background:#f9fafb}.save-btn.svelte-ixrwh8{background:#10b981;color:#fff;border-color:#10b981}.save-btn.svelte-ixrwh8:hover{background:#059669}@media (max-width: 768px){.form-row.svelte-ixrwh8{grid-template-columns:1fr}.popup.svelte-ixrwh8{width:95%;margin:20px}.branches-table.svelte-ixrwh8{font-size:12px}.branches-table.svelte-ixrwh8 th:where(.svelte-ixrwh8),.branches-table.svelte-ixrwh8 td:where(.svelte-ixrwh8){padding:8px 12px}}.vat-number.svelte-ixrwh8{text-align:center}.vat-badge.svelte-ixrwh8{background-color:#eff6ff;color:#1d4ed8;padding:.25rem .5rem;border-radius:4px;border:1px solid #bfdbfe;font-family:monospace;font-weight:600;font-size:.875rem}.no-vat.svelte-ixrwh8{color:#9ca3af;font-style:italic}
