:root{
  --bg:#f4f6fb;
  --surface:#ffffff;
  --surface-2:#f8f9fd;
  --text:#1b2236;
  --muted:#6b7491;
  --border:#e5e8f2;
  --primary:#4f46e5;
  --primary-2:#7c3aed;
  --primary-soft:#eef0ff;
  --success:#16a34a;
  --success-soft:#e8f8ee;
  --warn:#d97706;
  --warn-soft:#fff4e0;
  --danger:#e11d48;
  --danger-soft:#ffe9ee;
  --radius:16px;
  --shadow:0 1px 2px rgba(20,28,60,.04),0 8px 24px rgba(20,28,60,.06);
}
.dark, .dark .content-wrapper { 
    --bg:#0e1220; 
    --surface:#171c30; 
    --surface-2:#1c2238; 
    --text:#e8ebf7; 
    --muted:#98a1c3; 
    --border:#272e4a; 
    --primary:#818cf8; 
    --primary-2:#a78bfa; 
    --primary-soft:#232a52; 
    --success:#4ade80; 
    --success-soft:#14301f; 
    --warn:#fbbf24; 
    --warn-soft:#3a2d10; 
    --danger:#fb7185; 
    --danger-soft:#3a1822; 
    --shadow:0 1px 2px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.3); 
    background-color: var(--bg) !important; 
}
:root{--tab-container-bg:var(--surface-2);--tab-active-bg:var(--surface);--tab-active-text:var(--primary);--tab-active-border:var(--primary);--tab-inactive-text:var(--muted);--tab-hover-bg:var(--primary-soft);--tab-radius:10px}
.dark,.dark .content-wrapper{--tab-container-bg:var(--surface-2);--tab-active-bg:var(--surface);--tab-active-text:var(--primary);--tab-active-border:var(--primary);--tab-inactive-text:var(--muted);--tab-hover-bg:rgba(129,140,248,.14);--tab-radius:10px}

/* ===== reset & base ===== */
*, ::after, ::before { box-sizing: inherit; }
a:focus, button:focus, input:focus, select:focus, textarea:focus { outline: 0; }
/* ===== fieldset & legend ===== */
.fieldset { border: 1px solid #ccc; border-right: 0; border-left: 0; margin: 10px 0; padding: 5px 5px 15px 5px; width: 100%; }
.legend { background-color: none; border: 1px solid #ccc; color: #4d4d4d; border-radius: 5px; padding: 5px 15px 4px 15px; margin: 0 auto; text-transform: uppercase; font-family: inherit; font-size: 14px; width: auto; }
/* ===== typography ===== */
.strong { font-weight: 600; }
.font_f { font-family: Vazir; }
.font_t { font-size: 10pt tahoma; }
/* ===== list ===== */
.list_style_none li { list-style: none !important; }
/* ===== flexbox ===== */
.fxa { display: flex; align-items: center; justify-content: space-between; }
.fxc { display: flex; align-items: center; }
.fxcc { display: flex; align-items: center; justify-content: center; }
.flex { display: flex !important; }
.flex_warp { flex-wrap: wrap; }
.jus_c { justify-content: center; }
.pointer { cursor: pointer; }
.fx_reverse { flex-direction: row-reverse; }
.fx_align_s { align-items: flex-start; }
.fx_grow { flex-grow: 1; }
.fx_col, .fx_dc { flex-direction: column; }
.fx_row, .fx_dr { flex-direction: row; }
.flex_center { align-items: center; }
.flex_bt { align-items: center; }
.flex_a_r { align-items: right; }
.flex_a_l { align-items: left; }
.flex_j_l { justify-content: left; }
.flex_j_bt { justify-content: space-between; }
.fx_25 { flex: 0 0 25%; }
.fx_33 { flex: 0 0 33.3333%; }
.fx_30 { flex: 0 0 30%; }
.fx_50 { flex: 0 0 50%; }
.fx_66 { flex: 0 0 66.6666%; }
.fx_75 { flex: 0 0 75%; }
.fx_100 { flex: 0 0 100%; }
/* ===== clear ===== */
.clear { clear: both; }
/* ===== gap ===== */
.gap5 { gap: 5px; }
.gap6 { gap: 6px; }
.gap7 { gap: 7px; }
.gap8 { gap: 8px; }
.gap9 { gap: 9px; }
.gap10 { gap: 10px; }
.gap12 { gap: 12px; }
.gap15 { gap: 15px; }
.gap18 { gap: 18px; }
.gap20 { gap: 20px; }
/* ===== position ===== */
.pos_f { position: fixed; }
.pos_a { position: absolute; }
.pos_r { position: relative !important; }
/* ===== direction ===== */
.ltr, .dir_l { direction: ltr; }
.dir_r { direction: rtl; }
/* ===== text-align ===== */
.t_a_r, .txt_right { text-align: right; }
.t_a_l, .txt_left { text-align: left; }
.t_a_c, .txt_center { text-align: center; }
.t_a_j { text-align: justify; }
/* ===== border-radius ===== */
.b_rad_lb { border-radius: 0 0 0 20px; }
.b_r_50 { border-radius: 50%; }
.b_rad_5 { border-radius: 5px; }
.b_rad_10 { border-radius: 10px; }
.b_rad_20 { border-radius: 20px; }
/* ===== border ===== */
.br_2 { border: 2px solid; }
.br_c_img { border-color: #eee; }
.b_tr_cm { border-right: 1px dashed #ddd; border-top: 1px dashed #ddd; }
.b_r_cm { border-right: 1px dashed #ddd; }
.br_b_d { border-bottom: 1px dashed #dedede; }
.br_b { border-bottom: 1px solid #dedede; }
.border_r_l { border-left: #e9ecef 1px solid; border-right: #e9ecef 1px solid; }
/* ===== z-index ===== */
.z-index { z-index: 1; }
/* ===== width ===== */
.w40 { width: 40px; }
.w50 { width: 50px; }
.w60 { width: 60px; }
.w65 { width: 65px; }
.w75 { width: 75px; }
.w90 { width: 90px; }
.w100 { width: 100px; }
.w110 { width: 110px; }
.w120 { width: 120px; }
.w130 { width: 130px; }
.w140 { width: 140px; }
.w200 { width: 200px; }
.mw100 { max-width: 100%; }
.w_100, .mw_100 { width: 100%; }
.mw200 { max-width: 200px; }
.mw350 { max-width: 350px; }
.mw400 { max-width: 400px; }
.mw500 { max-width: 500px; }
.mw800 { max-width: 800px; }
.mw1000 { max-width: 1000px; }
.mw1200 { max-width: 1200px; }
/* ===== height ===== */
.h100vh { height: 100vh; }
.h40 { height: 40px; }
.h45 { height: 45px; }
.h50 { height: 50px; }
.h60 { height: 60px; }
.h65 { height: 65px; }
.h70 { height: 70px; }
.h75 { height: 75px; }
.h90 { height: 90px; }
.h200 { height: 200px; }
.h610 { height: 610px; }
.h_100 { height: 100%; }
.mh_100 { max-height: 100%; }
/* ===== display ===== */
.dis_ib { display: inline-block; }
.dis_n { display: none; }
.dis_fx { display: flex; }
/* ===== background ===== */
.bgwhite { background: var(--white); }
/* ===== font-size ===== */
.font_10 { font-size: 10px !important; }
.font_11 { font-size: 11px !important; }
.font_12 { font-size: 12px !important; }
.font_13 { font-size: 13px !important; }
.font_14 { font-size: 14px !important; }
.font_15 { font-size: 15px !important; }
.font_16 { font-size: 16.5px !important; }
.font_17 { font-size: 17px !important; }
.font_18 { font-size: 18px !important; }
.font_19 { font-size: 19px !important; }
.font_20 { font-size: 20px !important; }
.font_22 { font-size: 22px !important; }
.font_23 { font-size: 23px !important; }
.font_24 { font-size: 24px !important; }
.font_25 { font-size: 25px !important; }
.font_26 { font-size: 26px !important; }
.font_27 { font-size: 27px !important; }
.font_30 { font-size: 30px !important; }
.font_40 { font-size: 40px !important; }
.font_50 { font-size: 50px !important; }
/* ===== colors ===== */
.red { color: red; }
.green { color: green; }
.gray { color: gray; }
/* ===== padding ===== */
.p_4 { padding: 4px; }
.p_5 { padding: 5px; }
.p_7 { padding: 7px; }
.p_10 { padding: 10px; }
.p_11 { padding: 11px; }
.p_12 { padding: 12px; }
.p_15 { padding: 15px; }
.p_20 { padding: 20px; }
.p_25 { padding: 25px; }
.pX_5 { padding: 0 5px 0 5px !important; }
.pX_6 { padding: 0 6px 0 6px !important; }
.pX_7 { padding: 0 7px 0 7px !important; }
.pX_10 { padding: 0 10px 0 10px; }
.pX_15 { padding: 0 15px 0 15px; }
.pX_20 { padding: auto 20px auto 20px; }
.pX_25 { padding: auto 25px auto 25px; }
.pY_5 { padding: 5px auto 5px auto; }
.pY_6 { padding: 6px 0 6px 0 !important; }
.pY_7 { padding: 7px 0 7px 0 !important; }
.pY_10 { padding: 10px 0 10px 0; }
.pY_15 { padding: 15px 0 15px 0; }
.pY_20 { padding: 20px auto 20px auto; }
.pY_30 { padding: 30px 0 30px 0; }
.pY_100 { padding: 100px 0; }
.p_r_2 { padding-right: 2px; }
.p_r_5 { padding-right: 5px; }
.p_r_7 { padding-right: 7px; }
.p_r_8 { padding-right: 8px; }
.p_r_10 { padding-right: 10px; }
.p_r_15 { padding-right: 15px; }
.p_l_5 { padding-left: 5px; }
.p_l_10 { padding-left: 10px; }
.p_l_15 { padding-left: 15px; }
.p_l_3 { padding-left: 3px; }
.p_b_5 { padding-bottom: 5px; }
.p_b_10 { padding-bottom: 10px; }
.p_b_15 { padding-bottom: 15px; }
.p_b_20 { padding-bottom: 20px; }
.pB_50 { padding-bottom: 50px; }
.p_t_5 { padding-top: 5px; }
.p_t_6 { padding-top: 6px; }
.p_t_7 { padding-top: 7px; }
.p_t_8 { padding-top: 8px; }
.p_t_9 { padding-top: 9px; }
.p_t_10 { padding-top: 10px; }
.p_t_12 { padding-top: 12px; }
.p_t_13 { padding-top: 13px; }
.p_t_14 { padding-top: 14px; }
.p_t_15 { padding-top: 15px; }
.p_t_17 { padding-top: 17px; }
.p_t_20 { padding-top: 20px; }
.p_t_23 { padding-top: 23px; }
.p_t_25 { padding-top: 25px; }
.p_t_30 { padding-top: 30px; }
.p_t_35 { padding-top: 35px; }
.p_t_40 { padding-top: 40px; }
.p_t_50 { padding-top: 50px; }
.p_t_60 { padding-top: 60px; }
/* ===== margin ===== */
.m_a { margin: 0 auto; }
.mTB_20 { margin: 20px auto; }
.mY_10 { margin: 10px auto 10px auto; }
.mY_20 { margin: 20px auto 20px auto; }
.mY_40 { margin: 40px auto 40px auto; }
.mX_10 { margin: auto 10px auto 10px; }
.m_r_5 { margin-right: 5px; }
.m_r_7 { margin-right: 7px; }
.m_r_10 { margin-right: 10px; }
.m_r_11 { margin-right: 11px; }
.m_r_12 { margin-right: 12px; }
.m_r_13 { margin-right: 13px; }
.m_r_14 { margin-right: 14px; }
.m_r_15 { margin-right: 15px; }
.m_r_16 { margin-right: 16px; }
.m_r_17 { margin-right: 17px; }
.m_r_18 { margin-right: 18px; }
.m_r_19 { margin-right: 19px; }
.m_r_20 { margin-right: 20px; }
.m_r_25 { margin-right: 25px; }
.m_r_30 { margin-right: 30px !important; }
.mB0 { margin-bottom: 0px; }
.m_b_5 { margin-bottom: 5px; }
.m_b_10 { margin-bottom: 10px; }
.m_b_15 { margin-bottom: 15px; }
.m_b_20 { margin-bottom: 20px; }
.m_b_25 { margin-bottom: 25px; }
.m_b_30 { margin-bottom: 30px; }
.m_b_40 { margin-bottom: 40px; }
.m_b_100 { margin-bottom: 100px; }
.m_t_2 { margin-top: 2px; }
.m_t_3 { margin-top: 3px; }
.m_t_4 { margin-top: 4px; }
.m_t_5 { margin-top: 5px; }
.m_t_6 { margin-top: 6px; }
.m_t_7 { margin-top: 7px; }
.m_t_8 { margin-top: 8px; }
.m_t_9 { margin-top: 9px; }
.m_t_10 { margin-top: 10px; }
.m_t_15 { margin-top: 15px; }
.m_t_20 { margin-top: 20px; }
.m_t_21 { margin-top: 21px; }
.m_t_22 { margin-top: 22px; }
.m_t_23 { margin-top: 23px; }
.m_t_24 { margin-top: 24px; }
.m_t_25 { margin-top: 25px; }
.m_t_26 { margin-top: 26px; }
.m_t_27 { margin-top: 27px; }
.m_t_28 { margin-top: 28px; }
.m_t_29 { margin-top: 29px; }
.m_t_30 { margin-top: 30px; }
.m_t_40 { margin-top: 40px; }
.m_t_50 { margin-top: 50px; }
.m_t_60 { margin-top: 60px; }
.m_t_100 { margin-top: 100px; }
.m_l_3 { margin-left: 3px; }
.m_l_5 { margin-left: 5px; }
.m_l_7 { margin-left: 7px; }
.m_l_8 { margin-left: 8px; }
.m_l_9 { margin-left: 9px; }
.m_l_10 { margin-left: 10px; }
.m_l_11 { margin-left: 11px; }
.m_l_12 { margin-left: 12px; }
.m_l_13 { margin-left: 13px; }
.m_l_14 { margin-left: 14px; }
.m_l_15 { margin-left: 15px; }
.m_l_16 { margin-left: 16px; }
.m_l_17 { margin-left: 17px; }
.m_l_18 { margin-left: 18px; }
.m_l_19 { margin-left: 19px; }
.m_l_20 { margin-left: 20px; }
.m_rl_5 { margin: 0px 5px; }
.m_tb_5 { margin: 5px 0px; }
.m_tb_10 { margin: 10px 0px; }
.m_tb_15 { margin: 15px 0px; }
.m_tb_20 { margin: 20px 0px; }
.m_tb_25 { margin: 25px 0px; }
/* ===== float ===== */
.float_r { float: right; }
.float_l { float: left; }
/* ===== visibility ===== */
.vhide { visibility: hidden; }
.vshow { visibility: visible; }
/* ===== font-weight ===== */
.fw_300 { font-weight: 300; }
.fw_400 { font-weight: 400; }
.fw_500 { font-weight: 500; }
.fw_600 { font-weight: 600; }
.fw_700 { font-weight: 700; }
.fw_800 { font-weight: 800; }
.fw_900 { font-weight: 900; }
.fw_b { font-weight: bold; }
/* ===== embed ===== */
.item_embed { width: 100%; margin: 25px auto; }
.embed_box { background: #FFF; position: relative; border: 1px solid #eee; height: 202px; box-shadow: rgba(150, 150, 150, 0.25) 0px 0px 5px -2px, rgba(150, 150, 93, 0.25) 0px 3px 7px -3px; }
.embed_info { position: relative; }
.embed_title { padding: 0 10px 0px 0; }
.embed_title2 { font-size: 18px; }
.embed_dc { color: #757575; text-align: justify; font-size: 15px; padding: 0 10px 0 0; display: flex; flex-direction: column; gap: 10px; }
.embed_text { float: right; position: relative; width: calc(100% - 200px); }
.embed_cover { height: 200px; width: 200px; float: left; }
.embed_img { width: 100%; height: 100% !important; min-width: 100%; object-fit: cover; margin: 0 !important; }
.embed_buy { position: absolute; bottom: 0; right: 0; left: 0; margin-left: 210px; }
@media screen and (max-width:600px) {
.embed_box { height: auto; }
.embed_text { width: 100%; }
.embed_cover { height: 200px; width: 100%; }
.embed_buy { margin-left: 0px; margin-top: 30px; }
.embed_box { padding-bottom: 50px; }
.fx_col600 { flex-direction: column; }
.gap10_600 { gap: 10px; }
}
/* ===== radio button ===== */
.rb_radio { display: flex; }
.rb_radio_label { width: 100%; display: grid; cursor: pointer; font-weight: 500; position: relative; overflow: hidden; }
.rb_radio_label input { position: absolute; right: -9999px; }
.rb_radio_label input:checked + .rb_item_title { background-color: #d4f2f8; }
.rb_radio_label input:checked + .rb_item_title:before { box-shadow: inset 0 0 0 0.4375em #4dc3d9; }
.rb_radio_label .rb_item_title { display: flex; align-items: center; padding: 5px 3px 5px 3px; border-radius: 99em; transition: 0.25s ease; }
.rb_radio_label .rb_item_title:hover { background-color: #d4f2f8; }
.rb_radio_label .rb_item_title:before { content: ""; background-color: #fff; width: 1.5em; height: 1.5em; border-radius: 50%; margin-right: 0.20em; transition: 0.25s ease; box-shadow: inset 0 0 0 0.125em #4dc3d9; }
.rb_item_title2 { margin-right: 10px; }
/* ===== poll ===== */
.rb_poll { margin: 15px 0; }
.rb_poll_items { margin: 15px 0; display: flex; flex-direction: column; gap: 5px; }
.rb_poll_item { display: flex; flex-direction: column; gap: 5px; }
.rb_poll_btn { display: flex; gap: 10px; }
.rb_poll_title { font-size: 16px; font-weight: 500; }
.rb_poll_proccess { width: 100%; position: relative; height: 35px; display: flex; flex-direction: column-reverse; align-items: flex-end; }
.rb_poll_proccessbar { height: 10px; background: #4dc3d9; border-radius: 2px; float: left; }
.rb_poll_proccessbar_full { width: 100%; background: #e9ecef; }
.rb_poll_proccessbar_text { position: absolute; left: 0; top: 0; width: 100%; text-align: left; }
.rb_poll_up .rb_poll_proccessbar { position: relative; background: rgb(77,195,217); background: linear-gradient(90deg, rgba(77,195,217,1) 0%, rgba(0,115,135,1) 80%); }
.rb_poll_up .rb_poll_proccess { height: 6px; }
.rb_poll_up .rb_poll_items { gap: 12px; }
.rb_poll_up .rb_poll_proccessbar { height: 7px; }
.rb_poll_up .rb_poll_proccessbar_text { position: absolute; top: auto; left: 0; width: auto; bottom: 15px; background: rgb(77,195,217); background: linear-gradient(90deg, rgba(77,195,217,1) 0%, rgba(0,115,135,1) 80%); color: #FFF; padding: 0px 8px; font-weight: 600; font-size: 12px; }
.rb_poll_up .rb_poll_percent::after { width: 1px; position: absolute; left: 5px; bottom: -5px; content: ""; border-right: 5px solid transparent; border-left: 5px solid transparent; border-top: 5px solid #4dc3d9; }
.rb_poll_c { margin-left: 6px; }
.rb_poll_color .pcbar0 { background: #4CC417; }
.rb_poll_color .pcbar1 { background: #1589FF; }
.rb_poll_color .pcbar2 { background: #FF0000; }
.rb_poll_color .pcbar3 { background: #301f0d; }
.rb_poll_color .pcbar4 { background: #C6BE8C; }
.rb_poll_color .pcbar5 { background: #CC6600; }
.rb_poll_color .pcbar6 { background: #990000; }
.rb_poll_color .pcbar7 { background: #520000; }
.rb_poll_color .pcbar8 { background: #BFBFC1; }
.rb_poll_color .pcbar9 { background: #808080; }
.rb_poll_color .pcbar10 { background: #89DAF9; }
.rb_poll_color .pcbar11 { background: #373B3D; }
.rb_poll_color .pcbar12 { background: #DC7F24; }
.rb_poll_color .pcbar13 { background: #9620E8; }
.rb_poll_color .pcbar14 { background: #FEE903; }
/* ===== checkbox ===== */
.checkbox-group label, .checkbox-group label:before { position: relative; cursor: pointer; }
.checkbox-group { display: block; margin-bottom: 0; }
.checkbox-group input { padding: 0; height: initial; width: initial; margin-bottom: 0; display: none; cursor: pointer; }
.checkbox-group label:before { content: ''; -webkit-appearance: none; background-color: transparent; border: 2px solid #0079bf; box-shadow: 0 1px 2px rgba(0,0,0,.05), inset 0 -15px 10px -12px rgba(0,0,0,.05); padding: 7px; display: inline-block; vertical-align: middle; margin-left: 5px; }
.checkbox-group input:checked+label:after { content: ''; display: block; position: absolute; top: 5px; right: 3px; width: 4px; height: 10px; border: solid #0079bf; border-width: 9px; transform: rotate(270deg); }
/* ===== expand list ===== */
.m-d.expand-list { margin: 20px 0px; padding: 0; }
.m-d.expand-list > li { list-style-type: none; padding: 15px 0; border: 1px solid #eee; box-shadow: rgb(150 150 150 / 25%) 0px 0px 5px -2px, rgb(150 150 93 / 25%) 0px 3px 7px -3px; position: relative; padding: 15px; }
.m-d label[class^="tab"]:hover { cursor: pointer; }
.m-d input[class^="tab"] { -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 100%; height: 40px; position: absolute; left: 0; top: 0; }
.m-d input[class^="tab"]:hover { cursor: pointer; }
.m-d label[class^="tab"] { font-weight: bold; }
.m-d .content { height: auto; max-height: 0; overflow: hidden; transform: translateY(20px); transition: all 180ms ease-in-out 0ms; }
.m-d li[data-md-content="100"] input[class^="tab"]:checked ~ .content { max-height: 100px; transition: all 150ms ease-in-out 0ms; }
.m-d li[data-md-content="200"] input[class^="tab"]:checked ~ .content { max-height: 200px; transition: all 200ms ease-in-out 0ms; }
.m-d li[data-md-content="300"] input[class^="tab"]:checked ~ .content { max-height: 300px; transition: all 250ms ease-in-out 0ms; }
.m-d li[data-md-content="400"] input[class^="tab"]:checked ~ .content { max-height: 400px; transition: all 250ms ease-in-out 0ms; }
.m-d li[data-md-content="500"] input[class^="tab"]:checked ~ .content { max-height: 500px; transition: all 250ms ease-in-out 0ms; }
.m-d li[data-md-content="600"] input[class^="tab"]:checked ~ .content { max-height: 600px; transition: all 250ms ease-in-out 0ms; }
.m-d li[data-md-content="700"] input[class^="tab"]:checked ~ .content { max-height: 700px; transition: all 300ms ease-in-out 0ms; }
.m-d li[data-md-content="800"] input[class^="tab"]:checked ~ .content { max-height: 800px; transition: all 300ms ease-in-out 0ms; }
.m-d li[data-md-content="900"] input[class^="tab"]:checked ~ .content { max-height: 900px; transition: all 300ms ease-in-out 0ms; }
.m-d li[data-md-content="1000"] input[class^="tab"]:checked ~ .content { max-height: 1000px; transition: all 350ms ease-in-out 0ms; }
.m-d li[data-md-content=""] input[class^="tab"]:checked ~ .content { max-height: fit-content; transition: all 250ms ease-in-out 0ms; }
.m-d input[class^="tab"]:checked ~ .content { margin-bottom: 20px; }
.m-d .open-close-icon { display: inline-block; position: absolute; right: 35px; top: 19px; transform: translatey(2px); }
.m-d .open-close-icon i { position: absolute; left: 0; }
.m-d .open-close-icon .fa-minus { transform: rotate(-90deg); transition: transform 150ms ease-in-out 0ms; }
.m-d input[class^="tab"]:checked ~ .open-close-icon .fa-minus { transform: rotate(0deg); transition: transform 150ms ease-in-out 0ms; }
.m-d .open-close-icon .fa-plus { opacity: 1; transform: rotate(-90deg); transition: opacity 50ms linear 0ms, transform 150ms ease-in-out 0ms; }
.m-d input[class^="tab"]:checked ~ .open-close-icon .fa-plus { opacity: 0; transform: rotate(0deg); transition: opacity 50ms linear 0ms, transform 150ms ease-in-out 0ms; }
/* ===== form elements ===== */
button, input, optgroup, select, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; }
button, input { overflow: visible; }
button, select { text-transform: none; }
[type=reset], [type=submit], button, html [type=button] { -webkit-appearance: button; }
[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner { padding: 0; border-style: none; }
input[type=checkbox], input[type=radio] { box-sizing: border-box; padding: 0; }
input[type=date], input[type=datetime-local], input[type=month], input[type=time] { -webkit-appearance: listbox; }
input[type="email"]::placeholder { text-align: center; direction: rtl; }
input[type="text"]::placeholder { text-align: right; direction: rtl; }
input[type="tel"]::placeholder { text-align: left; direction: rtl; }
input[type="email"]:-ms-input-placeholder { text-align: center; direction: rtl; }
input[type="email"]::-ms-input-placeholder { text-align: center; direction: rtl; }
/* ===== misc ===== */
.margin_10 { margin: 10px 0; }
.div_circle { -webkit-border-radius: 50%; border-radius: 50%; border: 1px solid #3498dc; }
.question_help { position: absolute; margin-right: 3px; width: 22px; height: 22px; padding-right: 6px; font: 20px aria; display: inline-block; }
/* ===== dropdown ===== */
.btn-group,.btn-group-vertical{position:relative;vertical-align:middle}
.btn-group{display:inline-block}
.btn-group-vertical{display:-ms-inline-flexbox;display:inline-flex}
.btn-group .dropdown-toggle{display:inline-flex;align-items:center;gap:6px;cursor:pointer;padding:6px 14px;border-radius:10px;background:var(--primary-soft);color:var(--primary);border:0;font-weight:700;font-size:13px;text-decoration:none}
.btn-group .dropdown-toggle:hover{background:var(--primary);color:#fff}
.dropdown-toggle::after{display:none}
.btn .caret{margin-left:0}
.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:5px solid currentColor;border-left:4px solid transparent;border-right:4px solid transparent}
.dropdown-menu{position:absolute;top:calc(100% + 6px);left:0;right:auto;z-index:60;display:none;min-width:190px;margin:0;padding:6px;list-style:none;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);transform:none;color:#212529;direction:rtl;text-align:left;font:10pt tahoma;width:auto;float:left;background-clip:padding-box}
.dropdown-menu.show,.btn-group.open .dropdown-menu{display:block}
.dropdown-menu li a,.dropdown-menu>li>a,.dropdown-menu .dropdown-item{display:block;padding:8px 12px;color:var(--text);text-decoration:none;font-size:13.5px;border-radius:8px;white-space:nowrap;clear:both;max-width:100%;background:0 0;border:0;text-align:right;direction:rtl}
.dropdown-menu li a:hover,.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus,.dropdown-menu .dropdown-item:hover,.dropdown-menu .dropdown-item:focus{background:var(--primary-soft);color:var(--primary)}
.dropdown-menu .active>a,.dropdown-menu .active>a:focus,.dropdown-menu .active>a:hover,.dropdown-menu .dropdown-item.active,.dropdown-menu .dropdown-item.active:focus,.dropdown-menu .dropdown-item.active:hover{background:#ebedee;color:inherit}
.dropdown-menu ul.a{list-style-type:none}
.ac li{border-bottom:1px solid #eee}
.btn_edit{padding:5px;background:#e3e6e7;border:1px solid #c1c4c4;color:#485b6f;font-size:12px;display:inline-block}

/* ===== form ===== */
/* استایل فرم‌ها - هماهنگ‌شده با rb_input */
.div_form input[type=text],.div_form input[type=password],.div_form select,.div_form textarea,.div_form input[type=number]{width:100%;padding:9px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-family:inherit;font-size:14px;outline:none;transition:border-color .2s,box-shadow .2s;box-sizing:border-box}
.div_form input[type=text]:focus,.div_form input[type=password]:focus,.div_form select:focus,.div_form textarea:focus,.div_form input[type=number]:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px var(--primary-soft)}
.div_form input[type=submit]{text-align:center}

/* استایل اینپوت‌های عمومی */
.rb_input{width:100%;padding:9px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font-family:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s;box-sizing:border-box}
.rb_input:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px var(--primary-soft)}

.div_form .desc_input { font: 8pt tahoma; color: #b6b5b5; text-align: right; }
.div_form .div_form_tb input[type=text], .div_form .div_form_tb select, .div_form .div_form_tb textarea { max-width: 400px; }
.div_form label { padding: 3px; display: inline-block; margin: 0px; }
.div_form label.none_p { padding: 0; display: inline-block; }
.div_form { border-radius: 5px; }
.div_form .div_form_tb tbody { width: 100% !important; }
.div_form .div_form_tb { width: 100% !important; }
.row_form { display: flex; align-items: center; margin-top: 10px; position: relative; }
.row_form:after { content: ""; display: table; clear: both; margin: 5px 0px; }
.div_form_color > .row_form:nth-child(odd) { background: #f8f8f8; }
.div_form_color > tr:nth-child(odd) { background: #f8f8f8; }
.div_form_color tr:nth-of-type(odd) { background: #f7f6f6; }
.input_max { max-width: 400px; }
.max_200 { max-width: 200px !important; }
.input_max_3 { max-width: 300px; }
.input_max_form input[type=text], .div_form input[type=password], .input_max_form select, .input_max_form textarea { max-width: 400px !important; }
/* ===== table small ===== */
.tb_small{max-width:400px;border-collapse:collapse;margin:10 auto;padding:0;width:100%;font-family:Vazir,tahoma;font-size:12px;background:#fff;border-radius:10px;box-shadow:0 1px 3px rgba(0,0,0,.04)}.tb_small tr:nth-of-type(odd){background:#f8fafc}.tb_small th{padding:10px 0;text-align:center;background:#f8fafc;color:#475569;font-weight:600;border-bottom:1px solid #e2e8f0;font-size:13px}.tb_small tr{background:#fff;border:1px solid #e2e8f0;padding:.35em;transition:background .15s ease}.tb_small tr:hover{background:#fafcfd}.tb_small td{padding:.625em;text-align:center;color:#334155;border-bottom:1px solid #f1f5f9;font-size:12px}.tb_small td:last-child{border-bottom:0}.tb_small th{font-family:Vazir,tahoma;font-size:14px}.max_600{max-width:600px}.tb_small .thead_hi{display:none}@media screen and (max-width:400px){.tb_small{max-width:100%;border-radius:6px}.max_200{max-width:49%!important}.max_600{max-width:100%}}
/* ============================================================
   TABLE NEW - جدول با طراحی جدید و ریسپانسیو کامل
   ============================================================ */
.tb_new{border:0px solid #e2e8f0;border-collapse:collapse;margin:0;padding:0;width:100%;font:9pt tahoma;background:#fff;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.04)}.tb_new tr{background-color:#fff;border:1px solid #e2e8f0;padding:.35em;transition:background .15s ease}.tb_new tr:hover{background-color:#fafcfd}.tb_new tr:nth-child(even){background-color:#fcfdfe}.tb_new tr:nth-child(even):hover{background-color:#f8fafc}.tb_new .thead_hi{display:none}.tb_new th,.tb_new td{padding: 8px 5px;text-align:center}.tb_new th{font-family:inherit;background-color:#f8fafc;color:#475569;font-weight:600;border-bottom:1px solid #e2e8f0;text-transform:uppercase;letter-spacing:.5px;font-size:12px;padding: 13px 5px;}.tb_new td{background:#fff;color:#334155;font-size:13px;border-bottom:1px solid #f1f5f9}.tb_new td:last-child{border-bottom:0}.tb_color_td{background:#f8fafc!important;color:#475569}.show_max_600{display:none}.comment_date{width:80%;float:right}@media screen and (max-width:600px){.input_max{max-width:100%}.input_max_3{max-width:100%}.input_max_form{max-width:100%}.div_form .div_form_tb td{width:100%!important;display:inline-block}.div_form .div_form_tb tr{margin:7px 0}.div_form .div_form_tb input[type=text],.div_form .div_form_tb select,.div_form .div_form_tb textarea{width:100%}.div_form .div_form_tb .theader{display:none}.div_form .div_form_tb tr{display:inline-block;width:100%!important}.show_max_600{display:inline-block}.hide_max_600{display:none;width:0;height:0;margin:0;padding:0}.tb_new{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.tb_new .thead_hi{display:block;padding:0}.tb_new .thead{display:none;border:none;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.tb_new tr{border-bottom:1px solid #e2e8f0;display:block;margin-bottom:.625em;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;padding:0em;background:#fff}.tb_new tr:hover{background:#fafcfd}.tb_new td{border-bottom:1px solid #e2e8f0;display:block;text-align:right;font:13px 'Vazir';color:#334155}.tb_new td:last-child{border-bottom:0 solid #e2e8f0}.tb_new td{background-repeat:repeat-y;background-size:30% auto;background-color:#f8fafc;background:linear-gradient(to left,#f8fafc 30%,#fff 70%);background:linear-gradient(90deg,#fff 70%,#f8fafc 0%)}.tb_new td[data-label]{display:flex;flex-direction:column}.tb_new td[data-label]::before{content:attr(data-label);float:right;width:30%;font:13px 'Vazir';font-weight:bold;color:#64748b}.tb_new td[data-label]{display:block;padding-right:35%;position:relative}.tb_new td[data-label]::before{position:absolute;right:10px;top:10px;width:30%;color:#64748b}.tb_new td:not([data-label]){background:transparent}.tb_new td:not([data-label])::before{content:none;display:none}.tb_new td:empty{display:none}.tb_new td:not([data-label]){grid-template-columns:100%}.td_color_none{background:#fff!important}.border_bottom_none{border-bottom:0!important;margin-bottom:0!important;-webkit-border-radius:0!important;-moz-border-radius:0!important;border-radius:0!important}.tb_color_td{background:linear-gradient(90deg,#fff 70%,#f8fafc 0%)}.tb_new>td:nth-child(odd){background-color:#f8fafc}.comment_date{width:50%}}/* ============================================================
   TABLE ROZBLOG - جدول با ساختار مدرن و ریسپانسیو
   ============================================================ */
.tb_rozblog { display: table; text-align: center; width: 100%; margin: 10px auto 0; border-collapse: separate; }
.table_row { display: table-row; }
.theader { display: table-row; }
.table_header { display: table-cell; border-bottom: #e9ecef 1px solid; border-top: #e9ecef 1px solid; background: #f2f2f2; color: #000 !important; padding-top: 7px; padding-bottom: 7px; font-weight: 700; }
.table_header:first-child { border-right: #e9ecef 1px solid; border-top-right-radius: 5px; }
.table_header:last-child { border-left: #e9ecef 1px solid; border-top-left-radius: 5px; }
.table_small { display: table-cell; }
.table_row > .table_small > .table_cell:nth-child(odd) { display: none; background: #f2f2f2; color: #000; padding-top: 7px; padding-bottom: 7px; }
.table_row > .table_small > .table_cell { padding-top: 3px; padding-bottom: 3px; color: #000; border-bottom: #e9ecef 1px solid; }
.table_row > .table_small:first-child > .table_cell { border-right: #e9ecef 1px solid; }
.table_row > .table_small:last-child > .table_cell { border-left: #e9ecef 1px solid; }
.table_row:last-child > .table_small:last-child > .table_cell:last-child { border-bottom-right-radius: 5px; }
.table_row:last-child > .table_small:first-child > .table_cell:last-child { border-bottom-left-radius: 5px; }
.table_row:nth-child(2n+3) { background: #f2f2f2; }
.table_cell { padding: 0 10px 0px 2px; }
@media screen and (max-width:700px) { .tb_rozblog { width: 100%; } }
.tb_rozblog .col_20 { width: 20%; float: right; }
.tb_rozblog .col_23 { width: 23%; float: right; }
.tb_rozblog .col_30 { width: 30%; float: right; }
.tb_rozblog .col_50 { width: 50%; float: right; }
.tb_rozblog .col_100 { width: 100%; float: right; }
.f_title { background: #f2f2f2; }
.clear_both { clear: both; }
.table_block { display: block; }
.txt_right { text-align: right !important; }
.txt_left { text-align: left !important; }
.txt_center { text-align: center; }
.border_r_l { border-left: #e9ecef 1px solid; border-right: #e9ecef 1px solid; }
@media screen and (max-width:550px) {
.table_small_hide { display: none; }
.tb_rozblog { display: block; }
.table_row:nth-child(2n+3) { background: none; }
.theader { display: none; height: 0px; }
.table_row > .table_small > .table_cell:nth-child(odd) { display: table-cell; width: 50%; }
.table_cell { display: table-cell; width: 50%; }
.table_row { display: table; width: 100%; border-collapse: separate; padding-bottom: 0px; margin: 2% auto 0; text-align: center; }
.table_small { display: table-row; }
.table_row > .table_small:first-child > .table_cell:last-child { border-right: none; }
.table_row > .table_small > .table_cell:first-child { border-left: #e9ecef 1px solid; }
.table_row > .table_small:first-child > .table_cell:first-child { border-top-right-radius: 5px; border-top: #e9ecef 1px solid; border-bottom: #e9ecef 1px solid; }
.table_row > .table_small:first-child > .table_cell:last-child { border-top-left-radius: 5px; border-top: #e9ecef 1px solid; }
.table_row > .table_small .table_cell:first-child { border-left: #e9ecef 1px solid; border-right: #e9ecef 1px solid; }
.table_row > .table_small > .table_cell:last-child { border-left: #e9ecef 1px solid; }
.table_row > .table_small:last-child > .table_cell:first-child { border-bottom-right-radius: 5px; }
.table_row > .table_small:last-child > .table_cell:last-child { border-bottom-left-radius: 5px; }
.table_row > .table_small > .table_cell:nth-child(odd) { display: table-cell; width: 22%; }
.table_cell { display: table-cell; width: 78%; text-align: right; padding-right: 5px; }
.tb_rozblog .col_20 { width: 80%; float: none; }
.tb_rozblog .col_23 { width: 77%; float: none; }
.tb_rozblog .col_30 { width: 80%; float: none; }
.tb_rozblog .col_50 { width: 80%; float: none; }
.tb_rozblog .col_100 { width: 80%; float: none; }
.f_title { background: none; }
.clear_both { clear: none; }
.table_block { display: table; }
}
/* ===== table sample ===== */
$border: #ddd; $stripe: #FFF;
.tb_sample { table-layout: fixed; display: table; border-collapse: collapse; width: 100%; }
.tr_sample { display: table-row; }
.tr_sample:nth-of-type(odd) { background-color: #FFF; }
.td_sample { text-align: right; display: table-cell; padding: 8px; border-left: 1px solid $border; }
.td_sample:first-child { border-left: 0; }
.input_sub { width: 45% !important; display: inline-block; margin-bottom: 5px; }
.input_sub2 { width: 45% !important; display: inline-block; text-align: left; direction: ltr; }
.col_always_25 { width: 25%; }
.col_always_75 { width: 75%; }
.font_8 { font: 8pt tahoma; }
.input_200 { width: 200px; }
.col_10 { width: 10%; }
.col_15 { width: 15%; }
.col_20 { width: 20%; }
.col_25 { width: 25%; }
.col_ticket_cat { width: 25%; }
.col_30 { width: 30%; }
.col_33 { width: 33.33333%; }
.col_35 { width: 35%; }
.col_40 { width: 40%; }
.col_45 { width: 45%; }
.col_50 { width: 50%; }
.col_50_350 { width: 50%; }
.col_60 { width: 60%; }
.col_70 { width: 70%; }
.col_75 { width: 75%; }
.col_80 { width: 80%; }
.col_85 { width: 85%; }
.col_90 { width: 90%; }
.col_100 { width: 100%; }
.col_10, .col_15, .col_20, .col_25, .col_30, .col_355, .col_40, .col_45, .col_50, .col_60, .col_70, .col_75, .col_80, .col_85, .col_90, .col_always_25, .col_always_75, .col_50_350, .col_ticket_cat, .col_33 { float: right; }
.ticket_cat_link { width: 100%; margin-right: 10px; }
@media screen and (max-width:700px) { .col_33 { width: 50%; } }
@media screen and (max-width:600px) {
.ticket_cat_link { width: 100%; margin-right: 10px; }
.input_sub { width: 43% !important; }
.input_sub2 { width: 43% !important; }
.row_form { display: block; align-items: center; margin-top: 10px; }
.col_10, .col_15, .col_20, .col_25, .col_30, .col_35, .col_40, .col_45, .col_50, .col_60, .col_70, .col_75, .col_80, .col_85, .col_90, .col_33 { width: 100%; float: none; margin-top: 0px; }
.col_always_25 { width: 50%; }
.col_always_75 { width: 50%; }
.col_ticket_cat { width: 33%; }
}
@media screen and (max-width:450px) {
.col_ticket_cat { width: 50%; }
.input_sub { width: 100% !important; margin: 5px 0; }
.input_sub2 { width: 87% !important; }
.input_200 { width: 100%; }
}
@media screen and (max-width:350px) {
.col_ticket_cat { width: 100%; }
.col_50_350 { width: 100%; float: none; margin-top: 0px; }
}
.btn { margin: 5px 1px; }
/* ============================================================
   NAV & TABS - منو و تب‌ها
   ============================================================ */
.nav-fill .nav-item { -ms-flex: 1 1 auto; flex: 1 1 auto; text-align: center; }
.tabs-line>li .nav-link { -webkit-transition: all .25s; -o-transition: all .25s; transition: all .25s; border-bottom: 3px solid transparent; }
.tabs-line>li .nav-link:hover { border-color: transparent; background-color: transparent; border-bottom-color: #cce5f6 !important; background: #52a7e021; }
.tabs-line>li .nav-link.active, .tabs-line>li .nav-link.active:focus, .tabs-line>li .nav-link.active:hover { border-color: transparent; border-bottom: 3px solid #52a7e0 !important; background: #52a7e021; }
.nav-fill .nav-item { -ms-flex: 5px 5px auto; flex: 5px 5px auto; text-align: center; }
/* ===== tooltip ===== */
div#qTip { color: #FFF; width: 255px; display: none; direction: rtl; font-family: inherit; position: absolute; padding: 6px; z-index: 10000; padding: 1ch 1.5ch; border-radius: 0.3ch; box-shadow: 0 1em 2em -0.5em rgba(0,0,0,0.35); background: #1fa6d5; animation: tooltips-vert 300ms ease-out forwards; }
[tooltip] { position: relative; font-family: inherit; font-style: none; }
[tooltip]::before, [tooltip]::after { text-transform: none; font-size: 13px; line-height: 1.5; user-select: none; pointer-events: none; position: absolute; display: none; opacity: 0; }
[tooltip]::before { content: ''; border: 5px solid transparent; z-index: 1001; }
[tooltip]::after { content: attr(tooltip); text-align: right; min-width: 3em; max-width: 400px; height: auto; padding: 1ch 1.5ch; border-radius: .3ch; box-shadow: 0 1em 2em -.5em rgba(0,0,0,0.35); background: #1fa6d5; opacity: 1; color: #fff; z-index: 1000; font-family: inherit; }
[tooltip]:hover::before, [tooltip]:hover::after { display: block; }
[tooltip='']::before, [tooltip='']::after { display: none !important; }
[tooltip]:not([flow])::before, [tooltip][flow^="up"]::before { bottom: 100%; border-bottom-width: 0; border-top-color: #1fa6d5; }
[tooltip]:not([flow])::after, [tooltip][flow^="up"]::after { bottom: calc(100% + 5px); }
[tooltip]:not([flow])::before, [tooltip]:not([flow])::after, [tooltip][flow^="up"]::before, [tooltip][flow^="up"]::after { left: 50%; transform: translate(-50%, -.5em); }
[tooltip][flow^="down"]::before { top: 100%; border-top-width: 0; border-bottom-color: #1fa6d5; }
[tooltip][flow^="down"]::after { top: calc(100% + 5px); }
[tooltip][flow^="down"]::before, [tooltip][flow^="down"]::after { left: 50%; transform: translate(-50%, .5em); }
[tooltip][flow^="left"]::before { top: 50%; border-right-width: 0; border-left-color: #1fa6d5; left: calc(0em - 5px); transform: translate(-.5em, -50%); }
[tooltip][flow^="left"]::after { top: 50%; right: calc(100% + 5px); transform: translate(-.5em, -50%); }
[tooltip][flow^="right"]::before { top: 50%; border-left-width: 0; border-right-color: #1fa6d5; right: calc(0em - 5px); transform: translate(.5em, -50%); }
[tooltip][flow^="right"]::after { top: 50%; left: calc(100% + 5px); transform: translate(.5em, -50%); }
@keyframes tooltips-vert { to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes tooltips-horz { to { opacity: 1; transform: translate(0, -50%); } }
[tooltip]:not([flow]):hover::before, [tooltip]:not([flow]):hover::after, [tooltip][flow^="up"]:hover::before, [tooltip][flow^="up"]:hover::after, [tooltip][flow^="down"]:hover::before, [tooltip][flow^="down"]:hover::after { animation: tooltips-vert 300ms ease-out forwards; font-style: normal; }
[tooltip][flow^="left"]:hover::before, [tooltip][flow^="left"]:hover::after, [tooltip][flow^="right"]:hover::before, [tooltip][flow^="right"]:hover::after { animation: tooltips-horz 300ms ease-out forwards; }
/* ===== button style ===== */
.btn_s { background: #87e0fd; background: -moz-linear-gradient(top, rgba(135,224,253,1) 0%, rgba(83,203,241,1) 40%, rgba(5,171,224,1) 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(135,224,253,1)), color-stop(40%, rgba(83,203,241,1)), color-stop(100%, rgba(5,171,224,1))); background: -webkit-linear-gradient(top, rgba(135,224,253,1) 0%, rgba(83,203,241,1) 40%, rgba(5,171,224,1) 100%); background: -o-linear-gradient(top, rgba(135,224,253,1) 0%, rgba(83,203,241,1) 40%, rgba(5,171,224,1) 100%); background: -ms-linear-gradient(top, rgba(135,224,253,1) 0%, rgba(83,203,241,1) 40%, rgba(5,171,224,1) 100%); background: linear-gradient(to bottom, rgba(135,224,253,1) 0%, rgba(83,203,241,1) 40%, rgba(5,171,224,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#87e0fd', endColorstr='#05abe0', GradientType=0); }
@media screen and (max-width:600px) { [tooltip]::after { width: 100%; } }
/* ===== pagination ===== */
.pagination { justify-content: center; margin: 15px 0; }
.pagination a { margin: 0 2px; }
/* ===== input readonly ===== */
input[readonly] { background: #fafafa; }
/* ===== upload ===== */
.form-upload { display: flex; align-items: center; }
.form-upload label { height: 35px; width: 100px; border: none; border-radius: 5px; background: #f1c40f; color: #333; transition: 0.3s; position: relative; cursor: pointer; display: flex; justify-content: center; align-items: center; }
.form-upload label:hover { opacity: 0.7; }
.form-upload label .file-upload { display: none; }
.form-upload p { margin-left: 20px; font-size: 1rem; direction: ltr; max-width: 100px; overflow: hidden; margin-right: 10px; }
@media screen and (max-width:600px) { .form-upload p { max-width: 100%; } }
/* ===== button link ===== */
.btn_alink { background: none; border: none; color: blue; cursor: pointer; }
/* ===== table none ===== */
.tr_none { border: 0px solid #ddd !important; }
.tb_new .tr_none th, .tb_new .tr_none td { padding: 0; }
code { text-wrap: wrap !important; }
.input_note { font-size: 8pt; color: #7c7c7c; }
/* ===== close button ===== */
.close_button2.active svg { transform: rotate(0deg); }
.close_button2 svg { transform: rotate(180deg); }
/* ===== drag handle ===== */
.handle { width: 20px; height: 20px; cursor: move; }
.input_move { width: 45px; height: 25px; border-radius: 5px; padding: 5px 3px; text-align: center; border: 1px solid #ccc; font-size: 13px; }
/* ============================================================
   PAGINATION - صفحه‌بندی پیشرفته
   ============================================================ */
.rb_pagination { margin: 20px 0; text-align: center; display: flex; justify-content: center; row-gap: 10px; flex-wrap: wrap; }
.rb_pagination a, .rb_pagination span.current { position: relative; padding: 6px 10px !important; margin-left: -1px !important; line-height: 1.42857143; color: #337ab7 !important; text-decoration: none; background-color: #fff; border: 1px solid #ddd !important; }
.rb_pagination span.current { z-index: 2; color: #fff !important; cursor: default; background-color: #337ab7 !important; border-color: #337ab7 !important; }
.rb_pagination a:focus, .rb_pagination a:hover, .rb_pagination span.pagination_current:focus, .rb_pagination span.pagination_current:hover { color: #23527c; background-color: #eee; border-color: #ddd; text-decoration: none !important; }
span.pagination_more { display: flex; padding: 4px; }
/* ===== grid ===== */
.grid { display: grid; }
.g-col-1 { grid-template-columns: 1fr; }
.g-col-2 { grid-template-columns: repeat(2, 1fr); }
.g-col-3 { grid-template-columns: repeat(3, 1fr); }
.g-col-4 { grid-template-columns: repeat(4, 1fr); }
.g-col-5 { grid-template-columns: repeat(5, 1fr); }
.g-col-6 { grid-template-columns: repeat(6, 1fr); }
.g-col-7 { grid-template-columns: repeat(7, 1fr); }
.g-col-8 { grid-template-columns: repeat(8, 1fr); }
.g-col-9 { grid-template-columns: repeat(9, 1fr); }
.g-col-10 { grid-template-columns: repeat(10, 1fr); }
.g-col-11 { grid-template-columns: repeat(11, 1fr); }
.g-col-12 { grid-template-columns: repeat(12, 1fr); }
/* ===== select2 ===== */
.select2-container--default .select2-results>.select2-results__options { max-height: 300px; overflow-y: auto; direction: rtl; }
#parent { width: 300px; text-align: right; direction: rtl; position: relative; }
#parent .select2-container--open + .select2-container--open { left: auto; right: 0; width: 100%; }
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { margin-left: 8px; margin: 2px 0px 3px 7px; background: #FFF; color: red; padding: 2px 6px; border-radius: 5px; }
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove:hover { background: red; color: #FFF; }
.select2-container--default .select2-selection--single .select2-selection__rendered { text-align: right; }
/* ============================================================
   SWITCH - سوئیچ‌های سفارشی (3 نسخه)
   ============================================================ */
/* نسخه 1 */
.input-switch { display: none; }
.label-switch { display: inline-block; position: relative; margin-bottom: 0; top: 4px; }
.label-switch::before, .label-switch::after { content: ""; display: inline-block; cursor: pointer; transition: all 0.5s; }
.label-switch::before { width: 3em; height: 1em; border: 1px solid #757575; border-radius: 4em; background: #888888; }
.label-switch::after { position: absolute; left: 0; top: -20%; width: 1.5em; height: 1.5em; border: 1px solid #757575; border-radius: 4em; background: #ffffff; }
.input-switch:checked ~ .label-switch::before { background: #00a900; border-color: #008e00; }
.input-switch:checked ~ .label-switch::after { left: unset; right: 0; background: #00ce00; border-color: #009a00; }
.info-text { display: inline-block; }
.info-text::before { content: "غیرفعال"; }
.input-switch:checked ~ .info-text::before { content: "فعال"; }
/* نسخه 2 */
.rb-switch { display: inline-block !important; position: relative; width: 50px; height: 25px; border-radius: 20px; background: #dfd9ea; transition: background 0.28s cubic-bezier(0.4, 0, 0.2, 1); vertical-align: middle; cursor: pointer; }
.rb-switch::before { content: ''; position: absolute; top: 1px; left: 2px; width: 22px; height: 22px; background: #fafafa; border-radius: 50%; transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); }
.rb-switch:active::before { box-shadow: 0 2px 8px rgba(0,0,0,0.28), 0 0 0 20px rgba(128,128,128,0.1); }
input:checked + .rb-switch { background: #11b500; }
input:checked + .rb-switch::before { left: 27px; background: #fff; }
input:checked + .rb-switch:active::before { box-shadow: 0 2px 8px rgba(0,0,0,0.28), 0 0 0 20px rgba(0,150,136,0.2); }
/* نسخه 3 */
.rb-tog-radio { display: flex; align-items: center; }
.rb-tog-label { display: inline-block; width: 35px; height: 35px; margin: 10px; cursor: pointer; transition: fill 0.3s, color 0.3s; }
.rb-tog-input { display: none; }
.rb-tog-label svg { width: 100%; height: 100%; }
.rb-tog-input:checked + .rb-tog-label svg path { fill: green; }
/* ===== category list ===== */
.list_cat { background: #f0f0f0; border-radius: 5px; padding: 5px 5px; margin-right: 5px; font-size: 10px; }
/* ===== radio flex ===== */
.radio-flex { display: flex; flex-direction: column; height: 100%; width: 100%; justify-content: center; align-items: center; overflow: auto; }
.radio-flex .radio-container { display: inline-block; }
.radio-flex .radio-container .radio-options { background: #transparent; border-radius: 8px; padding: 5px; }
.radio-flex .radio-container .radio-options input { display: none; }
.radio-flex .radio-container .radio-options input:checked + label { background: #01a6f5; color: white; }
.radio-flex .radio-container .radio-options label { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; display: inline-block; transition: all 0.5s ease; padding: 5px 10px; color: inherit; background: transparent; margin: 4px; border-radius: 2px; float: right; border: 2px solid #eee; cursor: pointer; }
.hidden { display: none; }
/* ============================================================
   MODAL - مودال‌ها
   ============================================================ */
.rb_modal_back { display: none; position: fixed; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgb(0,0,0); background-color: rgba(0,0,0,0.7); padding-top: 60px; }
.rb_modal { position: fixed; top: 0; z-index: 99999; width: 100%; height: 100%; flex-flow: column nowrap; justify-content: center; align-items: center; background: #0000006b; }
.ad-center { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); transform: translate(-50%,-50%); }
svg.ad-center { fill: #fff; -webkit-transition: fill .5s ease; -o-transition: fill .5s ease; transition: fill .5s ease; color: #fff; }
#close_m, #close_m2, #close_m3 { width: 30px; height: 30px; position: absolute; right: -12px; top: -12px; text-align: right; margin: 0 auto; color: #c40000; cursor: pointer; border: 3px #fff solid; background-color: #ef5350; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.rb_modal_header { align-items: center; border-bottom: 1px solid #e0e0e2; display: flex; justify-content: space-between; padding: 6px 0px; color: #00bcff; font-size: 16px; font-weight: 700; }
.rb_log, .rb_reg { display: none; }
.rb_loging, .rb_register { display: none; }
.rb_login, .rb_register { display: none; align-items: center; flex-direction: column; justify-content: center; }
.rb_modal_vip { font-family: inherit; position: relative; margin: 0 auto; border-radius: 8px; background-color: white; min-height: 100px; max-height: 80%; box-sizing: border-box; padding: 10px; min-width: 350px; width: 100%; box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px; }
@media (max-width: 400px) { .rb_modal_vip { min-width: 100%; } .rb_modal { padding: 0 14px 0 4px; } }
.rb_animation_open { -webkit-animation: animation_k .3s cubic-bezier(.175,.885,.32,1.275); animation: animation_k .3s cubic-bezier(.175,.885,.32,1.275); }
.iframe_modal { animation: none; -webkit-animation: none; }
.rb_modal_content { max-height: 500px; overflow-y: scroll; }
.rb_modal_content::-webkit-scrollbar { width: 8px; }
.rb_modal_content::-webkit-scrollbar-track { background: #f1f1f1; }
.rb_modal_content::-webkit-scrollbar-thumb { background: #888; border-radius: 6px; }
.rb_modal_content::-webkit-scrollbar-thumb:hover { background: #555555ad; }
/* ===== tooltip custom ===== */
.rb-tooltip { position: relative; display: flex; cursor: pointer; }
.rb-tooltiptext { visibility: hidden; background-color: black; color: #fff; text-align: center; border-radius: 5px; padding: 4px 7px; position: absolute; z-index: 1; bottom: 125%; left: 50%; transform: translateX(-50%); opacity: 0; white-space: normal; width: 200px; transition: opacity 0.3s; font-size: 11px; }
.rb-tooltiptext::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border-width: 5px; border-style: solid; border-color: black transparent transparent transparent; }
.rb-tooltip:hover .rb-tooltiptext { visibility: visible; opacity: 1; }
.rb-help-icon { width: 18px; height: 18px; }
/* ============================================================
   RMENU - منوی ریسپانسیو با آیکون
   ============================================================ */
.rmenu { display: flex; flex-wrap: wrap; justify-content: space-around; padding: 0; list-style: none; margin: 30px 0 20px 0; }
.rmenu .menu_item { width: 22%; text-align: center; margin-bottom: 20px; }
.rmenu .menu_item a { display: block; color: #333; text-decoration: none; padding: 10px; transition: background-color 0.1s, color 0.1s; }
.rmenu .menu_item a:hover { background-color: #f0f0f0; color: #000; }
.rmenu .menu_item i { display: block; font-size: 50px; margin-bottom: 10px; color: #455053; }
.rmenu .nav-label { display: block; font-size: 16px; }
@media (max-width: 768px) { .rmenu .menu_item { width: 30%; } .rmenu .menu_item i { font-size: 40px; } .rmenu .nav-label { font-size: 14px; } }
@media (max-width: 480px) { .rmenu .menu_item { width: 30%; margin-bottom: 5px; } .rmenu .menu_item i { font-size: 30px; } .rmenu .nav-label { font-size: 12px; } }
/* ===== radio toggle ===== */
.rb-radio { position: relative; display: inline-block; cursor: pointer; padding-right: 57px; user-select: none; }
.rb-radio-input { position: absolute; width: 0; height: 0; opacity: 0; margin: 0; padding: 0; }
.rb-radio-control { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 49px; height: 22px; background: #fff; border: 1px solid #ddd; border-radius: 4px; transition: all 0.2s linear; }
.rb-radio-thumb { position: absolute; left: 0; width: 50%; height: 100%; background: #999; border-radius: 4px; transition: all 0.2s linear; }
.rb-radio-input:checked + .rb-radio-control { border-color: #0069ff; background: #0069ff; }
.rb-radio-input:checked + .rb-radio-control .rb-radio-thumb { background: #fff; left: 50%; }
/* ===== image ===== */
.rb_fm_img { display: block; margin: 0 auto; margin-top: 10px; max-width: 100%; height: auto; border: 1px solid #eaeeef; }
.fm_emoji { width: 25px !important; height: 25px !important; display: inline-block !important; float: none !important; margin: 0 3px !important; border: 0 !important; }
/* ===== code block ===== */
.codeblock code, .rb_fm_pre code { direction: ltr; text-align: left !important; background: #ebebeb; padding: 10px; width: 100%; display: block; max-height: 356px; overflow-y: auto; color: #212529; font-family: 'VAZIR'; box-sizing: border-box; }
.rb_fm_pre { margin: 15px 0; border: 1px solid #dbdbdb; border-left: 3px solid #FF5722; }
table.tr_title { width: 100%; }
/* ===== nav responsive ===== */
@media (max-width: 768px) { .nav .nav-link { white-space: nowrap !important; } }
/* ===== toggle box ===== */
.toggle-box { display: none; }
.toggle-box + .label2 { cursor: pointer; display: flex; width: 30px; height: 0px; }
.toggle-box + .label2 + .submenu { display: none; margin-bottom: 10px; }
.toggle-box:checked + .label2 + .submenu { display: block; }
.toggle-box + .label2:before { font-family: "FontAwesome"; content: "\f067"; font-weight: normal; color: #FFF; float: right; font-size: 14px; height: 20px; line-height: 20px; margin-right: 5px; text-align: center; width: 20px; position: relative; right: -34px; top: -31px; display: flex; align-items: center; justify-content: center; background-color: #4F5150; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; }
.toggle-box:checked + .label2:before { content: "\f068"; color: #FFF; background-color: #e74c3c; }

/* تب‌ها */
.nav-tabs{border-bottom:1px solid var(--primary-soft)}
.nav-tabs.tabs-line{display:flex;flex-wrap:wrap;gap:4px;padding:6px;margin:0 0 20px;list-style:none;background:var(--surface);border-radius:var(--radius)}
.nav-tabs.tabs-line .nav-item{display:flex;flex:1 1 auto;margin:0!important;padding:0!important;text-align:center}
.nav-tabs.tabs-line .nav-link{display:flex;align-items:center;justify-content:center;width:100%;margin:0!important;padding:10px 18px!important;font-size:.9375rem;font-weight:500;line-height:1.5;color:var(--tab-inactive-text)!important;background:transparent!important;border:1px solid transparent!important;border-radius:var(--tab-radius)!important;white-space:nowrap;transition:color .18s,background-color .18s,border-color .18s,box-shadow .18s}
.nav-tabs.tabs-line .nav-link:hover,.nav-tabs.tabs-line .nav-link:focus{color:var(--text)!important;background:var(--surface-2)!important;border-color:transparent!important;text-decoration:none}
.nav-tabs.tabs-line .nav-link.active,.nav-tabs.tabs-line .nav-link.active:hover,.nav-tabs.tabs-line .nav-link.active:focus{color:var(--tab-active-text)!important;background:var(--tab-active-bg)!important;border-color:var(--border)!important;font-weight:600;box-shadow:inset 0 -3px 0 0 var(--tab-active-border),0 1px 2px rgba(20,28,60,.06)}
@media(max-width:768px){.nav-tabs.tabs-line{flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--border) transparent;padding-bottom:10px}.nav-tabs.tabs-line::-webkit-scrollbar{height:4px}.nav-tabs.tabs-line::-webkit-scrollbar-track{background:transparent}.nav-tabs.tabs-line::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}.nav-tabs.tabs-line::-webkit-scrollbar-thumb:hover{background:var(--muted)}.nav-tabs.tabs-line .nav-item{flex:0 0 auto!important}.nav-tabs.tabs-line .nav-link{padding:9px 16px!important;font-size:.875rem}}

/* ===== جستجو ===== */
.search-container{margin-top:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px;text-align:right}
.search-main-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.search-input-wrapper{flex:1 1 260px;min-width:0}
.search-container .rb_input{width:100%;box-sizing:border-box;height:42px;background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:0 14px;color:var(--text);font-size:.9375rem;transition:border-color .2s;outline:0}
.search-container .rb_input:focus{border-color:var(--primary)}
.btn-icon-toggle{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;cursor:pointer;background:var(--primary-soft);color:var(--primary);border:0;transition:.2s}
.btn-icon-toggle:hover{background:var(--primary);color:#fff}
.btn-reset{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--danger-soft);color:var(--danger);text-decoration:none;transition:.2s}
.btn-reset:hover{background:var(--danger);color:#fff}
.btn-reset svg{width:22px;height:22px;color:var(--danger);transition:.2s}
.btn-reset:hover svg{color:#fff}
.search-container input[type="submit"]{height:42px!important;border-radius:12px!important;background:var(--primary)!important;color:#fff!important;border:0!important;padding:0 24px!important;font-weight:600!important;font-size:.9375rem!important;cursor:pointer!important;transition:.2s!important}
.search-container input[type="submit"]:hover{background:var(--primary-2)!important}
.advanced-panel{display:none;margin-top:16px;padding-top:16px;border-top:1px dashed var(--border);animation:slideDown .3s ease-out}
@keyframes slideDown{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
.filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.filter-item{display:flex;flex-direction:column}
.filter-item label{display:block;font-size:13px;font-weight:700;color:var(--muted);margin-bottom:6px}
.price-group{display:flex;gap:8px}
.price-group input{width:50%}
.date-group{display:flex;gap:8px;align-items:center}
.pcalBtn{display:none}
@media (max-width:800px){.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.filter-grid{grid-template-columns:1fr}}

/* ===== form keshan ===== */
.rw-frm-keshan{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px;padding:14px 16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.rw-frm-keshan select{flex:1 1 200px;min-width:150px;max-width:100%;height:42px;background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:0 14px;color:var(--text);font-size:.9375rem;outline:0;transition:border-color .2s}
.rw-frm-keshan select:focus{border-color:var(--primary)}

@media(max-width:450px){.rw-frm-keshan{flex-direction:column;align-items:stretch}.rw-frm-keshan select,.rw-frm-keshan .btn,.rw-frm-keshan input[type="button"],.rw-frm-keshan input[type="submit"]{width:100%;flex:1 1 auto}}
/* ============================================================
   TAGS - برچسب‌ها با دکمه حذف
   ============================================================ */
#more, .the-tags, #passworddiv { display: none; }
.tagchecklist { direction: rtl; text-align: right; margin: 15px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tagchecklist span { display: inline-flex; align-items: center; background: #f0f2f5; color: #2c3e50; padding: 4px 8px 4px 8px; border-radius: 20px; font-size: 13px; font-weight: 500; transition: all 0.2s ease; border: 1px solid #e1e4e8; gap: 6px; }
.ntdelbutton { all: unset !important; display: inline-flex !important; align-items: center; justify-content: center; width: 20px !important; height: 20px !important; background: #ff5f5f url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjEyIiBoZWlnaHQ9IjEyIj48cGF0aCBkPSJNMTggNkw2IDE4TTYgNmwxMiAxMiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=') center/14px no-repeat !important; border-radius: 50% !important; cursor: pointer !important; margin-left: 4px !important; transition: all 0.2s ease !important; flex-shrink: 0 !important; font-size: 0 !important; text-indent: -9999px !important; overflow: hidden !important; }
.ntdelbutton:hover { background-color: #ef4444 !important; background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjEyIiBoZWlnaHQ9IjEyIj48cGF0aCBkPSJNMTggNkw2IDE4TTYgNmwxMiAxMiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=') !important; transform: scale(1.1) !important; }
.ntdelbutton * { display: none !important; }
jdp-container { z-index: 99999999999 !important; }
/* ============================================================
   STATUS BADGE - وضعیت محصول
   ============================================================ */
.status-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: bold; margin: 2px 0; }
.status-active { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.status-draft { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.status-hidden { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.status-future { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.status-sticky { background: #e7d4f5; color: #6f42c1; border: 1px solid #d8bfe8; }
/* ===== stock badge ===== */
.stock-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: bold; }
.stock-in { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.stock-out { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.stock-low { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
/* ===== price ===== */
.price-tag { font-weight: bold; color: #2c3e50; direction: ltr; display: inline-block; }
.price-discount { text-decoration: line-through; color: #999; font-size: 11px; margin-left: 5px; }
/* ===== product badge ===== */
.product-badge { display: inline-flex; align-items: center; gap: 5px; background: #f8f9fa; padding: 2px 8px; border-radius: 12px; font-size: 11px; margin: 2px; }
.badge-special { background: #ffd700; color: #8b6b00; }
.badge-variable { background: #e7f3ff; color: #0066cc; }
.badge-download { background: #e8f5e9; color: #2e7d32; }
/* ===== product cell ===== */
.product-cell { vertical-align: middle; }
.stats-number { font-size: 13px; font-weight: bold; color: #2c3e50; }
.stats-label { font-size: 10px; color: #7f8c8d; display: block; }
.tr-hover:hover { background-color: #f5f5f5 !important; transition: all 0.3s ease; }
/* ============================================================
   RB ALERT - سیستم هشدار حرفه‌ای
   ============================================================ */
.rb-alert { margin: 15px 0; border-radius: 12px; overflow: hidden; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; direction: rtl; transition: all 0.3s ease; }
.rb-alert-container { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 12px;word-break: break-word;}
.rb-alert-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: 2px; line-height: 1; }
.rb-alert-icon-svg { width: 22px; height: 22px; stroke-width: 1.8; display: block; }
.rb-alert-content { flex: 1; }
.rb-alert-text-right { text-align: right; }
.rb-alert-text-center { text-align: center; }
.rb-alert-text-left { text-align: left; }
.rb-alert-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; line-height: 1.4; }
.rb-alert-message { font-size: 13.5px; opacity: 0.92; line-height: 1.55; }
/* code block */
.rb-alert-has-code .rb-alert-container { padding: 0; display: block; }
.rb-alert-has-code .rb-alert-icon { display: none; }
.rb-alert-code-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: rgba(0, 0, 0, 0.05); border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.rb-alert-code-lang { font-size: 11px; font-weight: 600; text-transform: uppercase; background: rgba(0, 0, 0, 0.1); padding: 2px 8px; border-radius: 20px; font-family: monospace; }
.rb-alert-code-copy { background: none; border: none; cursor: pointer; font-size: 11px; padding: 4px 10px; border-radius: 6px; transition: all 0.2s; font-family: inherit; }
.rb-alert-code-copy:hover { background: rgba(0, 0, 0, 0.1); }
.rb-alert-code-block { margin: 0; padding: 14px 16px; overflow-x: auto; font-family: 'Fira Code', 'Courier New', monospace; font-size: 12px; line-height: 1.5; direction: ltr; text-align: left; background: rgba(0, 0, 0, 0.03); }
.rb-alert-code-block code { font-family: inherit; white-space: pre-wrap; word-break: break-word; }
.rb-alert-dismiss { position: absolute; top: 6px; left: 4px; background: none; border: none; cursor: pointer; padding: 6px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; opacity: 0.6; }
.rb-alert-dismiss:hover { opacity: 1; transform: scale(1.05); }
/* alert types */
.rb-alert-success { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border-right: 4px solid #22c55e; }
.rb-alert-success .rb-alert-title { color: #14532d; }
.rb-alert-success .rb-alert-message { color: #166534; }
.rb-alert-success .rb-alert-icon-svg { color: #22c55e; }
.rb-alert-success.rb-alert-border-left { border-right: none; border-left: 4px solid #22c55e; }
.rb-alert-error { background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%); border-right: 4px solid #ef4444; }
.rb-alert-error .rb-alert-title { color: #7f1d1d; }
.rb-alert-error .rb-alert-message { color: #991b1b; }
.rb-alert-error .rb-alert-icon-svg { color: #ef4444; }
.rb-alert-error.rb-alert-border-left { border-right: none; border-left: 4px solid #ef4444; }
.rb-alert-warning { background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); border-right: 4px solid #f59e0b; }
.rb-alert-warning .rb-alert-title { color: #78350f; }
.rb-alert-warning .rb-alert-message { color: #92400e; }
.rb-alert-warning .rb-alert-icon-svg { color: #f59e0b; }
.rb-alert-warning.rb-alert-border-left { border-right: none; border-left: 4px solid #f59e0b; }
.rb-alert-info { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border-right: 4px solid #3b82f6; }
.rb-alert-info .rb-alert-title { color: #1e3a8a; }
.rb-alert-info .rb-alert-message { color: #1e40af; }
.rb-alert-info .rb-alert-icon-svg { color: #3b82f6; }
.rb-alert-info.rb-alert-border-left { border-right: none; border-left: 4px solid #3b82f6; }
.rb-alert-help { background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%); border-right: 4px solid #a855f7; }
.rb-alert-help .rb-alert-title { color: #581c87; }
.rb-alert-help .rb-alert-message { color: #6b21a5; }
.rb-alert-help .rb-alert-icon-svg { color: #a855f7; }
.rb-alert-help.rb-alert-border-left { border-right: none; border-left: 4px solid #a855f7; }
.rb-alert-tip { background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%); border-right: 4px solid #eab308; }
.rb-alert-tip .rb-alert-title { color: #422006; }
.rb-alert-tip .rb-alert-message { color: #713f12; }
.rb-alert-tip .rb-alert-icon-svg { color: #eab308; }
.rb-alert-tip.rb-alert-border-left { border-right: none; border-left: 4px solid #eab308; }
.rb-alert-question { background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%); border-right: 4px solid #8b5cf6; }
.rb-alert-question .rb-alert-title { color: #4c1d95; }
.rb-alert-question .rb-alert-message { color: #5b21b6; }
.rb-alert-question .rb-alert-icon-svg { color: #8b5cf6; }
.rb-alert-question.rb-alert-border-left { border-right: none; border-left: 4px solid #8b5cf6; }
.rb-alert-notification { background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%); border-right: 4px solid #ec4899; }
.rb-alert-notification .rb-alert-title { color: #831843; }
.rb-alert-notification .rb-alert-message { color: #9d174d; }
.rb-alert-notification .rb-alert-icon-svg { color: #ec4899; }
.rb-alert-notification.rb-alert-border-left { border-right: none; border-left: 4px solid #ec4899; }
/* alert extras */
.rb-alert-with-shadow { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.rb-alert-animated { animation: rb-slide-down 0.4s ease-out; }
@keyframes rb-slide-down { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.rb-alert-small .rb-alert-container { padding: 8px 14px; }
.rb-alert-small .rb-alert-title { font-size: 14px; }
.rb-alert-small .rb-alert-message { font-size: 13px; }
.rb-alert-small .rb-alert-icon { width: 18px; height: 18px; margin-top: 1px; }
.rb-alert-small .rb-alert-icon-svg { width: 16px; height: 16px; }
.rb-alert-large .rb-alert-container { padding: 18px 22px; }
.rb-alert-large .rb-alert-title { font-size: 17px; margin-bottom: 8px; }
.rb-alert-large .rb-alert-message { font-size: 15px; }
.rb-alert-large .rb-alert-icon { width: 28px; height: 28px; margin-top: 3px; }
.rb-alert-large .rb-alert-icon-svg { width: 26px; height: 26px; }
.rb-alert { transition: transform 0.2s, box-shadow 0.2s; }
.rb-alert:hover { transform: translateX(-3px); }
.rb-alert-highlight { display: inline-flex; align-items: center; background: rgba(0, 0, 0, 0.08); padding: 4px 12px; border-radius: 8px; font-weight: 600; font-size: 13px; line-height: normal; vertical-align: middle; height: auto; box-sizing: border-box; }
.rb-alert-message ul, .rb-alert-message ol { margin: 8px 0 4px 0; padding-right: 20px; }
.rb-alert-message li { margin-bottom: 4px; }
.rb-alert-message p { margin: 0 0 8px 0; }
.rb-alert-message p:last-child { margin-bottom: 0; }
/* title sizes */
.rb-alert-title-small { font-size: 13px; }
.rb-alert-title-normal { font-size: 15px; }
.rb-alert-title-large { font-size: 18px; }
.rb-alert-title-bold { font-weight: 700; }
.rb-alert-title-normal-weight { font-weight: 500; }
/* alert links */
.rb-alert-success a { color: #22c55e; text-decoration: none; border-bottom: 1px dashed #22c55e; }
.rb-alert-success a:hover { color: #16a34a; border-bottom: 1px solid #16a34a; }
.rb-alert-error a { color: #ef4444; text-decoration: none; border-bottom: 1px dashed #ef4444; }
.rb-alert-error a:hover { color: #dc2626; border-bottom: 1px solid #dc2626; }
.rb-alert-warning a { color: #f59e0b; text-decoration: none; border-bottom: 1px dashed #f59e0b; }
.rb-alert-warning a:hover { color: #d97706; border-bottom: 1px solid #d97706; }
.rb-alert-info a { color: #3b82f6; text-decoration: none; border-bottom: 1px dashed #3b82f6; }
.rb-alert-info a:hover { color: #2563eb; border-bottom: 1px solid #2563eb; }
.rb-alert-help a { color: #a855f7; text-decoration: none; border-bottom: 1px dashed #a855f7; }
.rb-alert-help a:hover { color: #9333ea; border-bottom: 1px solid #9333ea; }
.rb-alert-tip a { color: #eab308; text-decoration: none; border-bottom: 1px dashed #eab308; }
.rb-alert-tip a:hover { color: #ca8a04; border-bottom: 1px solid #ca8a04; }
.rb-alert-question a { color: #8b5cf6; text-decoration: none; border-bottom: 1px dashed #8b5cf6; }
.rb-alert-question a:hover { color: #7c3aed; border-bottom: 1px solid #7c3aed; }
.rb-alert-notification a { color: #ec4899; text-decoration: none; border-bottom: 1px dashed #ec4899; }
.rb-alert-notification a:hover { color: #db2777; border-bottom: 1px solid #db2777; }

.rb-alert-list{margin:8px 0 0;padding-right:20px;line-height:1.8;font-size:13.5px;color:var(--text);}
.rb-alert-list li{margin-bottom:4px;}
.rb-list-steps{counter-reset:s;list-style:none;padding:0;}
.rb-list-steps li{counter-increment:s;display:flex;gap:10px;padding:8px 12px;background:rgba(0,0,0,.03);border-radius:8px;margin-bottom:6px;}
.rb-list-steps li::before{content:counter(s);flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:var(--primary,#007bff);color:#fff;display:grid;place-items:center;font-weight:700;font-size:12px;}
.rb-list-check{list-style:none;padding:0;}
.rb-list-check li{padding-right:22px;position:relative;}
.rb-list-check li::before{content:"✓";position:absolute;right:0;color:var(--success,#16a34a);font-weight:700;}
.rb-alert-cards{display:grid;gap:8px;margin-top:10px;}
.rb-acard{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;background:rgba(0,0,0,.03);border:1px solid rgba(0,0,0,.06);border-radius:10px;}
.rb-acard-ico{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:10px;background:var(--surface,#fff);color:var(--primary,#007bff);}
.rb-acard-ico svg{width:18px;height:18px;}
.rb-acard-body{flex:1;min-width:0;}
.rb-acard-title{font-weight:700;font-size:13.5px;color:var(--text);margin-bottom:2px;}
.rb-acard-note{color:var(--muted,#64748b);font-size:12px;line-height:1.6;}
/* ============================================================
   HELP PAGES - کارت‌های راهنما
   ============================================================ */
.rb-hp-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; direction: rtl; font-family: 'Segoe UI', Tahoma, system-ui, sans-serif; padding: 20px; background: #f8fafc; }
.rb-hp-card { background: white; border-radius: 24px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02); transition: all 0.3s cubic-bezier(0.2, 0, 0, 1); overflow: hidden; border: 1px solid #eef2f6; position: relative; }
.rb-hp-card::before { content: ''; position: absolute; top: 0; right: 0; width: 4px; height: 100%; background: linear-gradient(135deg, #3b82f6, #06b6d4); opacity: 0; transition: opacity 0.3s ease; border-radius: 24px 0 0 24px; }
.rb-hp-card:hover::before { opacity: 1; }
.rb-hp-card:hover { transform: translateY(-6px); box-shadow: 0 24px 36px -12px rgba(0,0,0,0.15); border-color: #cbd5e1; }
.rb-hp-card a { text-decoration: none; display: flex; align-items: center; gap: 14px; padding: 20px 20px; height: 100%; }
.rb-hp-card-icon { flex-shrink: 0; width: 44px; height: 44px; background: #eff6ff; border-radius: 20px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.rb-hp-card-icon svg { width: 26px; height: 26px; transition: transform 0.2s ease; }
.rb-hp-card:hover .rb-hp-card-icon { background: #2563eb; transform: scale(1.02); }
.rb-hp-card:hover .rb-hp-card-icon svg { transform: rotate(3deg) scale(1.02); }
.rb-hp-card:hover .rb-hp-card-icon svg use { color: white !important; }
.rb-hp-card-content { flex: 1; }
.rb-hp-card h3 { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.45; color: #0f172a; transition: color 0.2s; letter-spacing: -0.2px; }
.rb-hp-card:hover h3 { color: #1e40af; }
.rb-hp-badge-tag { display: inline-block; margin-top: 8px; font-size: 0.7rem; color: #3b82f6; background: #eef2ff; padding: 4px 10px; border-radius: 30px; font-weight: 500; transition: all 0.2s; }
.rb-hp-card:hover .rb-hp-badge-tag { background: #dbeafe; color: #1d4ed8; }
@media (max-width:640px) { .rb-hp-card-grid { grid-template-columns: 1fr; gap: 16px; padding: 16px; } .rb-hp-card a { padding: 16px; gap: 12px; } .rb-hp-card-icon { width: 40px; height: 40px; } .rb-hp-card-icon svg { width: 22px; height: 22px; } .rb-hp-card h3 { font-size: 0.95rem; } .rb-hp-badge-tag { font-size: 0.65rem; padding: 3px 8px; } }
/* ============================================================
   BUTTON ICON - دکمه‌های آیکونی
   ============================================================ */
.btn-icon { padding: 9px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #d3d3d3; text-decoration: none; transition: all 0.2s ease; cursor: pointer; background: linear-gradient(135deg, #f5f7fa 0%, #e0e0e0 100%); color: #555555; }
.btn-icon:hover { background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%); color: #333333; transform: scale(1.05); }
.btn-icon.edit { background: #e8f5e9; color: #4CAF50; }
.btn-icon.delete { background: #ffebee; color: #f44336; }
.btn-icon.edit:hover { background: #c8e6c9; color: #2e7d32; transform: scale(1.05); }
.btn-icon.delete:hover { background: #ffcdd2; color: #c62828; transform: scale(1.05); }
.btn-icon svg { width: 20px; height: 20px; display: block; }
/* ===== pagination size ===== */
.rb_pagination a, .rb_pagination span.current, span.pagination_more { padding: unset !important; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
/* ============================================================
   PAYMENT - راهنمای پرداخت
   ============================================================ */
.payment-guide { padding: 10px; background: #fff3cd; border-radius: 5px; border-right: 3px solid #ffc107; margin-bottom: 10px; }
.guide-text { font-size: 14px; color: #333; }
.btn-ok { display: inline-block; padding: 8px 25px; background: #4CAF50; color: #fff; border-radius: 5px; text-decoration: none; transition: 0.3s; }
.btn-ok:hover { background: #388E3C; color: #fff; }
.payment-box { padding: 15px; background: #f8f9fa; border-radius: 8px; border: 1px solid #e9ecef; }
.payment-title { font-size: 14px; color: #333; margin-bottom: 10px; font-weight: bold; }
.payment-card { background: #fff; padding: 15px; border-radius: 5px; border: 1px dashed #dee2e6; }
.card-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 8px 12px; background: #f1f3f5; border-radius: 5px; }
.card-number { font-size: 18px; font-weight: bold; color: #333; direction: ltr; letter-spacing: 2px; }
.copy-btn { display: flex; align-items: center; gap: 5px; padding: 6px 15px; background: #007bff; color: #fff; border: none; border-radius: 5px; cursor: pointer; font-size: 13px; transition: 0.3s; }
.copy-btn:hover { background: #0056b3; color: #fff; }
.copy-btn svg { fill: #fff; }
.card-owner { margin-top: 10px; padding: 8px 12px; background: #e8f5e9; border-radius: 5px; border-right: 3px solid #4CAF50; }
.owner-text { font-size: 14px; color: #333; }
.payment-email { margin-top: 12px; padding: 10px; background: #e3f2fd; border-radius: 5px; border-right: 3px solid #2196F3; }
.email-text { font-size: 13px; color: #333; }
.email-warning { margin-top: 5px; font-size: 13px; color: #666; }
.dark .payment-box { background: #1a1a2e; border-color: #2a2a4a; }
.dark .payment-title { color: #e0e0e0; }
.dark .payment-card { background: #16162e; border-color: #2a2a4a; }
.dark .card-row { background: #1a1a3e; }
.dark .card-number { color: #e0e0e0; }
.dark .card-owner { background: #1a2e1a; border-color: #4CAF50; }
.dark .owner-text { color: #e0e0e0; }
.dark .payment-email { background: #0d1a2e; border-color: #2196F3; }
.dark .email-text { color: #e0e0e0; }
.dark .email-warning { color: #999; }
.dark .payment-guide { background: #2a2a1a; border-color: #ffc107; }
.dark .guide-text { color: #e0e0e0; }
.dark .btn-ok { background: #388E3C; }
.dark .btn-ok:hover { background: #4CAF50; }
.dark .copy-btn { background: #0056b3; }
.dark .copy-btn:hover { background: #007bff; }
@media (max-width:768px) { .card-row { flex-direction: column; align-items: stretch; } .card-number { text-align: center; font-size: 16px; } .copy-btn { justify-content: center; } }
@media (max-width:480px) { .card-number { font-size: 14px; letter-spacing: 1px; } .copy-btn { font-size: 12px; padding: 5px 12px; } .payment-box { padding: 10px; } .payment-card { padding: 10px; } }
/* ============================================================
   SEO - سئو و متا تگ‌ها
   ============================================================ */
.seo-wrap { width: 100%; margin: 20px 0 10px 0; }
.seo-card { background: #fff; border-radius: 16px; border: 1px solid #e9edf4; box-shadow: 0 2px 12px rgba(0,0,0,.04); transition: .3s ease; overflow: hidden; }
.seo-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.seo-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; cursor: pointer; user-select: none; background: linear-gradient(135deg, #f8faff 0%, #f1f5fe 100%); border-bottom: 1px solid transparent; transition: .3s ease; }
.seo-header:hover { background: linear-gradient(135deg, #f0f5ff 0%, #e8eeff 100%); }
.seo-header.active { border-bottom-color: #e9edf4; }
.seo-title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #1a2332; letter-spacing: .2px; }
.seo-title svg { width: 20px; height: 20px; fill: none; stroke: #4f46e5; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.seo-badge { background: #4f46e5; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 12px; border-radius: 20px; letter-spacing: .3px; }
.seo-toggle { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #6b7a93; transition: .3s ease; }
.seo-toggle .arrow { display: inline-block; transition: .4s cubic-bezier(.34,1.56,.64,1); font-size: 16px; }
.seo-toggle .arrow.open { transform: rotate(180deg); }
.seo-body { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.25,.46,.45,.94), opacity .4s ease, padding .3s ease; padding: 0 20px; }
.seo-body.open { max-height: 1200px; opacity: 1; padding: 18px 20px 24px; }
.seo-preview { background: #f8faff; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; border: 1px solid #edf2f9; direction: ltr; text-align: left; }
.seo-preview-title { color: #1a0dab; font-size: 20px; font-weight: 400; line-height: 1.3; text-decoration: none; cursor: pointer; word-break: break-word; transition: .2s; }
.seo-input { flex: 1; width: 100%; }
.seo-preview-title:hover { text-decoration: underline; }
.seo-preview-url { color: #006621; font-size: 14px; font-weight: 400; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 2px 0; direction: ltr; text-align: left; }
.seo-preview-desc { color: #545454; font-size: 14px; font-weight: 400; line-height: 1.6; word-break: break-word; max-height: 48px; overflow: hidden; text-overflow: ellipsis; }
.seo-group { display: flex; gap: 12px; margin: 0 0 14px; align-items: flex-start; }
.seo-label { min-width: 100px; padding-top: 10px; font-size: 13px; font-weight: 600; color: #2c3a4f; }
.seo-counter { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: #6b7a93; margin-top: 6px; }
.seo-counter .num { font-weight: 800; font-size: 13px; padding: 0 6px; border-radius: 4px; min-width: 28px; text-align: center; }
.seo-counter .num.good { color: #16a34a; }
.seo-counter .num.warn { color: #eab308; }
.seo-counter .num.danger { color: #dc2626; }
.seo-counter .dot { width: 4px; height: 4px; border-radius: 50%; background: #d1d9e6; display: inline-block; }
.seo-hint { font-size: 11px; color: #8b9ab0; margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.seo-hint svg { width: 14px; height: 14px; stroke: #8b9ab0; }
@media(max-width:768px) { .seo-group { flex-direction: column; gap: 4px; } .seo-label { min-width: auto; padding-top: 4px; font-size: 12px; } .seo-preview-title { font-size: 17px; } .seo-preview-url { font-size: 12px; white-space: normal; } .seo-preview-desc { font-size: 13px; } .seo-header { padding: 12px 16px; } .seo-body.open { padding: 14px 16px 18px; } }
@media(max-width:480px) { .seo-preview-title { font-size: 15px; } .seo-preview-desc { font-size: 12px; max-height: 40px; } .seo-input input, .seo-input textarea { padding: 8px 12px; font-size: 13px; } .seo-title { font-size: 13px; } .seo-badge { font-size: 10px; padding: 1px 10px; } }

.tox .tox-edit-area__iframe{background-color:var(--surface)!important;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}
.tox .tox-edit-area__iframe body{color:var(--text);background:var(--surface)}



.rb-info{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--surface-2,#f8fafc);border:1px solid var(--border,#e2e8f0);border-radius:12px;margin-bottom:14px;box-shadow:0 1px 2px rgba(0,0,0,.02);}
.rb-info-title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--muted,#64748b);}
.rb-info-title svg{width:18px;height:18px;flex-shrink:0;color:var(--primary,#007bff);}
.rb-info-value{direction:ltr;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14.5px;font-weight:700;letter-spacing:.5px;padding:6px 14px;background:var(--surface,#fff);border:1px solid var(--border,#e2e8f0);border-radius:8px;color:var(--text,#0f172a);}
.rb-info-value.is-active{background:#dcfce7;border-color:#bbf7d0;color:#166534;}
.rb-info-telegram .rb-info-title svg{color:#229ED9;}
.rb-info-telegram .rb-info-value{background:#e0f2fe;border-color:#bae6fd;color:#075985;}
@media(max-width:480px){.rb-info{flex-direction:column;align-items:flex-start;gap:10px}.rb-info-value{width:100%;text-align:center;}}
.rb-actions-stack{display:flex;flex-direction:column;gap:12px;}
.rb-or-divider{display:flex;align-items:center;gap:10px;color:var(--muted,#94a3b8);font-size:13px;margin:2px 0;}
.rb-or-divider::before,.rb-or-divider::after{content:"";flex:1;height:1px;background:var(--border,#e2e8f0);}
.rb-btn-ico{display:inline-flex;align-items:center;gap:6px;}

.dz{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:22px 16px;text-align:center;border:2px dashed var(--border);border-radius:14px;background:var(--surface-2);cursor:pointer;transition:.2s}
.dz:hover{border-color:var(--primary);background:var(--primary-soft)}
.dz.dragover{border-color:var(--success);background:var(--success-soft)}
.dz-ico{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--surface);color:var(--primary);border:1px solid var(--border)}
.dz-ico svg{width:22px;height:22px}
.dz-t{display:flex;flex-direction:column;gap:2px;font-size:13px;color:var(--muted)}
.dz-t strong{color:var(--text);font-size:14px}
.dz input[type=file]{display:none}

/* نمایش نام و حجم فایل انتخاب‌شده */
.file-chip{display:none;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding:9px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);font-size:12.5px;color:var(--text)}
.file-chip.show{display:flex}

/* نوار پیشرفت */
.prog{display:none;height:6px;border-radius:3px;background:var(--surface-2);margin-top:12px;overflow:hidden}
.prog.show{display:block}
.prog > i{display:block;height:100%;width:0;border-radius:3px;background:linear-gradient(90deg,var(--primary),var(--primary-2));transition:width .3s}

/* کد داخل متن */
code.k{background:var(--primary-soft);color:var(--primary);padding:2px 8px;border-radius:6px;font-size:12px}