@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn/Vazirmatn-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn/Vazirmatn-Medium.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn/Vazirmatn-SemiBold.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Vazirmatn;src:url(/fonts/vazirmatn/Vazirmatn-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}:root{--primary: #0f6b52;--primary-dark: #0b5340;--danger: #c0392b;--bg: #f4f6f8;--border: #e0e3e7;--text: #1f2933}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;direction:rtl;font-family:Vazirmatn,Tahoma,Arial,sans-serif;background:var(--bg);color:var(--text)}button{font-family:inherit;cursor:pointer}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%)}.login-card{background:#fff;padding:2.5rem;border-radius:12px;box-shadow:0 10px 30px #0003;width:100%;max-width:380px;display:flex;flex-direction:column;gap:1rem}.login-card h1{font-size:1.3rem;text-align:center;color:var(--primary-dark);margin-bottom:.5rem}.login-card label{display:flex;flex-direction:column;gap:.4rem;font-size:.9rem}.login-card input{padding:.6rem .8rem;border:1px solid var(--border);border-radius:8px;font-size:1rem}.login-card button{margin-top:.5rem;padding:.7rem;border:none;border-radius:8px;background:var(--primary);color:#fff;font-size:1rem;font-weight:600}.login-card button:hover{background:var(--primary-dark)}.dashboard{max-width:1400px;margin:0 auto;padding:1.5rem}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.2rem}.dashboard-header h1{font-size:1.4rem;color:var(--primary-dark)}.header-actions{display:flex;align-items:center;gap:.8rem}.user-badge{background:#fff;padding:.4rem .8rem;border-radius:20px;font-size:.85rem;border:1px solid var(--border)}.toolbar{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;align-items:center;margin-bottom:1rem}.global-search{flex:1;min-width:250px;padding:.6rem 1rem;border:1px solid var(--border);border-radius:8px;font-size:.95rem}.toolbar-actions{display:flex;gap:.6rem;flex-wrap:wrap}.btn{padding:.5rem 1rem;border-radius:8px;border:none;font-size:.9rem;font-weight:500}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-secondary{background:#fff;color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{background:#eef1f3}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover{background:#a5311f}.btn-small{padding:.3rem .6rem;font-size:.8rem;margin-inline-start:.3rem}.backup-controls{display:flex;gap:.6rem;position:relative}.table-wrapper{overflow-x:auto;background:#fff;border-radius:10px;box-shadow:0 2px 10px #0000000f}.coach-table{width:100%;border-collapse:collapse;font-size:.9rem;min-width:900px}.coach-table thead th{background:var(--primary);color:#fff;padding:.7rem .6rem;text-align:center;white-space:nowrap;border-left:1px solid rgba(255,255,255,.15)}.coach-table thead th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.coach-table thead th.sortable:hover{background:var(--primary-dark)}.sort-icon{font-size:.75rem;opacity:.85}.filter-row th{background:#ecf3f0;padding:.4rem}.filter-row input,.filter-row select{width:100%;padding:.3rem .4rem;border:1px solid var(--border);border-radius:6px;font-size:.8rem}.coach-table tbody td{padding:.6rem;text-align:center;border-bottom:1px solid var(--border)}.coach-table tbody tr:nth-child(2n){background:#f9fbfa}.coach-table tbody tr:hover{background:#eef7f2}.col-index{width:60px;font-weight:600;color:var(--primary-dark)}.col-actions{white-space:nowrap}.empty-state{text-align:center;padding:2rem;color:#8a97a0}.stats-bar{margin-top:.8rem;font-size:.85rem;color:#6b7680;text-align:left}.alert{padding:.6rem 1rem;border-radius:8px;font-size:.85rem;margin:.5rem 0}.alert-error{background:#fdecea;color:#c0392b;border:1px solid #f5c6c2}.alert-success{background:#e9f7ef;color:#1e7e4b;border:1px solid #b8e6c9}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172180;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-card{background:#fff;border-radius:12px;padding:1.8rem;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 50px #00000040}.modal-card h2{margin-top:0;color:var(--primary-dark);font-size:1.2rem}.modal-confirm p{font-size:.95rem;line-height:1.8}.form-field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.9rem;position:relative}.form-field label{font-size:.85rem;color:#495663;font-weight:500}.form-field input,.form-field select{padding:.55rem .7rem;border:1px solid var(--border);border-radius:8px;font-size:.9rem}.autocomplete-wrapper{position:relative}.autocomplete-list{position:absolute;top:100%;right:0;left:0;background:#fff;border:1px solid var(--border);border-radius:8px;margin-top:.2rem;max-height:180px;overflow-y:auto;list-style:none;padding:.2rem 0;z-index:10;box-shadow:0 8px 20px #0000001a}.autocomplete-list li{padding:.5rem .8rem;cursor:pointer;font-size:.88rem}.autocomplete-list li:hover{background:#eef7f2}.modal-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1.2rem}@media (max-width: 640px){.dashboard-header{flex-direction:column;align-items:flex-start;gap:.6rem}.toolbar{flex-direction:column;align-items:stretch}}
