Changed around line 1
+ :root {
+ --primary-color: #2c3e50;
+ --accent-color: #3498db;
+ --success-color: #2ecc71;
+ --danger-color: #e74c3c;
+ --background-color: #f9f9f9;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ direction: rtl;
+ }
+
+ body {
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
+ background-color: var(--background-color);
+ color: var(--primary-color);
+ line-height: 1.6;
+ }
+
+ header {
+ background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
+ color: white;
+ padding: 1.5rem;
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
+ }
+
+ h1 {
+ font-size: 1.8rem;
+ text-align: center;
+ }
+
+ main {
+ max-width: 1200px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+ }
+
+ .wallet-summary {
+ margin-bottom: 2rem;
+ }
+
+ .balance-card {
+ background: white;
+ border-radius: 15px;
+ padding: 2rem;
+ box-shadow: 0 4px 20px rgba(0,0,0,0.08);
+ text-align: center;
+ }
+
+ .balance {
+ font-size: 3rem;
+ font-weight: bold;
+ color: var(--primary-color);
+ margin: 1rem 0;
+ }
+
+ .growth-rate {
+ font-size: 1.2rem;
+ }
+
+ .positive {
+ color: var(--success-color);
+ }
+
+ .negative {
+ color: var(--danger-color);
+ }
+
+ .trades {
+ background: white;
+ border-radius: 15px;
+ padding: 2rem;
+ box-shadow: 0 4px 20px rgba(0,0,0,0.08);
+ }
+
+ .trade-item {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 1rem;
+ border-bottom: 1px solid #eee;
+ }
+
+ .trade-item:last-child {
+ border-bottom: none;
+ }
+
+ .trade-type {
+ padding: 0.3rem 0.8rem;
+ border-radius: 20px;
+ font-size: 0.9rem;
+ margin-left: 1rem;
+ }
+
+ .buy {
+ background: rgba(46, 204, 113, 0.1);
+ color: var(--success-color);
+ }
+
+ .sell {
+ background: rgba(231, 76, 60, 0.1);
+ color: var(--danger-color);
+ }
+
+ footer {
+ text-align: center;
+ padding: 2rem;
+ background: var(--primary-color);
+ color: white;
+ }
+
+ @media (max-width: 768px) {
+ .balance {
+ font-size: 2rem;
+ }
+
+ .trade-item {
+ flex-direction: column;
+ text-align: center;
+ }
+
+ .trade-amount {
+ margin-top: 0.5rem;
+ }
+ }