.elementor-21159 .elementor-element.elementor-element-a473e6f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-21159 .elementor-element.elementor-element-25983e3{--display:flex;border-style:solid;--border-style:solid;border-width:1px 1px 1px 1px;--border-top-width:1px;--border-right-width:1px;--border-bottom-width:1px;--border-left-width:1px;border-color:#EDEDED;--border-color:#EDEDED;--border-radius:12px 12px 12px 12px;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-21159 .elementor-element.elementor-element-25983e3:not(.elementor-motion-effects-element-type-background), .elementor-21159 .elementor-element.elementor-element-25983e3 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-21159 .elementor-element.elementor-element-d8b46ef{font-family:"iransans | ایران‌سنس", Sans-serif;font-size:15px;line-height:30px;}.elementor-21159 .elementor-element.elementor-element-0bf7843{margin:50px 0px calc(var(--kit-widget-spacing, 0px) + -20px) 0px;text-align:center;}.elementor-21159 .elementor-element.elementor-element-0bf7843 .elementor-heading-title{font-family:"iransans | ایران‌سنس", Sans-serif;font-weight:600;color:var( --e-global-color-primary );}:root{--page-title-display:none;}@media(max-width:767px){.elementor-21159 .elementor-element.elementor-element-a473e6f{--padding-top:10px;--padding-bottom:10px;--padding-left:10px;--padding-right:10px;}.elementor-21159 .elementor-element.elementor-element-995ebbc{padding:0px 0px 0px 0px;}.elementor-21159 .elementor-element.elementor-element-0bf7843 .elementor-heading-title{font-size:25px;}}/* Start custom CSS for text-editor, class: .elementor-element-d8b46ef */.elementor-21159 .elementor-element.elementor-element-d8b46ef h2 {
    font-family: 'iransans | ایران‌سنس' !important;
    font-size: 28px !important;
    font-weight: 700;
}
.elementor-21159 .elementor-element.elementor-element-d8b46ef h3 {
    font-family: 'iransans | ایران‌سنس' !important;
    font-size: 25px !important;
    font-weight: 600;
}/* End custom CSS */
/* Start custom CSS */#vectora-app {
  font-family: 'iransans | ایران‌سنس';
  color: #1f2937;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}
#vectora-app input, #vectora-app button, #vectora-app textarea, #vectora-app select {
  font-family: 'iransans | ایران‌سنس';
}

#vectora-app #svgCode,
#vectora-app .code-highlight,
#vectora-app .code-highlight code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
  font-size: 13px;
  line-height: 1.6;
  tab-size: 2;
  -moz-tab-size: 2;
  letter-spacing: 0;
  word-spacing: 0;
  font-variant-ligatures: none;
  font-kerning: none;
  text-rendering: auto;
  unicode-bidi: plaintext;
  direction: ltr;
}

.code-highlight, #svgCode { font-family: monospace; }
*, *::before, *::after { box-sizing: border-box; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.vectora-header {
  display: flex; align-items: center; margin-bottom: 24px; direction: ltr;
}
.vectora-brand { display: flex; align-items: center; gap: 12px; }
.vectora-logo { width: 44px; height: 44px; }
.vectora-name { font-weight: 800; font-size: 20px; }
.vectora-name span { font-weight: 500; color: #6b7280; margin-left: 8px; }
.vectora-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; direction: ltr;
}
.vectora-panel {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 16px; box-shadow: 0 4px 14px rgba(0,0,0,0.03); width: 100%;
}
.left-panel, .right-panel { display: flex; flex-direction: column; gap: 16px; }
.left-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.left-top-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.size-cards { display: flex; gap: 12px; flex-wrap: wrap; }
.size-card {
  background: #f8fafc; border: 1px solid #e5e7eb;
  border-radius: 10px; padding: 8px 12px; min-width: 180px;
}
.size-card span { font-size: 12px; color: #6b7280; display: block; }
.size-card strong { font-size: 14px; color: #0051ba; }
.size-card small { display: block; font-size: 11px; color: #10b981; margin-top: 2px; }

.code-box {
  border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 12px; position: relative; width: 100%;
}
.code-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; gap: 12px;
}
.code-head .hint { font-size: 12px; color: #6b7280; }
#svgFile { display: none; }

/* Search bar */
.search-bar {
  display: none;
  padding: 10px; border: 1px solid #e5e7eb; border-radius: 10px;
  background: #f9fafb; margin-bottom: 10px; direction: rtl;
}
.search-bar.is-open { display: block; }
.search-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: end;
}
.replace-row {
  display: none;
  margin-top: 8px;
  grid-template-columns: 1fr auto; gap: 8px; align-items: end;
}
.search-bar.replace-open .replace-row { display: grid; }
.search-group label {
  font-size: 11px; color: #6b7280; display: block; margin-bottom: 4px;
}
.search-group input {
  width: 100%; padding: 8px; border: 1px solid #e5e7eb; border-radius: 8px;
}
.search-actions, .replace-actions {
  display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap;
}
.search-meta { font-size: 12px; color: #6b7280; margin-top: 6px; }

.icon-btn {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid #e5e7eb; background: #fff; cursor: pointer;
  font-size: 14px; line-height: 1;
  transition: .2s;
  display: inline-flex; align-items: center; justify-content: center;
  color: #0051ba;
}
.icon-btn .icon {
  width: 18px; height: 18px; display: block;
}
.search-bar.replace-open .icon-btn { transform: rotate(90deg); }

.code-editor {
  display: grid; grid-template-columns: auto 1fr;
  border: 1px solid #e5e7eb; border-radius: 12px;
  background: #fff; width: 100%; height: 360px;
}
.code-lines {
  background: #f3f4f6; color: #6b7280;
  padding: 12px 8px; font-size: 12px; line-height: 1.6;
  text-align: right; user-select: none;
  border-left: 1px solid #e5e7eb; overflow: hidden;
}
.code-lines span { display: block; }
.code-lines .line-error { color: #ef4444; font-weight: 700; }

.code-area {
  position: relative; width: 100%; height: 100%;
  overflow: hidden;
}
.code-highlight {
  position: absolute; inset: 0; margin: 0; padding: 12px;
  font-size: 13px; line-height: 1.6; white-space: pre;
  direction: ltr; text-align: left;
  overflow: auto;
  pointer-events: none; z-index: 1;
  scrollbar-width: none; -ms-overflow-style: none;
}
.code-highlight::-webkit-scrollbar { display: none; }

#svgCode {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: none; background: transparent; resize: none;
  font-size: 13px; line-height: 1.6; direction: ltr; text-align: left;
  color: transparent; caret-color: #111827;
  padding: 12px; overflow: auto; z-index: 2; white-space: pre;
}
#svgCode::selection {
  background: rgba(0,81,186,0.18);
}
.code-drop-hint {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  font-size: 13px; color: #94a3b8;
  background: rgba(248,250,252,0.6);
  opacity: 0; pointer-events: none; transition: .2s; z-index: 3;
}
.code-editor.dragover .code-drop-hint { opacity: 1; }

.code-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; font-size: 12px;
}
.code-footer-right {
  display: flex; flex-direction: column; align-items: flex-end;
}
.code-footer-texts {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 4px;
}
.code-hint { color: #6b7280; font-size: 12px; text-align: right;}
.code-status {
  color: #ef4444;
  direction: rtl;
  unicode-bidi: isolate;
  font-weight: 500;
}
.line-count { color: #6b7280; flex-shrink: 0; }

.vectora-controls {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 12px; direction: rtl;
}
.vectora-controls label {
  font-size: 13px; color: #374151; margin-bottom: 4px;
  display: block;
}
.vectora-controls input {
  width: 100%; padding: 8px; border: 1px solid #e5e7eb;
  border-radius: 12px; font-family: inherit;
}
.span-2 { grid-column: span 2; }

.color-control { display: flex; align-items: center; gap: 8px; }
.color-control input[type="text"] {
  flex: 1; direction: ltr; text-align: left;
}
.color-control input[type="color"] {
  width: 36px; height: 36px; border: none; padding: 0;
  border-radius: 12px; cursor: pointer;
}
.color-note {
  font-size: 11px; color: #6b7280; margin-top: 4px; display: block;
}

.vectora-preview { flex: 1; min-height: 0; }
.preview-box {
  border: 1px dashed #d1d5db; border-radius: 12px;
  min-height: 260px; height: 320px; max-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  color: #6b7280; font-weight: 500;
  background: #f9fafb; overflow: hidden;
}
.preview-stage {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
#svgPreview svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.vectora-actions {
  display: flex; justify-content: space-between;
  align-items: center; gap: 10px; flex-wrap: wrap;
}
.actions-right { display: flex; gap: 10px; flex-wrap: wrap; }

.png-btn { margin-inline-start: 10px; }

.btn {
  padding: 10px 14px; border-radius: 12px; cursor: pointer;
  font-weight: 600; border: none; transition: .2s ease;
  direction: rtl; unicode-bidi: plaintext;
}
.btn bdi { direction: ltr; unicode-bidi: isolate; }
.code-drop-hint bdi, .code-head bdi { direction: ltr; unicode-bidi: isolate; }

.btn.primary {
  background: #0051ba; color: #fff;
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,81,186,0.3);
}
.btn.secondary {
  background: #e6efff; color: #0051ba;
}
.btn.outline {
  background: #fff; border: 1px solid #0051ba; color: #0051ba;
}
.btn.small { padding: 6px 10px; font-size: 12px; }
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* حذف دور فکوس */
button:focus, input:focus, textarea:focus, select:focus {
  outline: none !important; box-shadow: none !important;
  border-color: #e5e7eb;
}
:focus-visible { outline: none !important; box-shadow: none !important; }
.code-editor:focus-within { box-shadow: none; }

.tok-tag { color: #0ea5e9; }
.tok-attr { color: #7c3aed; }
.tok-val { color: #10b981; }
.tok-comment { color: #94a3b8; font-style: italic; }
.tok-bracket { color: #6b7280; }
.tok-text { color: #111827; }

@media(max-width: 1100px){
  .vectora-layout { grid-template-columns: 1fr; }
}
@media(max-width: 900px){
  .vectora-controls { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .code-editor { height: 300px; }
}
@media(max-width: 600px){
  .search-row { grid-template-columns: auto 1fr; }
  .search-actions { grid-column: span 2; }
  .code-editor { height: 250px; }

  .size-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .size-card { min-width: 0; }

  .vectora-actions {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }
  .actions-right { flex-wrap: nowrap; gap: 6px; }
  .btn { padding: 8px 10px; font-size: 12px; white-space: nowrap; }
  .png-btn { margin-inline-start: 8px; }
  .code-hint { font-size: 10px;}
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'iransans | ایران‌سنس';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff2') format('woff2'),
		url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff') format('woff');
}
@font-face {
	font-family: 'iransans | ایران‌سنس';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff2') format('woff2'),
		url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff') format('woff');
}
@font-face {
	font-family: 'iransans | ایران‌سنس';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff2') format('woff2'),
		url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff') format('woff');
}
@font-face {
	font-family: 'iransans | ایران‌سنس';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff2') format('woff2'),
		url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff') format('woff');
}
@font-face {
	font-family: 'iransans | ایران‌سنس';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff2') format('woff2'),
		url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff') format('woff');
}
@font-face {
	font-family: 'iransans | ایران‌سنس';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff2') format('woff2'),
		url('https://mazhan-f.ir/wp-content/uploads/2026/01/IRANSansXV.woff') format('woff');
}
/* End Custom Fonts CSS */