/* Platinum Coach Portal V3 visual layer */
:root{
  --v3-bg:#eef5f8;--v3-bg-soft:#f8fbfd;--v3-surface:#ffffff;--v3-surface-2:#f3f8fb;
  --v3-text:#17344a;--v3-text-strong:#0a2740;--v3-muted:#71899a;--v3-line:#dce8ef;
  --v3-blue:#1789e6;--v3-blue-soft:#e9f5ff;--v3-mint:#22b99a;--v3-mint-soft:#eafaf6;
  --v3-gold:#d6a53b;--v3-gold-soft:#fff8e8;--v3-coral:#e66b79;--v3-coral-soft:#fff0f2;
  --v3-purple:#806bd8;--v3-purple-soft:#f2efff;--v3-peach:#ef9a64;--v3-peach-soft:#fff4ec;
  --v3-shadow:0 18px 48px rgba(31,73,102,.10);--v3-shadow-soft:0 8px 24px rgba(31,73,102,.08);
  --coach-bg:var(--v3-bg);--coach-bg2:var(--v3-bg-soft);--coach-card:rgba(255,255,255,.94);
  --coach-card-solid:#fff;--coach-line:var(--v3-line);--coach-text:var(--v3-text);--coach-muted:var(--v3-muted);
  --coach-gold:var(--v3-gold);--coach-gold2:#b88b2b;--coach-mint:var(--v3-mint);--coach-blue:var(--v3-blue);
  --coach-purple:var(--v3-purple);--coach-red:var(--v3-coral);--coach-orange:var(--v3-peach);--coach-shadow:var(--v3-shadow);
}
html{background:var(--v3-bg)}
body.coach-body{
  background:radial-gradient(circle at 96% 7%,rgba(23,137,230,.12),transparent 27%),
  radial-gradient(circle at 5% 30%,rgba(34,185,154,.10),transparent 28%),
  linear-gradient(145deg,#eef6f9 0%,#f8fbfd 46%,#edf6f4 100%);
  color:var(--v3-text)
}
body.coach-body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;background-image:linear-gradient(rgba(255,255,255,.38) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.38) 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.18),transparent 50%)}
.coach-bg-orb{filter:blur(95px);opacity:.14}.coach-bg-orb-one{background:#6cbff4}.coach-bg-orb-two{background:#78d9b9;opacity:.12}
.coach-topbar{min-height:74px;padding:10px 22px;background:linear-gradient(100deg,rgba(9,35,55,.97),rgba(12,53,72,.96));border-bottom:1px solid rgba(255,255,255,.10);box-shadow:0 7px 26px rgba(10,39,58,.14)}
.coach-brand,.coach-brand-copy b{color:#fff}.coach-brand-copy small{color:#ffd976}.coach-nav-link{color:#c7d9e5}
.coach-nav-link:hover,.coach-nav-link.is-active{color:#fff;background:rgba(255,255,255,.11)}.coach-nav-link.is-active:after{background:linear-gradient(90deg,#ffd976,#7fe4c6)}
.coach-profile-chip{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.12)}.coach-profile-chip b{color:#fff}.coach-profile-chip small{color:#c1d3df}.coach-logout{color:#ffd976}
.coach-nav-toggle{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.14)}.coach-brand-mark{box-shadow:0 8px 20px rgba(0,0,0,.17)}
.coach-shell{position:relative;z-index:1;width:min(1420px,calc(100% - 34px));margin:0 auto;padding:30px 0 46px}
.coach-page-heading{padding:6px 2px 22px}.coach-page-heading h1{color:var(--v3-text-strong);font-size:clamp(27px,3vw,44px);letter-spacing:-.8px}
.coach-kicker{color:#b17f1f;font-weight:900;letter-spacing:1.7px}.coach-date-pill{background:#fff;color:#466275;border:1px solid var(--v3-line);box-shadow:var(--v3-shadow-soft)}
.coach-live-dot{box-shadow:0 0 0 5px rgba(34,185,154,.12)}
.coach-card{background:rgba(255,255,255,.95);border:1px solid rgba(191,211,224,.75);box-shadow:var(--v3-shadow-soft);color:var(--v3-text)}
.coach-card:hover{border-color:#c7dce8;box-shadow:var(--v3-shadow);transform:translateY(-2px)}
.coach-card-title h2,.coach-section-head h2,.coach-card h3,.coach-list-copy b,.coach-timeline-item b{color:var(--v3-text-strong)}
.coach-card-title p,.coach-section-head p,.coach-feature-card p,.coach-list-copy small,.coach-stat-foot,.coach-empty span,.coach-timeline-item p{color:var(--v3-muted)}
.coach-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 88% 12%,rgba(255,255,255,.74),transparent 29%),linear-gradient(120deg,#dff5ff 0%,#eef7ff 33%,#eefaf4 67%,#fff5df 100%);border:1px solid #d5e8ed;box-shadow:0 24px 60px rgba(48,92,120,.12);min-height:270px}
.coach-hero:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;background:linear-gradient(145deg,rgba(23,137,230,.11),rgba(34,185,154,.07));left:-110px;bottom:-210px;border:1px solid rgba(23,137,230,.13)}
.coach-hero:after{content:"\2726";position:absolute;left:8%;top:22px;font-size:68px;color:rgba(214,165,59,.13);transform:rotate(15deg)}.coach-hero-content{position:relative;z-index:1}
.coach-hero-content h2{color:#153a54}.coach-hero-content h2 span{color:transparent;background:linear-gradient(90deg,#0e78ca,#1aaf8d,#c78d20);-webkit-background-clip:text;background-clip:text}
.coach-hero-content p{color:#536e80}.coach-hero-eyebrow{background:rgba(255,255,255,.76);color:#9a711d;border:1px solid rgba(214,165,59,.25);box-shadow:0 6px 16px rgba(214,165,59,.08)}
.coach-inspiration{background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(255,250,237,.93));color:var(--v3-text);border:1px solid rgba(214,165,59,.23);box-shadow:var(--v3-shadow-soft)}
.coach-inspiration small{color:#aa7a18}.coach-inspiration b{color:#193f58}.coach-inspiration p{color:#6c7e89}
.coach-btn{border-radius:14px;font-weight:900}.coach-btn-primary{background:linear-gradient(120deg,#1489e2,#1bb596);color:#fff!important;border:0;box-shadow:0 10px 24px rgba(23,137,230,.22)}
.coach-btn-primary:hover{filter:brightness(1.04);transform:translateY(-1px)}.coach-btn-soft{background:#fff;color:#274d65!important;border:1px solid #d9e6ed;box-shadow:0 6px 16px rgba(31,73,102,.06)}
.coach-btn-soft:hover{background:#f8fbfd;border-color:#bdd4e1}.coach-btn-danger{background:#fff1f3;color:#b84756!important;border:1px solid #f0c5cb}
.coach-stat{position:relative;overflow:hidden;background:#fff}.coach-stat:after{content:"";position:absolute;inset:auto -30px -48px auto;width:105px;height:105px;border-radius:50%;opacity:.08}.coach-stat strong{color:#153a54}
.coach-accent-blue{background:linear-gradient(145deg,#fff,#edf7ff);border-top:3px solid #4aa4eb}.coach-accent-blue:after{background:#1789e6}
.coach-accent-mint{background:linear-gradient(145deg,#fff,#ecfbf7);border-top:3px solid #42c6a9}.coach-accent-mint:after{background:#22b99a}
.coach-accent-gold{background:linear-gradient(145deg,#fff,#fff8e8);border-top:3px solid #e1b556}.coach-accent-gold:after{background:#d6a53b}
.coach-accent-red{background:linear-gradient(145deg,#fff,#fff0f2);border-top:3px solid #ec8792}.coach-accent-red:after{background:#e66b79}
.coach-stat-icon{background:#f3f8fb;color:#2479b9;border:1px solid #dceaf2}.coach-accent-mint .coach-stat-icon{color:#15957b;background:#effbf7}.coach-accent-gold .coach-stat-icon{color:#a87613;background:#fff8e9}.coach-accent-red .coach-stat-icon{color:#c14f5c;background:#fff2f3}
.coach-feature-card{background:linear-gradient(145deg,#fff,#f8fbfd)}.coach-feature-icon,.coach-quick-icon,.coach-list-icon{background:linear-gradient(145deg,#edf7ff,#eefaf6);color:#1789e6;border:1px solid #d5e8f0}
.coach-quick-link{background:#fff}.coach-quick-link:hover{background:linear-gradient(145deg,#fff,#f7fbfd)}.coach-quick-arrow{color:#1686d9}
.coach-list-item,.coach-schedule-card,.coach-notification-full,.coach-question,.coach-quiz-option{background:#f8fbfd;border-color:#deeaef;color:var(--v3-text)}
.coach-list-item:hover{background:#f2f8fb}.coach-time-block{background:linear-gradient(145deg,#e9f5ff,#effaf7);border:1px solid #d6e8ee;color:#176eaa}.coach-time-block small{color:#6a8496}
.coach-notice{background:#fff;border-color:#dce8ef}.coach-notice.is-high{border-right:4px solid #d6a53b;background:#fffaf0}.coach-notice.is-urgent{border-right:4px solid #e66b79;background:#fff4f5}
.coach-notice-top h3{color:#173a53}.coach-notice-time{color:#7890a1}
.coach-badge{border:1px solid transparent}.coach-badge-blue{background:#eaf5ff;color:#1478c5;border-color:#cce7fa}.coach-badge-mint{background:#eafaf6;color:#11876f;border-color:#cceee4}
.coach-badge-gold{background:#fff6df;color:#9d7018;border-color:#f0dfb3}.coach-badge-red{background:#fff0f2;color:#b94855;border-color:#f0c8ce}.coach-badge-gray{background:#f1f5f8;color:#607887;border-color:#dde7ed}
.coach-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:7px;background:#eaf2f6;border:1px solid #d9e6ed;border-radius:18px}.coach-tab{background:transparent;color:#607789;border:0}
.coach-tab:hover,.coach-tab.is-active{background:#fff;color:#174d70;box-shadow:0 5px 14px rgba(42,84,111,.09)}
.coach-filterbar{background:rgba(255,255,255,.86);border:1px solid #dce8ef;box-shadow:var(--v3-shadow-soft);padding:14px;border-radius:20px}
.coach-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.coach-field{background:#fff;border:1px solid #d6e4eb;color:#24465d;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.coach-field:focus{outline:none;border-color:#56a9e4;box-shadow:0 0 0 4px rgba(23,137,230,.09)}.coach-form label{color:#5c7485}.coach-filter-actions{display:flex;align-items:end;gap:8px}
.coach-table-wrap{border:1px solid #deeaef;background:#fff}.coach-table{color:#2a485c}.coach-table thead th{background:#edf5f8;color:#496678;border-bottom-color:#d6e4eb}.coach-table tbody tr:hover{background:#f8fbfd}.coach-table td{border-bottom-color:#e5edf2}
.coach-timeline:before{background:linear-gradient(#61aee6,#52c4a9,#ddba67)}.coach-timeline-item{background:#fff;border:1px solid #deeaef}.coach-timeline-item:before{background:#fff;border-color:#55a8e4}
.coach-progress{background:#e8f0f4}.coach-progress span{background:linear-gradient(90deg,#1789e6,#22b99a,#d6a53b)}.coach-ring{background:conic-gradient(#22b99a calc(var(--p)*1%),#e6eef2 0)}.coach-ring:after{background:#fff}.coach-ring strong{color:#173d56}
.coach-empty{background:linear-gradient(145deg,#fbfdfe,#f4f9fb);border-color:#d9e7ee;color:#32566d}.coach-empty b{color:#214c66}.coach-toast{background:#153b54;color:#fff;box-shadow:0 14px 38px rgba(15,52,76,.25)}
.coach-archive{background:#fff;border:1px solid #dbe8ee;box-shadow:var(--v3-shadow-soft)}.coach-archive summary{color:#2a5168}.coach-archive-content{border-top-color:#e2ebf0;color:#6a8292}
.coach-player-strip{background:#fff;border:1px solid #dce8ef;box-shadow:var(--v3-shadow-soft)}.coach-player-mini{background:#f7fbfd;border-color:#e0ebf0}.coach-player-mini b{color:#173c55}.coach-player-mini small{color:#7890a0}.coach-player-mini .fallback{background:linear-gradient(145deg,#e8f5ff,#ecfaf5);color:#177dbf}
.coach-wallet{position:relative;overflow:hidden;background:linear-gradient(110deg,rgba(255,255,255,.96),rgba(255,251,241,.94));border:1px solid #eadfbe}.coach-wallet:after{content:"";position:absolute;left:0;right:0;bottom:0;height:88px;background:url("../../img/flower_bgg3.png") bottom center/auto 88px repeat-x;opacity:.18;pointer-events:none}.coach-wallet>*{position:relative;z-index:1}
.coach-wallet-value{color:#0c6f86;text-shadow:none}.coach-wallet-mini{background:rgba(255,255,255,.88);border:1px solid #eadfbe}.coach-wallet-mini b{color:#1f435a}.coach-wallet-label{color:#8f6a20}
.v3-finance-hero{position:relative;overflow:hidden;min-height:250px;padding:28px;border-radius:28px;background:linear-gradient(110deg,rgba(255,255,255,.98),rgba(255,249,235,.96) 52%,rgba(236,250,246,.96));border:1px solid #e9dfc4;box-shadow:0 22px 56px rgba(93,86,46,.10)}
.v3-finance-hero:after{content:"";position:absolute;right:-25px;bottom:-10px;width:520px;height:150px;background:url("../../img/flower_bgg3.png") bottom right/contain no-repeat;opacity:.24}.v3-finance-hero>*{position:relative;z-index:1}
.v3-finance-amount{font-size:clamp(38px,5vw,68px);font-weight:900;color:#0c7890;letter-spacing:-2px}.v3-finance-sub{color:#6f7e79;font-weight:700}
.v3-money-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.v3-money-chip{background:rgba(255,255,255,.88);border:1px solid #e6dec7;border-radius:18px;padding:15px}.v3-money-chip small{display:block;color:#7c8a84;font-size:11px}.v3-money-chip b{display:block;color:#254b5c;font-size:17px;margin-top:6px}
.v3-page-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;margin-bottom:18px;border-radius:24px;background:linear-gradient(115deg,#eaf6ff,#edf9f5,#fff7e7);border:1px solid #d9e8ea;box-shadow:var(--v3-shadow-soft)}
.v3-page-banner h2{margin:0;color:#173f58}.v3-page-banner p{margin:7px 0 0;color:#6d8392}.v3-banner-icon{width:62px;height:62px;border-radius:19px;display:grid;place-items:center;font-size:30px;background:#fff;border:1px solid #dce9ef;box-shadow:0 8px 22px rgba(44,83,107,.08)}
.v3-advice-ribbon{position:relative;overflow:hidden;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;padding:17px 18px;background:linear-gradient(110deg,#fff9e8,#fff,#edf9f5);border:1px solid #eadfbd;border-radius:21px;box-shadow:var(--v3-shadow-soft)}
.v3-advice-ribbon:before{content:"";position:absolute;right:-28px;top:-28px;width:90px;height:90px;border-radius:50%;background:rgba(214,165,59,.11)}.v3-advice-icon{width:46px;height:46px;border-radius:15px;background:#fff3ce;color:#9f741e;display:grid;place-items:center;font-size:22px}
.v3-advice-ribbon b{display:block;color:#28495c}.v3-advice-ribbon p{margin:4px 0 0;color:#728692;font-size:12px;line-height:1.8}.v3-advice-type{color:#9c761d;font-size:10px;font-weight:900}
.v3-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.v3-toolbar-left,.v3-toolbar-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.v3-result-count{color:#607b8b;font-size:11px;font-weight:800}.v3-search{min-width:230px}
.v3-player-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.v3-player-card{padding:16px;border-radius:22px;background:#fff;border:1px solid #dce8ef;box-shadow:var(--v3-shadow-soft)}
.v3-player-head{display:flex;align-items:center;gap:11px}.v3-player-avatar{width:54px;height:54px;border-radius:17px;object-fit:cover;background:linear-gradient(145deg,#eaf6ff,#edf9f5);display:grid;place-items:center;color:#1789e6;font-size:20px;font-weight:900}
.v3-player-head b{display:block;color:#193f58}.v3-player-head small{color:#7890a0}.v3-player-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-top:13px}.v3-player-meta span{background:#f5f9fb;border-radius:12px;padding:9px;color:#627b8a;font-size:10px}.v3-player-actions{display:flex;gap:7px;margin-top:12px}
.v3-attendance-register{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;align-items:stretch}.v3-attendance-today{background:linear-gradient(145deg,#fff,#eff9f5);border:1px solid #d8ebe4}
.v3-attendance-clock{font-size:42px;font-weight:900;color:#168873;letter-spacing:-1px}.v3-attendance-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.v3-attendance-actions .coach-btn{min-width:130px}
.v3-status-pills{display:flex;gap:8px;flex-wrap:wrap}.v3-status-pill{padding:8px 11px;border-radius:99px;font-size:10px;font-weight:900;background:#f2f7fa;color:#5f7888}.v3-status-pill.is-good{background:#eafaf6;color:#10866f}.v3-status-pill.is-warn{background:#fff5e0;color:#9a6d16}.v3-status-pill.is-bad{background:#fff0f2;color:#b94b58}
.v3-game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.v3-game-card{position:relative;overflow:hidden;padding:18px;min-height:210px;border-radius:24px;background:#fff;border:1px solid #dce8ef;box-shadow:var(--v3-shadow-soft);transition:.25s ease}
.v3-game-card:hover{transform:translateY(-5px);box-shadow:var(--v3-shadow)}.v3-game-card:after{content:"";position:absolute;width:105px;height:105px;border-radius:50%;left:-36px;bottom:-42px;background:var(--game-accent,#1789e6);opacity:.08}
.v3-game-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;font-size:25px;background:var(--game-soft,#eaf5ff);color:var(--game-accent,#1789e6);border:1px solid rgba(0,0,0,.03)}
.v3-game-card h3{margin:13px 0 6px;color:#173d56}.v3-game-card p{margin:0;color:#728796;font-size:11px;line-height:1.8}.v3-game-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.v3-game-meta span{font-size:9px;font-weight:900;padding:6px 8px;border-radius:99px;background:#f2f6f8;color:#607887}.v3-game-best{margin-top:12px;color:#9b741e;font-size:10px;font-weight:900}
.v3-game-stage{max-width:900px;margin:0 auto}.v3-game-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.v3-game-question{padding:22px;border-radius:24px;background:#fff;border:1px solid #dce8ef;box-shadow:var(--v3-shadow-soft)}.v3-game-question h3{font-size:20px;line-height:1.75;margin:8px 0 17px;color:#193f58}
.v3-game-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v3-game-option{display:flex;gap:10px;align-items:flex-start;padding:13px;border-radius:16px;background:#f7fafc;border:1px solid #dfe9ee;color:#36566a;cursor:pointer;transition:.2s}.v3-game-option:hover{background:#edf7ff;border-color:#bcdcf1}.v3-game-option input{margin-top:3px}
.v3-game-timer{min-width:86px;text-align:center;background:#fff;border:1px solid #dce8ef;border-radius:18px;padding:9px 12px;color:#1b648f}.v3-game-timer b{display:block;font-size:20px}.v3-score-big{font-size:clamp(48px,7vw,88px);font-weight:900;color:#11866f;letter-spacing:-3px}
.v3-profile-layout{display:grid;grid-template-columns:320px 1fr;gap:16px}.v3-profile-card{text-align:center;background:linear-gradient(145deg,#fff,#eff8fb);padding:24px}.v3-profile-photo{width:130px;height:130px;margin:0 auto;border-radius:34px;object-fit:cover;background:#eaf5ff;border:6px solid #fff;box-shadow:0 14px 32px rgba(29,79,108,.13)}.v3-profile-initial{display:grid;place-items:center;font-size:42px;font-weight:900;color:#177fc2}.v3-profile-card h2{margin:15px 0 4px}.v3-profile-card p{color:#748a98}
.v3-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.v3-upload-card{padding:13px;border-radius:16px;background:#f7fafc;border:1px solid #dce8ef}.v3-upload-card b{display:block;font-size:11px;color:#36566a}.v3-upload-card small{color:#8295a1}
.v3-complaint-card{border-right:4px solid #6aaee1}.v3-complaint-card.is-answered{border-right-color:#3cb99d}
.coach-footer{color:#678091;border-top-color:#dce8ef}.coach-footer span:first-child{color:#274f68}
@media(max-width:1180px){.coach-topbar{flex-wrap:wrap}.coach-topnav{order:3;width:100%;overflow-x:auto;justify-content:flex-start;padding-bottom:3px}.coach-profile-chip{margin-inline-start:auto}.coach-grid-6{grid-template-columns:repeat(3,minmax(0,1fr))}.v3-game-grid,.v3-player-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.coach-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.coach-shell{width:min(100% - 22px,1420px);padding-top:20px}.coach-page-heading{align-items:flex-start;gap:11px}.coach-hero{grid-template-columns:1fr;min-height:auto;padding:22px}.coach-inspiration{max-width:none}.coach-grid-2,.coach-metric-hero,.v3-attendance-register,.v3-profile-layout{grid-template-columns:1fr}.coach-grid-3,.coach-grid-4,.coach-grid-6,.v3-game-grid,.v3-player-grid,.v3-money-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.coach-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v3-game-options{grid-template-columns:1fr}.v3-profile-card{order:-1}}
@media(max-width:600px){.coach-topbar{padding:9px 12px}.coach-brand-copy{display:none}.coach-profile-chip div:not(.coach-avatar){display:none}.coach-profile-chip{padding:5px}.coach-page-heading{flex-direction:column}.coach-date-pill{align-self:flex-start}.coach-grid-2,.coach-grid-3,.coach-grid-4,.coach-grid-6,.v3-game-grid,.v3-player-grid,.v3-money-grid,.coach-filter-grid{grid-template-columns:1fr}.coach-hero-content h2{font-size:35px}.coach-hero-actions,.v3-attendance-actions{flex-direction:column;align-items:stretch}.coach-btn{justify-content:center}.v3-page-banner{align-items:flex-start}.v3-page-banner .v3-banner-icon{width:48px;height:48px}.v3-advice-ribbon{grid-template-columns:auto 1fr}.v3-advice-type{grid-column:2}.v3-upload-grid{grid-template-columns:1fr}}
/* =========================================
   V3 FINAL POLISH
   Better contrast + premium tables/tabs
   ========================================= */

/* النصوص داخل الجداول أوضح */
.coach-table{
    color:#29495d;
    font-size:13px;
}

.coach-table thead th{
    color:#315a72;
    font-weight:900;
    font-size:12px;
    background:linear-gradient(180deg,#edf6fa,#e7f1f5);
    border-bottom:1px solid #cddfe8;
    padding:15px 14px;
}

/* الخلايا نفسها */
.coach-table td{
    color:#405f72;
    font-weight:700;
    padding:16px 14px;
    border-bottom:1px solid #e1ebf0;
    line-height:1.7;
}

/* أول عمود والتواريخ أوضح */
.coach-table td:first-child{
    color:#274e66;
    font-weight:900;
}

/* Zebra rows خفيفة */
.coach-table tbody tr:nth-child(even){
    background:#fbfdfe;
}

.coach-table tbody tr:nth-child(odd){
    background:#ffffff;
}

/* Hover واضح وناعم */
.coach-table tbody tr{
    transition:
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.coach-table tbody tr:hover{
    background:#edf8fc;
    box-shadow:
        inset 4px 0 0 rgba(23,137,230,.28);
}

/* حاوية الجدول أفخم */
.coach-table-wrap{
    border:1px solid #d5e5ec;
    border-radius:22px;
    overflow:hidden;
    background:#fff;
    box-shadow:
        0 10px 28px rgba(36,76,102,.07);
}


/* =========================
   WALLET TABS
   ========================= */

.v3-finance-tabs{
    padding:8px;
    background:rgba(236,244,248,.92);
    border:1px solid #d6e5ec;
    box-shadow:0 9px 25px rgba(36,76,102,.07);
}

.v3-finance-tabs .coach-tab{
    padding:10px 18px;
    border-radius:13px;
    color:#537083;
    font-weight:900;
    transition:.2s ease;
}

.v3-finance-tabs .coach-tab:hover{
    color:#176f9f;
    background:rgba(255,255,255,.75);
}

.v3-finance-tabs .coach-tab.is-active{
    color:#144b69;
    background:#ffffff;
    box-shadow:
        0 7px 18px rgba(45,90,116,.12);
    position:relative;
}

.v3-finance-tabs .coach-tab.is-active:after{
    content:"";
    position:absolute;
    right:20%;
    left:20%;
    bottom:3px;
    height:3px;
    border-radius:20px;
    background:linear-gradient(
        90deg,
        #e0b54d,
        #31bca0
    );
}


/* =========================
   WALLET SECTION TITLES
   ========================= */

.coach-card-title h2{
    color:#153d57;
    font-weight:900;
}

.coach-card-title p{
    color:#668191;
    font-weight:700;
}


/* =========================
   DEDUCTIONS / REWARDS
   ========================= */



/* التفاصيل تبقى مقروءة */
body[data-page="show_salary.php"]
.coach-table tbody td:last-child{
    color:#536f80;
}


/* =========================
   CARD DEPTH
   ========================= */

.coach-card{
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.coach-card:hover{
    transform:translateY(-3px);
    box-shadow:
        0 18px 42px rgba(36,76,102,.12);
}


/* =========================
   BUTTONS
   ========================= */

.coach-btn{
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.coach-btn:hover{
    transform:translateY(-2px);
}

.coach-btn-primary:hover{
    box-shadow:
        0 12px 28px rgba(23,137,230,.24);
}


/* =========================
   MINI LINKS
   ========================= */

.coach-mini-link{
    font-weight:900;
    color:#1681c5;
}

.coach-mini-link:hover{
    color:#0d6fae;
}


/* =========================
   FILTER BAR
   ========================= */

.coach-filterbar{
    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,.96),
            rgba(241,248,251,.94)
        );
    border:1px solid #d6e5ec;
    box-shadow:
        0 12px 30px rgba(40,80,105,.08);
}


/* =========================
   RESPONSIVE TABLE
   ========================= */

@media(max-width:700px){

    .coach-table{
        min-width:720px;
    }

    .coach-table-wrap{
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }

}

/* نوع الحركة المالية بلون مختلف */

.coach-rewards-table td:nth-child(3){
    color:#14866f;
    font-weight:900;
}

.coach-deductions-table td:nth-child(3){
    color:#bd4e5b;
    font-weight:900;
}

.coach-violations-table td:nth-child(3){
    color:#b77719;
    font-weight:900;
}

.coach-transfers-table td:nth-child(2){
    color:#087c91;
    font-size:15px;
    font-weight:900;
}


/* =========================================
   V3.0.2 - FORCE TABLE READABILITY
   ========================================= */

body.coach-body .coach-table tbody td{
    color:#405f72 !important;
    opacity:1 !important;
    font-weight:700 !important;
    -webkit-text-fill-color:#405f72 !important;
}

body.coach-body .coach-table tbody td:first-child{
    color:#244d66 !important;
    -webkit-text-fill-color:#244d66 !important;
    font-weight:900 !important;
}

/* المكافآت */
body.coach-body .coach-rewards-table tbody td:nth-child(3){
    color:#14866f !important;
    -webkit-text-fill-color:#14866f !important;
    font-weight:900 !important;
}

/* الخصومات */
body.coach-body .coach-deductions-table tbody td:nth-child(3){
    color:#bd4e5b !important;
    -webkit-text-fill-color:#bd4e5b !important;
    font-weight:900 !important;
}

/* المخالفات */
body.coach-body .coach-violations-table tbody td:nth-child(3){
    color:#a87016 !important;
    -webkit-text-fill-color:#a87016 !important;
    font-weight:900 !important;
}

/* التحويلات - قيمة الصافي */
body.coach-body .coach-transfers-table tbody td:nth-child(2){
    color:#087c91 !important;
    -webkit-text-fill-color:#087c91 !important;
    font-size:15px !important;
    font-weight:900 !important;
}

/* التفاصيل */
body.coach-body .coach-table tbody td:last-child{
    color:#536f80 !important;
    -webkit-text-fill-color:#536f80 !important;
}

/* الهيدر */
body.coach-body .coach-table thead th{
    color:#315a72 !important;
    -webkit-text-fill-color:#315a72 !important;
    font-weight:900 !important;
}