.form-smart-shell{direction:rtl;width:var(--fs-form-width,100%);max-width:100%;margin-inline:auto}.form-smart-shell *{box-sizing:border-box}.form-smart-form{width:100%;background:var(--fs-form-bg,#fff);border:var(--fs-form-border-width,1px) solid var(--fs-form-border-color,#e2e8f0);border-radius:var(--fs-form-radius,18px);padding:var(--fs-form-padding,20px);box-shadow:0 14px 34px rgba(15,23,42,.07)}.form-smart-fields{display:flex;flex-wrap:wrap;gap:var(--fs-gap,16px)}.form-smart-break{flex-basis:100%;height:0}.form-smart-field{flex:0 1 calc(var(--fs-field-width,100%) - var(--fs-gap,16px));min-width:180px}.form-smart-label{display:block;margin:0 0 7px;font-weight:800;color:var(--fs-label-color,#1f2937)}.form-smart-label span{color:#ef4444;margin-inline-start:4px}.form-smart-label-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.form-smart-field input:not([type=radio]):not([type=checkbox]),.form-smart-field textarea,.form-smart-field select{width:100%;border:1px solid var(--fs-field-border-color,#d8e1ef);border-radius:var(--fs-field-radius,12px);background:var(--fs-field-bg,#fff);color:var(--fs-field-color,#111827);outline:none;transition:border-color .18s,box-shadow .18s,background .18s;box-shadow:none}.form-smart-field input:focus,.form-smart-field textarea:focus,.form-smart-field select:focus{border-color:var(--fs-focus,#1d4ed8);box-shadow:0 0 0 3px rgba(29,78,216,.13)}.form-smart-field textarea{min-height:118px;resize:vertical}.fs-field-size-sm input:not([type=radio]):not([type=checkbox]),.fs-field-size-sm select{height:max(36px,calc(var(--fs-field-height,46px) - 8px));font-size:13px;padding:6px 10px}.fs-field-size-sm textarea{font-size:13px;padding:9px 10px}.fs-field-size-md input:not([type=radio]):not([type=checkbox]),.fs-field-size-md select{height:var(--fs-field-height,46px);font-size:14px;padding:8px 13px}.fs-field-size-md textarea{font-size:14px;padding:11px 13px}.fs-field-size-lg input:not([type=radio]):not([type=checkbox]),.fs-field-size-lg select{height:max(48px,calc(var(--fs-field-height,46px) + 8px));font-size:16px;padding:10px 16px}.fs-field-size-lg textarea{font-size:16px;padding:13px 16px}.form-smart-help{font-size:12px;color:#64748b;margin-top:6px;line-height:1.7}.form-smart-choice-group{display:flex;flex-wrap:wrap;gap:10px 16px;padding:11px 12px;border:1px solid var(--fs-field-border-color,#d8e1ef);border-radius:var(--fs-field-radius,12px);background:var(--fs-field-bg,#fff)}.form-smart-choice-group label{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--fs-field-color,#334155)}.form-smart-choice-group input{accent-color:var(--fs-focus,#1d4ed8)}.form-smart-submit{display:flex;flex:0 1 calc(var(--fs-button-item-width,var(--fs-button-width,100%)) - var(--fs-gap,16px));min-width:180px;margin-top:0}.form-smart-align-right{justify-content:flex-start}.form-smart-align-center{justify-content:center}.form-smart-align-left{justify-content:flex-end}.form-smart-button{width:100%;min-height:var(--fs-button-height,46px);border:var(--fs-button-border-width,0) solid var(--fs-button-border-color,#1d4ed8);border-radius:var(--fs-button-radius,12px);background:var(--fs-button-bg,#1d4ed8);color:var(--fs-button-color,#fff);font-size:var(--fs-button-font-size,15px);font-weight:900;cursor:pointer;transition:.2s;box-shadow:0 9px 24px rgba(29,78,216,.22);padding:8px 18px}.form-smart-button:hover{background:var(--fs-button-hover-bg,#153fb5);transform:translateY(-1px)}.form-smart-button:disabled{opacity:.68;cursor:wait;transform:none}.form-smart-button.is-loading{position:relative}.fs-button-size-sm .form-smart-button{min-height:max(36px,calc(var(--fs-button-height,46px) - 8px));font-size:calc(var(--fs-button-font-size,15px) - 1px)}.fs-button-size-lg .form-smart-button{min-height:max(50px,calc(var(--fs-button-height,46px) + 8px));font-size:calc(var(--fs-button-font-size,15px) + 1px)}.form-smart-alert{border-radius:14px;padding:13px 15px;margin:0 0 14px;line-height:1.8}.form-smart-alert ul{margin:8px 18px 0 0}.form-smart-success{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534}.form-smart-error{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.form-smart-hp{position:absolute;right:-9999px;opacity:0;height:0;width:0}.form-smart-notice{border-radius:12px;padding:12px 14px;line-height:1.8}@media(max-width:767px){.form-smart-shell{width:100%}.form-smart-form{padding:15px;border-radius:16px}.form-smart-fields{gap:13px}.form-smart-field,.form-smart-submit{flex-basis:100%;max-width:100%;min-width:0}.form-smart-button{width:100%}.form-smart-submit{justify-content:stretch}.form-smart-choice-group{display:grid;grid-template-columns:1fr}.form-smart-alert{font-size:14px}}
.form-smart-field input:not([type=radio]):not([type=checkbox]),.form-smart-field textarea,.form-smart-field select{direction:rtl;text-align:right}.form-smart-field input::placeholder,.form-smart-field textarea::placeholder{direction:rtl;text-align:right;opacity:.75}.form-smart-field input::-webkit-input-placeholder,.form-smart-field textarea::-webkit-input-placeholder{direction:rtl;text-align:right}.form-smart-field input::-moz-placeholder,.form-smart-field textarea::-moz-placeholder{direction:rtl;text-align:right}

.form-smart-shell,.form-smart-shell input,.form-smart-shell textarea,.form-smart-shell select,.form-smart-shell button{font-family:var(--khed-font,Tahoma,Arial,sans-serif);direction:rtl}.form-smart-shell input::placeholder,.form-smart-shell textarea::placeholder{text-align:right}

/* v1.4.3 - improved Persian date picker and file upload field */
.form-smart-field{position:relative}.form-smart-jalali-input{cursor:text;background-image:linear-gradient(90deg,transparent,transparent)}.form-smart-jdp{position:absolute;z-index:9999;width:292px;background:#fff;border:1px solid #dfe8f6;border-radius:18px;box-shadow:0 20px 50px rgba(15,23,42,.16);padding:12px;direction:rtl;font-family:var(--khed-font,Tahoma,Arial,sans-serif)}.form-smart-jdp-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.form-smart-jdp-title{font-weight:950;color:#17234d;font-size:14px}.form-smart-jdp-nav{width:34px;height:34px;border:0;border-radius:11px;background:#f0f4ff;color:#1f3777;font-weight:950;cursor:pointer}.form-smart-jdp-selects{display:grid;grid-template-columns:1fr 1.25fr .9fr;gap:7px;margin:0 0 10px}.form-smart-jdp-selects label{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:900;color:#64748b}.form-smart-jdp-selects select{height:36px;border:1px solid #dfe8f6;border-radius:11px;background:#f8fafc;color:#17234d;font-size:12px;font-weight:800;padding:0 8px;outline:none;font-family:inherit}.form-smart-jdp-selects select:focus{border-color:var(--fs-focus,#1d4ed8);box-shadow:0 0 0 3px rgba(29,78,216,.10)}.form-smart-jdp-week,.form-smart-jdp-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.form-smart-jdp-week span{text-align:center;font-size:11px;color:#64748b;font-weight:900;padding:5px 0}.form-smart-jdp-day{height:34px;border:0;border-radius:10px;background:#f8fafc;color:#17234d;font-weight:800;cursor:pointer}.form-smart-jdp-day:hover,.form-smart-jdp-day.is-today{background:#eef3ff;color:#1f3777}.form-smart-jdp-day.is-selected{background:var(--fs-focus,#1d4ed8);color:#fff}.form-smart-jdp-day.is-empty{visibility:hidden}.form-smart-file-box{display:flex;align-items:center;gap:12px;width:100%;min-height:var(--fs-field-height,52px);border:1px dashed var(--fs-field-border-color,#d8e1ef);border-radius:var(--fs-field-radius,14px);background:linear-gradient(180deg,var(--fs-field-bg,#fff),#fbfdff);padding:10px 12px;cursor:pointer;color:var(--fs-field-color,#111827);transition:.18s}.form-smart-file-box:hover{border-color:var(--fs-focus,#1d4ed8);box-shadow:0 0 0 3px rgba(29,78,216,.08)}.form-smart-file-box input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.form-smart-file-icon{width:42px;height:42px;min-width:42px;border-radius:13px;background:#eef3ff;color:var(--fs-focus,#1d4ed8);display:flex;align-items:center;justify-content:center}.form-smart-file-icon svg{width:22px;height:22px;stroke:currentColor}.form-smart-file-text{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.form-smart-file-text strong{font-size:13px;font-weight:950;color:#17234d}.form-smart-file-text small{font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.form-smart-file-box em{font-style:normal;background:#f4b400;color:#17234d;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:950;white-space:nowrap}@media(max-width:767px){.form-smart-jdp{position:fixed;left:14px;right:14px;top:auto;bottom:18px;width:auto}.form-smart-jdp-selects{grid-template-columns:1fr 1fr 1fr}.form-smart-file-box{align-items:flex-start}.form-smart-file-box em{display:none}}


/* Khedmatkar Form Smart v1.1.7 - transparent form, button icon and placeholder styling */
.form-smart-form{background:var(--fs-form-bg,transparent);border:var(--fs-form-border-width,0px) solid var(--fs-form-border-color,transparent);box-shadow:var(--fs-form-shadow,none)}
.form-smart-field input::placeholder,.form-smart-field textarea::placeholder{color:var(--fs-placeholder-color,#94a3b8);opacity:var(--fs-placeholder-opacity,.85);font-size:var(--fs-placeholder-font-size,14px);font-weight:var(--fs-placeholder-font-weight,400)}
.form-smart-field input::-webkit-input-placeholder,.form-smart-field textarea::-webkit-input-placeholder{color:var(--fs-placeholder-color,#94a3b8);opacity:var(--fs-placeholder-opacity,.85);font-size:var(--fs-placeholder-font-size,14px);font-weight:var(--fs-placeholder-font-weight,400)}
.form-smart-field input::-moz-placeholder,.form-smart-field textarea::-moz-placeholder{color:var(--fs-placeholder-color,#94a3b8);opacity:var(--fs-placeholder-opacity,.85);font-size:var(--fs-placeholder-font-size,14px);font-weight:var(--fs-placeholder-font-weight,400)}
.form-smart-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.45}
.form-smart-button .form-smart-button-icon{display:inline-flex;align-items:center;justify-content:center;line-height:0;flex:0 0 auto;color:currentColor}
.form-smart-button .form-smart-button-icon svg{width:var(--fs-button-icon-size,18px);height:var(--fs-button-icon-size,18px);stroke:currentColor;fill:none}
.form-smart-button-icon-before .form-smart-button-icon{order:-1}.form-smart-button-icon-after .form-smart-button-icon{order:2}
.form-smart-button-label{display:inline-flex;align-items:center;justify-content:center}


/* Form Smart v1.1.8 - real full-width transparent forms */
.form-smart-shell{
  width:100%;
  max-width:100%;
  margin-inline:0;
}
.form-smart-shell .form-smart-form{
  width:100%;
  max-width:100%;
  padding:var(--fs-form-padding,0px);
}
.form-smart-shell .form-smart-fields{
  width:100%;
}
