﻿/* =========================================================================
   אזור הניהול (/me) – המבנה של /me ב-wedix ו-me2 של פק"ש: סרגל צד כהה מימין, כרטיסי מספרים, טבלאות, כרטיס כניסה.
   הצבע הראשי של jobot (פוקסיה). גיליון נפרד מ-site.css: נטען רק באזור הניהול (Admin.master).
   ========================================================================= */

*{margin:0; padding:0; box-sizing:border-box; list-style:none; font-family:'Rubik', 'Heebo', sans-serif; outline:none;}
:root{
  --MainColor:#D400A6; --MainDark:#A8007F; --MainSoft:#FFE9F8; --MainSoft2:#FFDDF5; --MainRing:rgba(212,0,166,0.14);
  --TextColor:#232326; --SubColor:#6b6b76; --Border:#e8e8ec; --Bg:#f4f4f6; --White:#fff;
  --Red:#d64541; --RedSoft:#fdf0ef; --Orange:#c9700f; --OrangeSoft:#fdf2e3; --Blue:#2a6a9e; --BlueSoft:#eaf3fb; --Ok:#1f8f4e; --OkSoft:#e5f6ec;
  --Sidebar:240px; --SideBg:#1d1e31; --SideText:#e8e8f0; --SideSub:#9a9bb0; --SideLine:rgba(255,255,255,0.08); --TopNav:60px;
}
a{text-decoration:none; color:inherit;}
body{background:var(--Bg); color:var(--TextColor); font-size:15px; line-height:1.5;}
input,select,textarea,button{font-family:inherit; font-size:inherit; color:inherit;}
button{cursor:pointer;}
.Hidden{display:none !important;}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--MainColor); outline-offset:2px;}

/* ---------- מותג ---------- */
.Brand{display:inline-flex; align-items:center; gap:0.45rem; color:var(--White); direction:ltr;}
.Brand svg{width:40px; height:28px; flex-shrink:0; color:var(--MainColor);}
.Brand b{font-size:1.75rem; font-weight:700; letter-spacing:-0.5px; line-height:1;}

/* ---------- סרגל צד ---------- */
.Sidebar{background:var(--SideBg); color:var(--SideText); display:flex; flex-direction:column; z-index:110;}
.Sidebar .SideBrand{padding:1.8rem 1.25rem 1.3rem; text-align:center; border-bottom:1px solid var(--SideLine);}
.Sidebar .SideTag{display:block; width:fit-content; margin:0.7rem auto 0; font-size:0.72rem; font-weight:600; color:#ffc4ee; background:rgba(212,0,166,0.35); padding:0.1rem 0.8rem; border-radius:3rem;}
.Sidebar nav{padding:1.25rem 0.75rem; flex:1;}
.Sidebar nav a,.Sidebar nav span{display:flex; align-items:center; gap:0.7rem; padding:0.7rem 0.9rem; border-radius:10px; font-size:0.95rem; font-weight:500; color:var(--SideText); margin-bottom:3px; transition:background 0.15s, color 0.15s;}
.Sidebar nav svg{width:19px; height:19px; flex-shrink:0; opacity:0.6; transition:opacity 0.15s; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.Sidebar nav em{margin-right:auto; font-style:normal; font-size:0.72rem; font-weight:600; color:var(--White); background:var(--Orange); padding:0 0.5rem; border-radius:3rem;}
.Sidebar nav a:hover{background:rgba(255,255,255,0.07); color:var(--White);}
.Sidebar nav a:hover svg{opacity:1;}
.Sidebar nav a.On{background:var(--MainColor); color:var(--White); box-shadow:0 2px 8px rgba(0,0,0,0.25);}
.Sidebar nav a.On svg{opacity:1;}
.Sidebar nav span.Soon{color:var(--SideSub); cursor:default;}
.Sidebar nav span.Soon em{background:rgba(255,255,255,0.12); color:var(--SideSub);}
.Sidebar .SideOut{padding:1rem 0.75rem 1.5rem; border-top:1px solid var(--SideLine);}
.Sidebar .SideOut .SideUser{padding:0 0.9rem 0.6rem; font-size:0.82rem; color:var(--SideSub);}
.Sidebar .SideOut button{width:100%; display:flex; align-items:center; gap:0.7rem; padding:0.65rem 0.9rem; border:none; background:none; border-radius:10px; font-size:0.9rem; font-weight:500; color:var(--SideSub); transition:background 0.15s, color 0.15s;}
.Sidebar .SideOut svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.Sidebar .SideOut button:hover{background:rgba(214,69,65,0.15); color:#ff8a85;}
.Overlay{position:fixed; inset:0; background:rgba(20,20,35,0.45); z-index:100; display:none;}
.Overlay.Show{display:block;}

/* ---------- תוכן ---------- */
main .Inner{max-width:1300px; margin:0 auto;}
.PageHead{display:flex; align-items:flex-end; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-bottom:1.25rem;}
.PageHead h1{font-size:1.8rem; font-weight:600; line-height:1.2;}
.PageHead .PageSub{font-size:0.95rem; color:var(--SubColor); margin-top:0.2rem;}
.PageHead .PageSub b{color:var(--TextColor); font-weight:600;}
.Card{background:var(--White); border-radius:14px; padding:1.25rem; box-shadow:0 1px 4px rgba(20,20,40,0.06); min-width:0;}
.Card h2{font-size:1.05rem; font-weight:600; margin-bottom:1rem; display:flex; align-items:center; justify-content:space-between; gap:0.5rem;}
.Section{margin-bottom:1.25rem;}
.SecTitle{font-size:1.1rem; font-weight:600; margin:1.75rem 0 0.75rem; display:flex; align-items:center; gap:0.5rem;}
.SecTitle:first-child{margin-top:0;}
.TwoCols{display:grid; gap:1.25rem; grid-template-columns:minmax(0,1fr); align-items:start;}
.MutedTxt{font-size:0.88rem; color:var(--SubColor);}
.MutedTxt code{direction:ltr; unicode-bidi:embed; font-family:Consolas, monospace; font-size:0.85rem; background:var(--Bg); padding:0.05rem 0.4rem; border-radius:6px;}
.Notice{background:var(--OrangeSoft); color:var(--Orange); border-radius:12px; padding:0.8rem 1rem; font-weight:500; margin-bottom:1.25rem;}

/* ---------- כפתורים ---------- */
.BtnMain{display:inline-flex; align-items:center; justify-content:center; gap:0.45rem; background:var(--MainColor); color:var(--White); border:none; border-radius:10px; padding:0.7rem 1.3rem; font-size:0.95rem; font-weight:600; transition:background 0.15s, opacity 0.15s; white-space:nowrap;}
.BtnMain:hover{background:var(--MainDark);}
.BtnGhost{background:var(--Bg); color:var(--SubColor); border:none; border-radius:10px; padding:0.7rem 1.2rem; font-size:0.95rem; font-weight:600;}
.BtnGhost:hover{background:var(--Border); color:var(--TextColor);}
.BtnDanger{background:var(--Red); color:var(--White); border:none; border-radius:10px; padding:0.7rem 1.2rem; font-size:0.95rem; font-weight:600;}
.BtnDanger:hover{opacity:0.9;}

/* ---------- תגיות ---------- */
.Badge{display:inline-flex; align-items:center; gap:0.25rem; padding:0.1rem 0.6rem; border-radius:3rem; font-size:0.75rem; font-weight:600; white-space:nowrap;}
.BadgeMain{background:var(--MainSoft); color:var(--MainColor);}
.BadgeOk{background:var(--OkSoft); color:var(--Ok);}
.BadgeWait{background:var(--OrangeSoft); color:var(--Orange);}
.BadgeBlue{background:var(--BlueSoft); color:var(--Blue);}
.BadgeOff{background:var(--Bg); color:var(--SubColor);}
.BadgeRed{background:var(--RedSoft); color:var(--Red);}

/* ---------- דשבורד: מספרים ---------- */
.KpiGrid{display:grid; gap:1rem; grid-template-columns:repeat(auto-fit, minmax(min(220px,100%), 1fr));}
.KpiGrid .KpiCard{background:var(--White); border-radius:14px; padding:1.1rem 1.3rem; box-shadow:0 1px 4px rgba(20,20,40,0.06);}
.KpiGrid .KpiCard label{display:block; font-size:0.85rem; font-weight:600; color:var(--SubColor);}
.KpiGrid .KpiCard .KpiNum{font-size:2.4rem; font-weight:600; line-height:1.15; margin:0.1rem 0 0.2rem;}
.KpiGrid .KpiCard > small{font-size:0.82rem; color:var(--SubColor);}
.KpiGrid .KpiCard.Alert{box-shadow:inset -4px 0 0 var(--MainColor), 0 1px 4px rgba(20,20,40,0.06);}
.KpiGrid .KpiCard.Alert .KpiNum{color:var(--MainColor);}

/* ---------- טבלאות ---------- */
.DataTable{width:100%; border-collapse:collapse;}
.DataTable th{text-align:right; font-size:0.78rem; font-weight:600; color:var(--SubColor); padding:0.6rem 0.5rem; white-space:nowrap;}
.DataTable td{padding:0.65rem 0.5rem; border-top:1px solid var(--Border); font-size:0.9rem; vertical-align:middle;}
.DataTable tbody tr:hover td{background:#fdf7fb;}
.DataTable .Strong{font-weight:600; color:var(--TextColor);}
.DataTable small{display:block; color:var(--SubColor); font-size:0.8rem;}
.DataTable .Nowrap{white-space:nowrap;}
.DataTable a.Lnk:hover{color:var(--MainColor); text-decoration:underline;}
.DataTable .Ltr{direction:ltr; unicode-bidi:embed; text-align:left; word-break:break-all;}
.DataTable .ErrMsg{max-width:520px; word-break:break-word;}

/* ---------- לשוניות, סינון, עמודים ---------- */
.Tabs{display:flex; gap:0.3rem; overflow-x:auto; border-bottom:1.5px solid var(--Border); margin-bottom:1.25rem; scrollbar-width:none;}
.Tabs button{flex-shrink:0; background:none; border:none; border-bottom:3px solid transparent; margin-bottom:-1.5px; padding:0.7rem 1.1rem; font-size:0.98rem; font-weight:600; color:var(--SubColor); display:inline-flex; align-items:center; gap:0.4rem;}
.Tabs button:hover{color:var(--TextColor);}
.Tabs button.On{color:var(--MainColor); border-bottom-color:var(--MainColor);}
.Tabs button em{font-style:normal; font-size:0.72rem; font-weight:600; background:var(--Bg); color:var(--SubColor); padding:0 0.5rem; border-radius:3rem;}
.Tabs button.On em{background:var(--MainColor); color:var(--White);}
.FilterBar{display:flex; flex-wrap:wrap; gap:0.75rem; align-items:flex-end;}
.FilterBar .Field{min-width:160px;}
.FilterBar .SrchField{flex:1; min-width:220px;}
.ResultsInfo{display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin:0 0 0.75rem; font-size:0.9rem; color:var(--SubColor);}
.ResultsInfo b{color:var(--TextColor);}
.Pager{display:flex; align-items:center; justify-content:center; gap:0.6rem; margin-top:1rem; font-size:0.9rem; color:var(--SubColor);}
.DataTable tr.Click{cursor:pointer;}
.DataTable .ChkCol{width:36px;}
.DataTable .ChkCol input{width:18px; height:18px; accent-color:var(--MainColor); cursor:pointer; vertical-align:middle;}
.DataTable tbody tr.Sel td{background:var(--MainSoft2);}
/* שורה שכבר נשלחה פנייה למעסיק שלה (EmployerAsks): אפור בהיר */
.DataTable tbody tr.Asked td{background:#f1f1f3;}
.BulkBar{display:flex; flex-wrap:wrap; align-items:center; gap:0.6rem; position:sticky; top:0.75rem; z-index:20; box-shadow:0 4px 18px rgba(20,20,40,0.12);}
.BulkBar b{font-size:0.95rem; font-weight:600; color:var(--MainColor); margin-left:auto;}
.DataTable tr.Click:hover .Strong{color:var(--MainColor);}

/* ---------- שדות ---------- */
.Field{display:flex; flex-direction:column; gap:0.3rem;}
.Field label,.Field > span{font-size:0.78rem; font-weight:600; color:var(--SubColor);}
.Field input,.Field select{width:100%; height:42px; padding:0 0.8rem; border:1.5px solid var(--Border); border-radius:10px; background:var(--White); font-size:0.92rem; transition:border-color 0.15s, box-shadow 0.15s;}
.Field textarea{width:100%; min-height:100px; padding:0.6rem 0.8rem; border:1.5px solid var(--Border); border-radius:10px; background:var(--White); font-size:0.92rem; line-height:1.5; resize:vertical;}
.Field input:focus,.Field select:focus,.Field textarea:focus{border-color:var(--MainColor); box-shadow:0 0 0 3px var(--MainRing);}
.Field.Need select{border-color:var(--Orange); background:var(--OrangeSoft);}
.Field .Hint{font-size:0.78rem; color:var(--SubColor);}
.FormGrid{display:grid; gap:0.9rem; grid-template-columns:minmax(0,1fr);}
.FormGrid .Wide{grid-column:1 / -1;}
.Chips{display:flex; flex-wrap:wrap; gap:0.35rem; margin-bottom:0.2rem;}
.Chip{display:inline-flex; align-items:center; gap:0.2rem; background:var(--MainSoft); color:var(--MainColor); border-radius:3rem; padding:0.15rem 0.35rem 0.15rem 0.75rem; font-size:0.85rem; font-weight:500;}
.Chip button{border:none; background:none; color:inherit; font-size:1rem; line-height:1; width:22px; height:22px; border-radius:50%;}
.Chip button:hover{background:var(--MainSoft2);}
.Chip small{font-size:0.7rem; opacity:0.75;}
.TypeGroup + .TypeGroup{margin-top:0.6rem;}
.TypeGroup > .MutedTxt{display:block; margin-bottom:0.3rem;}
.CheckRow{display:flex; align-items:flex-start; gap:0.5rem; font-size:0.93rem; font-weight:500; cursor:pointer; width:fit-content;}
.CheckRow input{width:18px; height:18px; flex-shrink:0; margin-top:0.15rem; accent-color:var(--MainColor);}
.CheckRow.Off{opacity:0.55; cursor:default;}
.CheckRow small{display:block; font-size:0.8rem; color:var(--SubColor); font-weight:400; text-align:right;}
.RadioList{display:grid; gap:0.4rem;}
.RadioList label{display:flex; align-items:flex-start; gap:0.6rem; padding:0.6rem 0.75rem; border:1.5px solid var(--Border); border-radius:10px; cursor:pointer; font-size:0.9rem;}
.RadioList label:hover{border-color:var(--MainSoft2);}
.RadioList label:has(input:checked){border-color:var(--MainColor); background:var(--MainSoft);}
.RadioList input{width:18px; height:18px; flex-shrink:0; margin-top:0.15rem; accent-color:var(--MainColor);}
.RadioList small{display:block; color:var(--SubColor); font-size:0.8rem;}
.RadioList a{color:var(--MainColor);}

/* ---------- חברות ---------- */
.CompCell{display:flex; align-items:center; gap:0.6rem;}
.CompCell img,.CompCell i{width:36px; height:36px; flex-shrink:0; object-fit:contain; border-radius:8px; background:var(--Bg); border:1px solid var(--Border);}
.CompHead{display:flex; align-items:center; gap:1rem;}
.CompLogo{width:64px; height:64px; object-fit:contain; border-radius:12px; background:var(--White); border:1px solid var(--Border); padding:4px;}

/* ---------- מסך הגשה (job.aspx) ---------- */
.BackLink{display:inline-flex; align-items:center; gap:0.3rem; font-size:0.88rem; font-weight:500; color:var(--MainColor); margin-bottom:0.4rem;}
.BackLink:hover{text-decoration:underline;}
.EditGrid{display:grid; gap:1.25rem; grid-template-columns:minmax(0,1fr); align-items:start;}
.EditCol{display:grid; gap:1.25rem; min-width:0;}
.InfoList{display:grid; grid-template-columns:auto 1fr; gap:0.45rem 1rem; font-size:0.92rem;}
.InfoList dt{color:var(--SubColor); font-weight:500;}
.InfoList dd{margin:0; min-width:0; overflow-wrap:anywhere;}
.InfoList dd.Ltr{direction:ltr; text-align:right;}
.InfoRow{display:flex; flex-wrap:wrap; gap:0.4rem; margin-bottom:1rem;}
/* כל המשרות של המייל (job.aspx) */
.RelList{list-style:none; margin:0; padding:0; display:grid; gap:0.15rem; max-height:26rem; overflow-y:auto;}
.RelList li{display:flex; align-items:flex-start; gap:0.6rem; padding:0.5rem 0.6rem; border-radius:8px; font-size:0.9rem;}
.RelList li:hover{background:var(--Bg);}
.RelList li.Current{background:var(--MainSoft);}
.RelList .Badge{flex-shrink:0; min-width:4.5rem; justify-content:center; margin-top:0.1rem;}
.RelMain{min-width:0; overflow-wrap:anywhere;}
.RelMain small{display:block; color:var(--SubColor); font-size:0.78rem;}
.RelMain small a{color:var(--MainColor);}
.RelList input.RelPick,.RelList .RelBox{width:18px; height:18px; flex-shrink:0; margin-top:0.15rem; accent-color:var(--MainColor);}
.RelBar{display:flex; align-items:center; justify-content:space-between; gap:0.75rem; padding:0 0.6rem 0.5rem; border-bottom:1px solid var(--Border); margin-bottom:0.4rem; font-size:0.88rem;}
.RelBar label{display:flex; align-items:center; gap:0.5rem; cursor:pointer;}
.RelBar input{width:18px; height:18px; accent-color:var(--MainColor);}
.Prose{font-size:0.95rem; line-height:1.7; overflow-wrap:anywhere;}
.Prose p,.Prose ul,.Prose ol{margin-bottom:0.7rem;}
.Prose ul,.Prose ol{padding-right:1.3rem;}
.Prose ul li{list-style:disc;}
.Prose ol li{list-style:decimal;}
.Prose h3{font-size:1rem; font-weight:600; margin:1rem 0 0.4rem;}
.DecideBox{display:grid; gap:1rem;}
.DecideBtns{display:flex; gap:0.6rem; flex-wrap:wrap;}
.DecideBtns .BtnMain{flex:1;}
.Done{border-radius:12px; padding:1rem; font-weight:500;}
.Done.Ok{background:var(--OkSoft); color:var(--Ok);}
.Done.No{background:var(--RedSoft); color:var(--Red);}
.Done.Warn{background:var(--OrangeSoft); color:var(--Orange); margin-bottom:1rem;}
.Done a{text-decoration:underline;}
.BtnMain:disabled,.BtnDanger:disabled{opacity:0.55; cursor:default;}
.BtnSoft{display:inline-flex; align-items:center; justify-content:center; gap:0.45rem; background:var(--MainSoft); color:var(--MainColor); border:none; border-radius:10px; padding:0.6rem 1.1rem; font-size:0.9rem; font-weight:600; white-space:nowrap;}
.BtnSoft:hover{background:var(--MainSoft2);}
.BtnDanger:disabled{opacity:0.4; cursor:default;}
.BtnSoft.Small,.BtnGhost.Small,.BtnDanger.Small{padding:0.35rem 0.75rem; font-size:0.82rem; border-radius:8px;}
.Modal .ModalBox.Wide{max-width:520px; text-align:right;}
.Modal .ModalBox.Wide .Field{margin-top:1rem;}
.Modal .ModalBox.Wide .CheckRow{margin-top:0.8rem;}

/* ---------- עורך טקסט עשיר (כמו ב-me2 של פק"ש) ---------- */
.RichEd{border:1.5px solid var(--Border); border-radius:10px; background:var(--White); overflow:hidden;}
.RichEd:focus-within{border-color:var(--MainColor); box-shadow:0 0 0 3px var(--MainRing);}
.RichEd .RichBar{display:flex; flex-wrap:wrap; gap:2px; padding:0.35rem; background:var(--Bg); border-bottom:1px solid var(--Border);}
.RichEd .RichBar button{min-width:32px; height:32px; padding:0 0.45rem; border:none; background:none; border-radius:6px; font-size:0.85rem; font-weight:700; color:var(--TextColor);}
.RichEd .RichBar button:hover{background:var(--White);}
.RichEd .RichBar button.On{background:var(--MainColor); color:var(--White);}
.RichEd .RichBar button svg{width:16px; height:16px; vertical-align:-3px;}
.RichEd .RichBar i{width:1px; background:var(--Border); margin:0.2rem;}
.RichEd .RichArea{min-height:160px; max-height:480px; overflow-y:auto; padding:0.8rem 1rem; font-size:0.95rem; line-height:1.65; outline:none;}
.RichEd .RichArea h2{font-size:1.2rem; font-weight:600; margin:0.6rem 0 0.3rem;}
.RichEd .RichArea h3{font-size:1.05rem; font-weight:600; margin:0.5rem 0 0.25rem;}
.RichEd .RichArea ul,.RichEd .RichArea ol{padding-right:1.5rem; margin:0.4rem 0;}
.RichEd .RichArea ul li{list-style:disc;}
.RichEd .RichArea ol li{list-style:decimal;}
.RichEd .RichArea a{color:var(--MainColor); text-decoration:underline;}
.RichEd .RichArea p{margin:0.3rem 0;}
.RichEd textarea{display:none; width:100%; min-height:220px; border:none; padding:0.8rem 1rem; font-family:Consolas, monospace; font-size:0.82rem; direction:ltr; text-align:left; resize:vertical; outline:none;}
.RichEd.Source .RichArea{display:none;}
.RichEd.Source textarea{display:block;}
.RichEd.Small .RichArea{min-height:100px;}

/* ---------- טופס עריכה + שמירה ---------- */
.CheckGrid{display:flex; flex-wrap:wrap; gap:0.4rem;}
.CheckGrid label{display:inline-flex; align-items:center; gap:0.35rem; padding:0.3rem 0.7rem; border:1.5px solid var(--Border); border-radius:3rem; font-size:0.85rem; cursor:pointer;}
.CheckGrid label:has(input:checked){border-color:var(--MainColor); background:var(--MainSoft); color:var(--MainColor); font-weight:600;}
.CheckGrid input{width:15px; height:15px; accent-color:var(--MainColor);}
.SalaryRow{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); gap:0.5rem;}
.SaveBar{position:sticky; bottom:0.75rem; z-index:50; display:flex; align-items:center; gap:0.6rem; flex-wrap:wrap; background:rgba(255,255,255,0.97); padding:0.75rem 1rem; margin-top:1.25rem; border-radius:12px; box-shadow:0 -4px 20px rgba(20,20,40,0.12);}
.SaveBar .SaveMsg{font-size:0.88rem; color:var(--SubColor); margin-right:auto;}
.SaveBar .SaveMsg.Dirty{color:var(--Orange); font-weight:600;}

/* ---------- בקשת עדכון ממעסיק (מוכן להמשך): שדה שהשתנה + בועה "היה / מבוקש" ליד השדה, כמו ב-JobEdit של פק"ש ---------- */
.Field.Changed input,.Field.Changed textarea,.Field.Changed select,.Field.Changed .RichEd{border-color:var(--Orange); background:#fffaf2;}
.ChangeBubble{position:relative; margin-top:0.7rem; background:#fff4e3; border:2px solid var(--Orange); border-radius:12px; padding:0.75rem 0.9rem; box-shadow:0 4px 14px rgba(201,112,15,0.18); font-size:0.88rem; animation:BubbleIn 0.35s ease-out;}
.ChangeBubble:before{content:''; position:absolute; top:-9px; right:1.4rem; width:14px; height:14px; background:#fff4e3; border-top:2px solid var(--Orange); border-right:2px solid var(--Orange); transform:rotate(-45deg);}
.ChangeBubble .CbHead{font-weight:700; color:var(--Orange); margin-bottom:0.4rem;}
.ChangeBubble .CbOld{color:var(--SubColor); white-space:pre-wrap; word-break:break-word; max-height:7.5rem; overflow-y:auto; margin-bottom:0.35rem; text-decoration:line-through;}
.ChangeBubble .CbNew{white-space:pre-wrap; word-break:break-word; max-height:12rem; overflow-y:auto; font-weight:600;}
.ChangeBubble .CbActs{display:flex; gap:0.4rem; margin-top:0.6rem; flex-wrap:wrap;}
.ChangeBubble .CbActs .BtnMain{background:var(--Orange); padding:0.4rem 0.9rem; font-size:0.85rem;}
@keyframes BubbleIn{from{opacity:0; transform:translateY(-4px);} to{opacity:1; transform:none;}}

/* ---------- טעינה, הודעה קופצת ---------- */
.Loader{display:flex; flex-direction:column; align-items:center; gap:0.9rem; padding:3rem 1rem; color:var(--SubColor); font-size:0.95rem;}
.Loader i{width:36px; height:36px; border-radius:50%; border:3px solid var(--MainSoft2); border-top-color:var(--MainColor); animation:Spin 0.8s linear infinite;}
@keyframes Spin{to{transform:rotate(360deg);}}
.Toast{position:fixed; bottom:1.5rem; left:50%; transform:translate(-50%,1rem); background:var(--TextColor); color:var(--White); padding:0.8rem 1.4rem; border-radius:12px; font-size:0.93rem; font-weight:500; box-shadow:0 8px 24px rgba(0,0,0,0.18); opacity:0; pointer-events:none; transition:opacity 0.2s, transform 0.2s; z-index:300; max-width:calc(100% - 2rem); text-align:center;}
.Toast.Show{opacity:1; transform:translate(-50%,0);}
.Toast.IsErr{background:var(--Red);}

/* ---------- ריק ---------- */
.Empty{text-align:center; padding:2rem 1rem; color:var(--SubColor);}
.Empty h3{font-size:1.05rem; font-weight:600; color:var(--TextColor); margin-bottom:0.2rem;}

/* ---------- חלון אישור ---------- */
.Modal{position:fixed; inset:0; background:rgba(20,20,35,0.45); z-index:250; display:none; align-items:center; justify-content:center; padding:1rem;}
.Modal.Show{display:flex;}
.Modal .ModalBox{background:var(--White); border-radius:16px; padding:1.75rem; width:100%; max-width:380px; text-align:center; box-shadow:0 12px 40px rgba(0,0,0,0.2);}
.Modal .ModalBox h3{font-size:1.15rem; font-weight:600; margin-bottom:0.4rem;}
.Modal .ModalBox p{color:var(--SubColor); font-size:0.93rem;}
.Modal .ModalBtns{display:flex; gap:0.6rem; margin-top:1.4rem;}
.Modal .ModalBtns button{flex:1;}

/* ---------- כניסה ---------- */
body.NoSide main{margin:0 !important; padding:0 !important;}
.LoginPage{min-height:100vh; display:flex; align-items:center; justify-content:center; padding:1.5rem; background:radial-gradient(circle at 85% 10%, #fbd9f1 0, transparent 45%), radial-gradient(circle at 10% 90%, #fce6f6 0, transparent 40%), var(--Bg);}
.LoginPage .LoginCard{width:100%; max-width:410px; background:var(--White); border-radius:20px; padding:0 2rem 2rem; box-shadow:0 10px 40px rgba(90,25,70,0.12); text-align:center; overflow:hidden;}
.LoginPage .LoginCard .LoginBrand{margin:0 -2rem 1.75rem; padding:1.8rem 1.5rem 1.6rem; background:var(--SideBg);}
.LoginPage .LoginCard .LoginBrand .Brand svg{width:54px; height:38px;}
.LoginPage .LoginCard .LoginBrand .Brand b{font-size:2.4rem;}
.LoginPage .LoginCard h1{font-size:1.5rem; font-weight:600; line-height:1.25;}
.LoginPage .LoginCard .LoginSub{color:var(--SubColor); font-size:0.95rem; margin:0.35rem 0 1.5rem;}
.LoginPage .LoginCard form{display:flex; flex-direction:column; gap:0.85rem;}
.LoginPage .LoginCard .BigInput{width:100%; padding:0.9rem 1rem; border:1.5px solid var(--Border); border-radius:12px; font-size:1.05rem; text-align:center; direction:ltr; transition:border-color 0.15s, box-shadow 0.15s;}
.LoginPage .LoginCard .BigInput::placeholder{direction:rtl;}
.LoginPage .LoginCard .BigInput:focus{border-color:var(--MainColor); box-shadow:0 0 0 3px var(--MainRing);}
.LoginPage .LoginCard .BtnMain{width:100%; padding:0.95rem; font-size:1.02rem; border-radius:12px;}
.LoginPage .LoginCard .LoginMsg{min-height:1.4rem; font-size:0.9rem; font-weight:500; color:var(--Red);}
.LoginPage .LoginCard .LoginFoot{margin-top:1.75rem; padding-top:1.25rem; border-top:1px solid var(--Border); font-size:0.82rem; color:var(--SubColor); display:flex; align-items:center; justify-content:center; gap:0.4rem;}
.LoginPage .LoginCard .LoginFoot svg{width:15px; height:15px; color:var(--MainColor); fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}

/* ---------- מובייל ---------- */
@media (max-width:750px){
  .TopNav{position:fixed; top:0; right:0; left:0; height:var(--TopNav); background:var(--SideBg); display:flex; align-items:center; justify-content:space-between; padding:0 1rem; z-index:90; box-shadow:0 2px 10px rgba(20,20,40,0.18);}
  .TopNav button{background:none; border:none; width:42px; height:42px; display:flex; align-items:center; justify-content:center; border-radius:10px; color:var(--White);}
  .TopNav button:active{background:rgba(255,255,255,0.15);}
  .TopNav button svg{width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round;}
  .TopNav .Brand svg{width:30px; height:21px;}
  .TopNav .Brand b{font-size:1.35rem;}
  .Sidebar{position:fixed; top:0; right:-290px; width:270px; height:100%; overflow-y:auto; transition:right 0.25s; box-shadow:-8px 0 30px rgba(0,0,0,0.3);}
  .Sidebar.Open{right:0;}

  main{margin-top:var(--TopNav); padding:1.25rem 1rem 2rem;}
  .PageHead h1{font-size:1.45rem;}
  .Card{padding:1rem; border-radius:12px;}

  /* טבלה הופכת לכרטיסים */
  .DataTable thead{display:none;}
  .DataTable,.DataTable tbody,.DataTable tr,.DataTable td{display:block; width:100%;}
  .DataTable tr{background:var(--Bg); border-radius:12px; padding:0.75rem 0.9rem; margin-bottom:0.5rem;}
  .DataTable td{border:none; padding:0.12rem 0; display:flex; gap:0.5rem; font-size:0.9rem;}
  .DataTable td:before{content:attr(data-label); color:var(--SubColor); font-size:0.8rem; min-width:70px; flex-shrink:0;}
  .DataTable td small{display:inline;}
  .DataTable tbody tr:hover td{background:none;}
  .DataTable td.NoLabel:before{display:none;}
  .DataTable td.ChkCol{width:auto;}
  .DataTable tbody tr.Sel{background:var(--MainSoft2);}
  .DataTable tbody tr.Sel td{background:none;}
  .DataTable tbody tr.Asked{background:#e9e9ec;}
  .DataTable tbody tr.Asked td{background:none;}
  .BulkBar{top:calc(var(--TopNav) + 0.5rem);}
  .FilterBar .Field{min-width:0; flex:1 1 100%;}

  .LoginPage .LoginCard{padding:0 1.35rem 1.5rem; border-radius:18px;}
  .LoginPage .LoginCard .LoginBrand{margin:0 -1.35rem 1.5rem;}
}

@media (min-width:751px){
  .TopNav,.Overlay{display:none !important;}
  .Sidebar{position:fixed; top:0; right:0; width:var(--Sidebar); height:100%; overflow-y:auto;}
  main{margin-right:var(--Sidebar); padding:2rem 2.25rem 3rem;}
  .TwoCols{grid-template-columns:repeat(2, minmax(0,1fr));}
  .EditGrid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);}
  .FormGrid.Two{grid-template-columns:repeat(2, minmax(0,1fr));}
}
