/* --- نفس التنسيقات السابقة (محذوفة للاختصار) --- */
/* سيتم تضمين جميع التنسيقات من الكود السابق */
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');
:root {
  --bg-base-dark: #060a0f; --bg-surface-dark: rgba(13, 22, 33, 0.6); --glass-border-dark: rgba(255, 255, 255, 0.08);
  --glass-highlight-dark: rgba(255, 255, 255, 0.1); --text-main-dark: #F8FAFC; --text-muted-dark: #94A3B8;
  --teal-glow-dark: rgba(0, 166, 147, 0.3); --gold-glow-dark: rgba(212, 175, 55, 0.2);
  --bg-base-light: #f1f5f9; --bg-surface-light: rgba(255, 255, 255, 0.7); --glass-border-light: rgba(0, 0, 0, 0.08);
  --glass-highlight-light: rgba(0, 0, 0, 0.05); --text-main-light: #0f172a; --text-muted-light: #64748b;
  --teal-glow-light: rgba(0, 166, 147, 0.15); --gold-glow-light: rgba(212, 175, 55, 0.15);
  --deep-teal: #002b24; --primary-teal: #00A693; --gold-premium: #D4AF37; --gold-light: #F9E596;
  --danger: #ef4444; --success: #10b981; --warning: #f59e0b; --info: #3b82f6;
--font-primary: 'Poppins', 'Almarai', sans-serif;
  --font-heading: 'Poppins', 'Almarai', sans-serif;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1); --transition-fast: 0.2s ease;
}
html[data-theme="dark"] {
  --bg-base: var(--bg-base-dark); --bg-surface: var(--bg-surface-dark); --glass-border: var(--glass-border-dark);
  --glass-highlight: var(--glass-highlight-dark); --text-main: var(--text-main-dark); --text-muted: var(--text-muted-dark);
  --bg-glow-1: var(--teal-glow-dark); --bg-glow-2: var(--gold-glow-dark); --chart-grid: rgba(255,255,255,0.05); --input-bg: rgba(0,0,0,0.3);
}
html[data-theme="light"] {
  --bg-base: var(--bg-base-light); --bg-surface: var(--bg-surface-light); --glass-border: var(--glass-border-light);
  --glass-highlight: var(--glass-highlight-light); --text-main: var(--text-main-light); --text-muted: var(--text-muted-light);
  --bg-glow-1: var(--teal-glow-light); --bg-glow-2: var(--gold-glow-light); --chart-grid: rgba(0,0,0,0.05); --input-bg: rgba(255,255,255,0.5);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: var(--font-primary); background-color: var(--bg-base); color: var(--text-main); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; transition: background-color 0.5s ease, color 0.5s ease; line-height: 1.6; }
.background-pattern { position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at 15% 20%, var(--bg-glow-1) 0%, transparent 40%), radial-gradient(circle at 85% 80%, var(--bg-glow-2) 0%, transparent 40%); filter: blur(80px); opacity: 0.8; animation: pulseGlow 15s infinite alternate; transition: background 0.5s ease; }
@keyframes pulseGlow { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.15); opacity: 1; } }
#landingPage { display: block; min-height: 100vh; }
.landing-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; background: var(--bg-surface); backdrop-filter: blur(24px); border-bottom: 1px solid var(--glass-border); }
.landing-logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
.landing-logo i { color: var(--gold-premium); }
.landing-content { max-width: 1200px; margin: 60px auto; padding: 0 20px; }
.hero-section { text-align: center; margin-bottom: 60px; }
.hero-section h1 { font-family: var(--font-heading); font-size: 3rem; color: var(--text-main); margin-bottom: 20px; font-weight: 800; }
.hero-section p { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 30px; }
.btn-primary { background: linear-gradient(135deg, var(--gold-premium), #b8860b); color: #000; border: none; padding: 16px 40px; border-radius: 14px; font-size: 1.2rem; font-weight: 800; cursor: pointer; transition: var(--transition-fast); font-family: inherit; box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(212, 175, 55, 0.4); }
.video-container { margin: 40px 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--glass-border); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin: 50px 0; }
.tip-card { background: var(--bg-surface); padding: 30px; border-radius: 20px; border: 1px solid var(--glass-border); backdrop-filter: blur(20px); transition: var(--transition-fast); }
.tip-card:hover { transform: translateY(-5px); border-color: var(--gold-premium); }
.tip-card i { font-size: 2rem; color: var(--gold-premium); margin-bottom: 15px; }
.tip-card h3 { color: var(--text-main); margin-bottom: 10px; font-weight: 800; }
.tip-card p { color: var(--text-muted); }
.landing-footer { background: var(--bg-surface); backdrop-filter: blur(24px); border-top: 1px solid var(--glass-border); padding: 40px 20px; text-align: center; color: var(--text-muted); }
.landing-footer a { color: var(--gold-premium); text-decoration: none; }
.modal { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.7); backdrop-filter: blur(10px); justify-content: center; align-items: center; }
.modal.active { display: flex; }
.modal-box { background: var(--bg-surface); padding: 40px; border-radius: 24px; border: 1px solid var(--glass-border); backdrop-filter: blur(24px); width: 90%; max-width: 400px; animation: floatUp 0.4s ease-out; }
@keyframes floatUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.modal-header h2 { color: var(--text-main); font-weight: 800; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; }
#appContainer { display: none; }
.modern-nav { position: fixed; top: 0; left: 0; width: 100%; background: var(--bg-surface); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--glass-border); z-index: 1000; transition: background 0.5s ease, border-color 0.5s ease; }
.nav-container { max-width: 1400px; margin: auto; display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; }
.nav-logo { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nav-menu { display: flex; gap: 8px; flex: 1; justify-content: center; }
.nav-actions { display: flex; gap: 15px; align-items: center; }
.nav-link { text-decoration: none; color: var(--text-muted); font-weight: 700; font-size: 1.05rem; padding: 10px 18px; border-radius: 12px; transition: all var(--transition-fast); cursor: pointer; border: 1px solid transparent; background: transparent; display: flex; align-items: center; gap: 8px; position: relative; overflow: hidden; }
.nav-link:hover { color: var(--text-main); background: var(--glass-highlight); }
.nav-link.active { color: var(--gold-premium); background: var(--glass-highlight); border-color: var(--glass-border); font-weight: 800; }
.user-profile-nav { display: flex; align-items: center; gap: 10px; }
.user-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-premium); }
.icon-btn { background: transparent; border: 1px solid var(--glass-border); color: var(--text-main); padding: 10px; border-radius: 50%; cursor: pointer; transition: var(--transition-fast); display: flex; justify-content: center; align-items: center; width: 42px; height: 42px; }
.icon-btn:hover { background: var(--glass-highlight); color: var(--gold-premium); transform: scale(1.05); }
.main-content { max-width: 1400px; margin: 120px auto 60px; padding: 0 20px; flex: 1; width: 100%; }
.tab-content { display: none; opacity: 0; transform: translateY(15px); transition: all 0.4s ease; }
.tab-content.active { display: block; opacity: 1; transform: translateY(0); animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.premium-card { background: var(--bg-surface); border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.1); border: 1px solid var(--glass-border); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: background 0.5s ease, border-color 0.5s ease; }
.form-container { padding: 40px; max-width: 600px; margin: 0 auto; }
.form-header { text-align: center; margin-bottom: 35px; }
.form-header h2 { font-family: var(--font-heading); color: var(--text-main); font-size: 1.8rem; margin-bottom: 10px; font-weight: 800; }
.form-header p { color: var(--text-muted); font-size: 1rem; font-weight: 500; }
.form-group { position: relative; margin-bottom: 28px; }
.form-control { width: 100%; padding: 18px 16px 14px; background: var(--input-bg); border: 1px solid var(--glass-border); border-radius: 14px; font-family: inherit; font-size: 1.15rem; color: var(--text-main); transition: var(--transition-fast); font-weight: 600; }
html[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.7; cursor: pointer; }
.form-control:focus { outline: none; border-color: var(--gold-premium); background: var(--bg-base); box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1); }
.form-control::placeholder { color: transparent; }
.form-label { position: absolute; top: 18px; color: var(--text-muted); transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); pointer-events: none; font-size: 1.05rem; font-weight: 600; }
.form-control:focus ~ .form-label, .form-control:not(:placeholder-shown) ~ .form-label { transform: translateY(-30px) scale(0.85); color: var(--gold-premium); background: var(--bg-surface); padding: 0 10px; border-radius: 6px; border: 1px solid var(--glass-border); font-weight: 700; }
.stepper-wrapper { display: flex; align-items: center; position: relative; background: var(--input-bg); border: 1px solid var(--glass-border); border-radius: 14px; transition: var(--transition-fast); }
.stepper-wrapper:focus-within { border-color: var(--gold-premium); background: var(--bg-base); box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1); }
.stepper-btn { background: transparent; border: none; color: var(--gold-premium); font-size: 1.4rem; font-weight: bold; padding: 15px 25px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; }
.stepper-btn:hover { background: rgba(212, 175, 55, 0.1); }
.stepper-btn:active { transform: scale(0.9); }
.stepper-input { flex: 1; border: none; background: transparent; text-align: center; font-size: 1.3rem; font-weight: 800; color: var(--text-main); outline: none; padding: 18px 10px 14px; font-family: inherit; -moz-appearance: textfield; }
.stepper-input::-webkit-outer-spin-button, .stepper-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-label { position: absolute; top: -14px; right: 20px; background: var(--bg-surface); padding: 2px 10px; font-size: 0.9rem; font-weight: 700; border-radius: 6px; border: 1px solid var(--glass-border); z-index: 2; transition: 0.3s; }
.live-preview-box { background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05)); border: 1px dashed var(--gold-premium); border-radius: 14px; padding: 20px; text-align: center; margin-bottom: 25px; display: flex; flex-direction: column; gap: 5px; transition: all var(--transition-fast); }
.live-preview-box span { color: var(--text-muted); font-size: 0.95rem; font-weight: 700; text-transform: uppercase; }
.live-preview-box h3 { color: var(--gold-premium); font-size: 2.2rem; font-family: var(--font-heading); margin: 0; font-weight: 800; }
.btn-submit { width: 100%; padding: 18px; background: linear-gradient(135deg, var(--gold-premium), #b8860b); color: #000; border: none; border-radius: 14px; font-size: 1.25rem; font-weight: 800; cursor: pointer; transition: var(--transition-fast); font-family: inherit; position: relative; overflow: hidden; box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); }
.btn-submit::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transition: 0.5s; }
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(212, 175, 55, 0.4); }
.btn-submit:hover::after { left: 100%; }
.btn-submit:active { transform: translateY(1px); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { position: relative; padding: 30px 25px; text-align: center; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary-teal), var(--gold-premium)); opacity: 0; transition: var(--transition-smooth); }
.stat-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.2); border-color: var(--gold-glow-dark); }
.stat-card:hover::before { opacity: 1; }
.stat-icon { font-size: 2.5rem; margin-bottom: 15px; }
.stat-title { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 700; }
.stat-value { font-size: 2.2rem; font-weight: 800; color: var(--text-main); font-family: var(--font-heading); letter-spacing: 1px; }
.stat-currency { font-size: 1rem; color: var(--text-muted); font-weight: 600; margin-inline-start: 5px; }
.charts-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); gap: 30px; }
.chart-wrapper { padding: 25px; height: 480px; position: relative; }
.chart-title { font-family: var(--font-heading); color: var(--text-main); font-size: 1.4rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font-weight: 800; }
.chart-title i { color: var(--gold-premium); }
.market-tabs { display: flex; gap: 10px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 5px; }
.market-tab { padding: 10px 20px; background: var(--bg-surface); border: 1px solid var(--glass-border); border-radius: 12px; color: var(--text-muted); cursor: pointer; font-weight: 700; white-space: nowrap; transition: var(--transition-fast); font-family: inherit; font-size: 1.05rem; }
.market-tab:hover { background: var(--glass-highlight); color: var(--text-main); }
.market-tab.active { background: linear-gradient(135deg, var(--gold-premium), #b8860b); color: #000; border-color: transparent; }
.tradingview-widget-wrapper { height: 650px; overflow: hidden; padding: 10px; }
.filter-bar { display: flex; gap: 15px; flex-wrap: wrap; background: var(--glass-highlight); padding: 20px; border-radius: 16px; margin-bottom: 25px; align-items: flex-end; border: 1px solid var(--glass-border); }
.filter-group { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 150px; }
.filter-group label { color: var(--text-muted); font-size: 1rem; font-weight: 700; }
.filter-group input, .filter-group select { padding: 12px; border-radius: 10px; border: 1px solid var(--glass-border); background: var(--bg-base); color: var(--text-main); font-family: inherit; font-weight: 600; font-size: 1.05rem; }
.filter-btn { padding: 12px 24px; background: var(--primary-teal); color: #fff; border: none; border-radius: 10px; font-weight: 800; font-size: 1.05rem; cursor: pointer; transition: 0.3s; display: flex; gap: 8px; align-items: center; justify-content: center; font-family: inherit; }
.filter-btn:hover { background: var(--deep-teal); }
.filter-btn-reset { background: transparent; border: 1px solid var(--glass-border); color: var(--text-main); }
.filter-btn-reset:hover { background: rgba(239, 68, 68, 0.1); color: var(--danger); border-color: rgba(239, 68, 68, 0.3); }
.table-container { padding: 30px; overflow-x: auto; }
.header-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; }
.header-actions h2 { font-family: var(--font-heading); color: var(--text-main); font-size: 1.7rem; margin: 0; font-weight: 800; }
.action-group { display: flex; gap: 10px; }
.btn-action { background: var(--bg-base); color: var(--text-main); padding: 12px 20px; border: 1px solid var(--glass-border); border-radius: 12px; cursor: pointer; font-family: inherit; transition: var(--transition-fast); display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 1.05rem; }
.btn-action:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-action.btn-export { background: linear-gradient(135deg, var(--primary-teal), var(--deep-teal)); border: none; color: #fff; }
.btn-action.btn-clear { background: rgba(239, 68, 68, 0.1); color: var(--danger); border-color: rgba(239, 68, 68, 0.2); }
.btn-action.btn-clear:hover { background: rgba(239, 68, 68, 0.2); }
table { width: 100%; border-collapse: separate; border-spacing: 0 8px; min-width: 900px; }
th { padding: 18px 15px; color: var(--text-muted); font-weight: 800; font-size: 1rem; text-transform: uppercase; border-bottom: 2px solid var(--glass-border); background: var(--glass-highlight); }
td { padding: 18px 15px; background: var(--bg-surface); color: var(--text-main); font-weight: 600; font-size: 1.05rem; transition: var(--transition-fast); border-top: 1px solid transparent; border-bottom: 1px solid transparent; }
tr:hover td { background: var(--glass-highlight); border-color: var(--glass-border); }
.net-profit-cell { font-weight: 800; color: var(--gold-premium); font-size: 1.2rem; }
.badge { padding: 6px 12px; border-radius: 20px; font-size: 0.9rem; font-weight: 800; display: inline-block; letter-spacing: 0.5px; }
.row-actions { display: flex; gap: 8px; justify-content: center; }
.btn-icon-small { background: transparent; border: none; padding: 10px; border-radius: 8px; cursor: pointer; transition: 0.2s; color: var(--text-muted); font-size: 1.1rem; }
.btn-icon-small.edit:hover { background: rgba(212, 175, 55, 0.1); color: var(--gold-premium); }
.btn-icon-small.delete:hover { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.admin-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media(min-width: 1024px) { .admin-grid { grid-template-columns: 1fr 1fr; } }
.admin-section { padding: 30px; background: var(--bg-surface); border: 1px solid var(--glass-border); border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.admin-section-title { font-family: var(--font-heading); color: var(--text-main); font-size: 1.6rem; margin-bottom: 25px; font-weight: 800; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--glass-border); padding-bottom: 15px; }
.admin-section-title i { color: var(--gold-premium); }
.partner-list { max-height: 400px; overflow-y: auto; }
.partner-item { display: flex; align-items: center; justify-content: space-between; padding: 15px; background: var(--glass-highlight); border-radius: 12px; margin-bottom: 10px; border: 1px solid var(--glass-border); }
.partner-info { display: flex; align-items: center; gap: 15px; }
.partner-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.partner-details { display: flex; flex-direction: column; }
.partner-name { font-weight: 800; color: var(--text-main); }
.partner-email { font-size: 0.85rem; color: var(--text-muted); }
.color-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--bg-surface); }
.video-list { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.video-item { display: flex; align-items: center; gap: 15px; padding: 15px; background: var(--glass-highlight); border-radius: 12px; border: 1px solid var(--glass-border); }
.video-item iframe { width: 120px; height: 68px; border-radius: 8px; }
.video-info { flex: 1; }
.video-title { font-weight: 700; color: var(--text-main); }
.telegram-container { text-align: center; padding: 60px 20px; }
.telegram-icon { font-size: 4rem; color: #0088cc; margin-bottom: 20px; }
.telegram-link { display: inline-block; padding: 20px 40px; background: linear-gradient(135deg, #0088cc, #006699); color: white; text-decoration: none; border-radius: 50px; font-size: 1.3rem; font-weight: 800; margin-top: 20px; transition: var(--transition-fast); }
.telegram-link:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3); }
.toast-container { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column-reverse; gap: 10px; pointer-events: none; }
.toast { background: var(--bg-surface); border: 1px solid var(--glass-border); color: var(--text-main); padding: 16px 24px; border-radius: 16px; box-shadow: 0 15px 35px rgba(0,0,0,0.3); display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 1.05rem; opacity: 0; transform: translateY(30px) scale(0.9); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); min-width: 320px; overflow: hidden; position: relative; }
.toast.show { opacity: 1; transform: translateY(0) scale(1); }
.toast-content { display: flex; align-items: center; gap: 12px; }
.toast i { font-size: 1.4rem; }
.toast.success { border-left: 5px solid var(--success); }
.toast.success i { color: var(--success); }
.toast.error { border-left: 5px solid var(--danger); }
.toast.error i { color: var(--danger); }
html[dir="rtl"] .toast.success { border-left: none; border-right: 5px solid var(--success); }
html[dir="rtl"] .toast.error { border-left: none; border-right: 5px solid var(--danger); }
.toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: rgba(255,255,255,0.2); width: 100%; }
.toast-progress-bar { height: 100%; background: var(--text-main); width: 100%; animation: progress shrink linear forwards; }
.toast.success .toast-progress-bar { background: var(--success); }
.toast.error .toast-progress-bar { background: var(--danger); }
@keyframes shrink { from { width: 100%; } to { width: 0%; } }
@media (max-width: 768px) {
  .nav-container { padding: 15px; }
  .nav-logo { font-size: 1.4rem; }
  .nav-menu { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--bg-surface); border-top: 1px solid var(--glass-border); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 10px 5px calc(10px + env(safe-area-inset-bottom)); justify-content: space-around; z-index: 1000; box-shadow: 0 -10px 30px rgba(0,0,0,0.1); }
  .nav-link { flex-direction: column; font-size: 0.75rem; padding: 10px 4px; gap: 6px; border-radius: 14px; width: 22%; text-align: center; font-weight: 600; }
  .nav-link i { font-size: 1.3rem; margin: 0; }
  .nav-link span.tab-text { display: block; white-space: nowrap; font-size: 0.75rem; }
  .nav-link.active { transform: translateY(-5px); box-shadow: 0 5px 15px var(--gold-glow-dark); }
  .main-content { margin-top: 100px; margin-bottom: 100px; padding: 0 15px; }
  .smart-greeting h1 { font-size: 1.8rem; }
  .charts-container { grid-template-columns: 1fr; }
  .chart-wrapper { height: 380px; padding: 15px; }
  .header-actions { flex-direction: column; gap: 15px; align-items: stretch; }
  .action-group { display: flex; flex-direction: column; gap: 10px; width: 100%; }
  .btn-action { justify-content: center; width: 100%; }
  .form-container, .table-container, .admin-section { padding: 25px 15px; }
  .tradingview-widget-wrapper { height: 500px; }
  .nav-actions span { display: none; }
  .toast-container { bottom: 100px; width: 90%; }
  table, thead, tbody, th, td, tr { display: block; }
  thead tr { position: absolute; top: -9999px; left: -9999px; }
  table { min-width: 100%; border-spacing: 0; }
  tr { border: 1px solid var(--glass-border); margin-bottom: 15px; border-radius: 16px; padding: 15px; background: var(--glass-highlight); position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
  td { position: relative; padding: 12px 15px; padding-inline-start: 50%; text-align: end; border: none; font-size: 1.05rem; font-weight: 700; border-bottom: 1px solid var(--glass-border); }
  td:last-child { border-bottom: none; }
  html[dir="rtl"] td { padding-inline-start: 50%; text-align: left; }
  td::before { content: attr(data-label); position: absolute; top: 12px; inset-inline-start: 15px; width: 45%; white-space: nowrap; font-weight: 800; color: var(--text-muted); text-align: start; }
  .row-actions { justify-content: flex-end; padding-top: 10px; }
}
