body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box}.App{background:linear-gradient(135deg,#667eea,#764ba2);font-family:Arial,sans-serif;min-height:100vh;text-align:center}.app-header{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;box-shadow:0 2px 20px #0000001a;display:flex;justify-content:space-between;padding:15px 30px;position:sticky;top:0;z-index:1000}.user-info{color:#333;font-weight:600}.user-role{background:#667eea;border-radius:20px;color:#fff;font-size:12px;font-weight:500;padding:4px 12px}.logout-btn{background:#dc3545;border:none;color:#fff;padding:10px 20px}.logout-btn:hover{background:#c82333;box-shadow:0 4px 12px #dc35454d;transform:translateY(-2px)}.app-container{align-items:center;display:flex;justify-content:center;min-height:100vh;padding:20px}.pending-approval{background:#fff;border-radius:15px;box-shadow:0 20px 40px #0000001a;max-width:500px;padding:40px;text-align:center}.pending-approval h2{color:#ffc107;font-size:28px;margin-bottom:20px}.pending-approval p{color:#666;line-height:1.6;margin-bottom:15px}.pending-approval button{background:#667eea;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:600;margin-top:20px;padding:12px 24px;transition:all .3s ease}.pending-approval button:hover{background:#5a6fd8;box-shadow:0 4px 12px #667eea4d;transform:translateY(-2px)}@media (max-width:768px){.app-header{flex-direction:column;gap:10px;padding:10px 20px}.user-info{flex-direction:column;gap:5px}.pending-approval{margin:10px;padding:30px 20px}.pending-approval h2{font-size:24px}}.login-page{align-items:center;background:linear-gradient(135deg,#1a1a2e,#16213e 50%,#0f3460);color:#fff;display:flex;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;justify-content:center;min-height:100vh;padding:40px 20px}.login-container{grid-gap:60px;align-items:center;display:grid;gap:60px;grid-template-columns:1fr 1fr;max-width:1200px;width:100%}.login-form-container{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;box-shadow:0 8px 32px #0000004d;padding:40px}.login-header{margin-bottom:30px;text-align:center}.login-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:32px;font-weight:700;margin-bottom:10px}.login-header p{margin:0}.login-header p,.tab-btn{color:#ffffffb3;font-size:16px}.tab-btn{background:none;border:none;font-weight:600;padding:12px 24px}.tab-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 15px #667eea4d}.tab-btn:hover:not(.active){background:#ffffff1a}.login-form{display:flex;flex-direction:column;gap:20px}.form-group input{border-radius:8px;font-size:16px;padding:14px 16px}.form-group input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-options{justify-content:space-between;margin:10px 0}.checkbox-label,.form-options{align-items:center;display:flex}.checkbox-label{color:#fffc;cursor:pointer;font-size:14px;gap:8px}.checkbox-label input[type=checkbox]{accent-color:#667eea;height:16px;width:16px}.forgot-password{color:#667eea;font-size:14px;text-decoration:none;transition:color .3s ease}.forgot-password:hover{color:#764ba2}.submit-btn{margin-top:10px;padding:16px 24px}.social-login{border-top:1px solid #ffffff1a;margin-top:30px;padding-top:30px;text-align:center}.social-login p{color:#ffffffb3;font-size:14px;margin-bottom:20px}.social-buttons{display:flex;gap:12px;justify-content:center}.social-btn{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:12px 20px;transition:all .3s ease}.social-btn:hover{background:#fff3;transform:translateY(-1px)}.social-btn span{font-size:16px;font-weight:700}.welcome-section{text-align:center}.welcome-section h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:32px;font-weight:700;margin-bottom:30px}.user-info{flex-direction:column;gap:20px;margin-bottom:30px}.user-avatar{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;display:flex;font-size:32px;font-weight:700;height:80px;justify-content:center;width:80px}.user-details h3{font-size:24px;margin-bottom:8px}.user-details p{color:#ffffffb3;margin:4px 0}.account-stats{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(3,1fr);margin-bottom:30px}.stat-item{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;padding:20px}.stat-label{display:block;font-size:12px;letter-spacing:.5px;text-transform:uppercase}.stat-value{display:block;font-size:20px}.logout-btn{border-radius:8px;padding:12px 24px}.login-features{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;padding:40px}.login-features h3{color:#ffa726;font-size:24px;font-weight:700;margin-bottom:30px;text-align:center}.features-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(2,1fr)}.feature-item{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;padding:20px;text-align:center;transition:all .3s ease}.feature-item:hover{background:#ffffff14;transform:translateY(-2px)}.feature-icon{font-size:32px;margin-bottom:15px}.feature-item h4{color:#fff;font-size:18px;font-weight:600;margin-bottom:10px}.feature-item p{color:#ffffffb3;font-size:14px;line-height:1.5}@media (max-width:768px){.login-container{gap:40px;grid-template-columns:1fr;padding:20px}.login-features,.login-form-container{padding:30px 20px}.account-stats,.features-grid{grid-template-columns:1fr}.social-buttons{flex-direction:column}}.dashboard{display:flex;flex-direction:column;height:100vh;margin:0 auto;max-width:1400px;overflow:hidden;padding:20px}.dashboard-nav{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:20px;padding:8px}.nav-btn{align-items:center;background:none;border:none;border-radius:8px;color:#ffffffb3;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:12px 20px;transition:all .3s ease;white-space:nowrap}.nav-btn:hover{background:#ffffff1a;color:#fff}.nav-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 15px #667eea4d;color:#fff}.dashboard-content{flex:1 1;overflow-y:auto}.dashboard-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 4px 15px #0000001a;color:#fff;display:flex;flex-shrink:0;justify-content:space-between;margin-bottom:20px;padding:20px}.dashboard-title{font-size:2rem;font-weight:700;margin:0}.dashboard-status{align-items:center;display:flex;gap:15px}.banner-menu{background:#fff;border:1px solid #e0e0e0;border-radius:12px;box-shadow:0 4px 15px #0000001a;display:flex;flex-shrink:0;margin-bottom:20px;padding:8px}.menu-item{background:#0000;border:none;border-radius:8px;color:#666;cursor:pointer;flex:1 1;font-size:1rem;font-weight:600;margin:0 4px;padding:12px 20px;transition:all .3s ease}.menu-item:hover{background:#f8f9fa;color:#333}.menu-item.active{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 8px #667eea4d;color:#fff}.page-content{flex:1 1;overflow-y:auto;padding:0}.overview-grid{height:100%}.overview-grid,.trading-layout{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr}.trading-layout{height:calc(100vh - 200px);min-height:600px}.trading-left,.trading-right{background:#1a1a2e;border-radius:12px;height:100%;overflow-y:auto;padding:20px}.trading-page{display:flex;flex-direction:column;gap:20px}.trading-page .bot-controls{order:-1}.page-content .crypto-analysis{height:100%;overflow-y:auto}.control-panel,.page-content .crypto-analysis{background:#fff;border:1px solid #e0e0e0;border-radius:12px;box-shadow:0 4px 15px #0000001a;padding:20px}.control-panel h3{border-bottom:2px solid #667eea;color:#333;margin-top:0;padding-bottom:10px}.stats-panel{background:#fff;border:1px solid #e0e0e0;border-radius:12px;box-shadow:0 4px 15px #0000001a;padding:20px}.stats-grid{grid-gap:15px;gap:15px;grid-template-columns:repeat(3,1fr);margin-top:15px}.stat-item{background:#f8f9fa;border-left:4px solid #667eea;border-radius:8px;padding:15px;text-align:center}.stat-value{color:#333;font-size:1.5rem;margin:0}.stat-label{color:#666;font-size:.9rem;margin:5px 0 0}.log-viewer{background:#1a1a1a;border:1px solid #333;border-radius:12px;color:#0f0;font-family:Courier New,monospace;font-size:.9rem;height:100%;overflow-y:auto;padding:20px}.log-viewer h3{border-bottom:1px solid #333;color:#0f0;margin-top:0;padding-bottom:10px}.log-entry{margin-bottom:5px;padding:2px 0}.log-entry.error{color:#f44}.log-entry.success{color:#4f4}.log-entry.warning{color:#ff4}.btn{border:none;border-radius:6px;cursor:pointer;font-size:1rem;margin:5px;padding:10px 20px;transition:all .2s}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover{background:#5a67d8;transform:translateY(-1px)}.btn-success{background:#28a745;color:#fff}.btn-success:hover{background:#218838}.btn-danger{background:#dc3545;color:#fff}.btn-danger:hover{background:#c82333}.btn-warning{background:#ffc107;color:#212529}.btn-warning:hover{background:#e0a800}.status-indicator{border-radius:6px;font-size:.9rem;font-weight:700;padding:6px 12px}.status-indicator.running{background:#28a745;color:#fff}.status-indicator.stopped{background:#dc3545;color:#fff}.mode-indicator{border-radius:6px;font-size:.9rem;font-weight:700;padding:6px 12px}.mode-indicator.simulation{background:#ffc107;color:#212529}.mode-indicator.real{background:#28a745;color:#fff}.stats-header{align-items:center;border-bottom:2px solid #667eea;display:flex;justify-content:space-between;margin-bottom:15px;padding-bottom:10px}.stats-header h3{color:#333;font-size:1.2rem;margin:0}.stats-controls{align-items:center;display:flex;gap:10px}.refresh-btn{background:linear-gradient(135deg,#2196f3,#1976d2);border:none;border-radius:6px;box-shadow:0 2px 4px #2196f333;color:#fff;cursor:pointer;font-size:12px;font-weight:600;padding:8px 16px;transition:all .3s ease}.refresh-btn:hover{background:linear-gradient(135deg,#1976d2,#1565c0);box-shadow:0 4px 8px #2196f34d;transform:translateY(-1px)}.test-stats-btn{background:linear-gradient(135deg,#ff9800,#f57c00);border:none;border-radius:6px;box-shadow:0 2px 4px #ff980033;color:#fff;cursor:pointer;font-size:12px;font-weight:600;padding:8px 16px;transition:all .3s ease}.test-stats-btn:hover{background:linear-gradient(135deg,#f57c00,#ef6c00);box-shadow:0 4px 8px #ff98004d;transform:translateY(-1px)}.bot-controls-simple{background:#f8f9fa;border-left:4px solid #667eea;border-radius:8px;margin-top:20px;padding:15px}.control-status{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:15px}.status-badge{border-radius:20px;padding:6px 12px}.status-badge.running{background:#d4edda;color:#155724}.status-badge.simulation{background:#fff3cd;color:#856404}.control-buttons-simple{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:15px}.control-buttons-simple .btn{flex:1 1;font-size:14px;font-weight:600;min-width:120px;padding:10px 15px}.api-info{background:#e9ecef;border-radius:6px;font-size:12px;padding:10px}.api-info p{color:#495057;margin:5px 0}.api-info strong{color:#333}@media (max-width:768px){.dashboard{padding:10px}.dashboard-header{gap:10px;text-align:center}.banner-menu,.dashboard-header{flex-direction:column}.menu-item{margin:2px 0}.overview-grid,.trading-layout{gap:15px;grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}::-webkit-scrollbar-thumb{background:#667eea;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#5a67d8}.loading{align-items:center;color:#666;display:flex;justify-content:center;padding:40px}.loading:after{animation:spin 1s linear infinite;border:2px solid #667eea;border-radius:50%;border-top-color:#0000;content:"";height:20px;margin-left:10px;width:20px}.trade-history-section{background:#1a1a1a;border-radius:12px;box-shadow:0 4px 6px #0000001a;margin:20px 0;padding:20px}.trade-history-section h3{color:#fff;font-size:1.2em;margin-bottom:15px}.trade-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.filter-btn{background:#333;border:1px solid #555;border-radius:6px;color:#fff;cursor:pointer;font-size:.9em;padding:8px 16px;transition:all .3s ease}.filter-btn:hover{background:#444;border-color:#666}.filter-btn.active{background:#007bff;border-color:#007bff}.trade-list{max-height:400px;overflow-y:auto}.trade-item{background:#2a2a2a;border:1px solid #444;border-radius:8px;margin-bottom:10px}.trade-item:hover{border-color:#666}.trade-header{margin-bottom:10px}.trade-type{font-size:1.1em}.trade-status,.trade-type{color:#fff;font-weight:700}.trade-status{background:#28a745;border-radius:4px;font-size:.8em;padding:4px 8px}.trade-details{color:#ccc;font-size:.9em}.trade-details p{margin:5px 0}.trade-time{color:#888;font-size:.8em;font-style:italic;margin-top:10px}.no-trades{color:#888;padding:40px 20px}.no-trades p{margin:10px 0}.trading-alerts-section h3{color:#fff;font-size:1.2em;margin-bottom:15px}@media (max-width:1200px){.trading-layout{grid-template-columns:1fr;height:auto}.trading-left,.trading-right{min-height:400px}}.top-navigation{margin-bottom:20px}.main-tabs{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px}.main-tab{border-radius:8px;font-weight:600;padding:12px 24px}.main-tab:hover{background:#ffffff1a;color:#fff}.sub-navigation{flex-wrap:wrap;gap:10px}.sub-tab{border-radius:8px;color:#ffffffb3;font-size:14px;padding:10px 16px;white-space:nowrap}.sub-tab:hover{background:#ffffff1a;color:#fff}.sub-tab.active{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 15px #667eea4d;color:#fff}.simulation-banner{background:linear-gradient(135deg,#ff9800,#f57c00);border-radius:8px;box-shadow:0 4px 15px #ff98004d;margin-bottom:20px;padding:12px 20px}.mode-indicator-banner{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;box-shadow:0 8px 32px #0000004d;margin-bottom:30px;padding:25px}.mode-info{gap:30px;justify-content:space-between}.mode-header,.mode-info{align-items:center;display:flex}.mode-header{gap:20px}.mode-icon{flex-shrink:0;font-size:48px}.mode-text-section{display:flex;flex-direction:column;gap:8px}.mode-text{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#fff;font-size:24px;font-weight:700}.mode-description{color:#fffc;font-size:16px;line-height:1.4}.mode-switcher{background:#ffffff1a;border-radius:12px;display:flex;gap:10px;padding:6px}.mode-switch-btn{background:none;border:none;border-radius:8px;color:#ffffffb3;cursor:pointer;font-size:16px;font-weight:600;padding:12px 24px;transition:all .3s ease;white-space:nowrap}.mode-switch-btn:hover{background:#ffffff1a;color:#fff}.mode-switch-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 15px #667eea4d;color:#fff}.overview-page{background:linear-gradient(135deg,#1a1a2e,#16213e 50%,#0f3460);color:#fff;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin:0;min-height:100vh;padding:0}.overview-main-content{grid-gap:30px;display:grid;gap:30px;grid-template-columns:350px 1fr;margin:0 auto;max-width:1400px;padding:0 20px}.overview-left-sidebar,.overview-right-main{display:flex;flex-direction:column;gap:25px}.instructions-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;padding:20px}.instructions-section h3{align-items:center;color:#ffa726;display:flex;font-size:18px;font-weight:600;gap:8px;margin:0 0 20px}.instruction-steps{display:flex;flex-direction:column;gap:15px}.step{background:#ffffff14;border:1px solid #ffffff26;border-radius:8px;gap:15px;padding:12px}.step,.step-number{align-items:center;display:flex}.step-number{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;flex-shrink:0;font-size:14px;font-weight:600;height:30px;justify-content:center;width:30px}.step-text{color:#ffffffe6;font-size:14px;line-height:1.4}.wallet-connection-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;padding:20px}.wallet-connection-section h3{align-items:center;color:#ffa726;display:flex;font-size:18px;font-weight:600;gap:8px;margin:0 0 20px}.wallet-status{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.wallet-info{align-items:center;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;padding:8px 0}.wallet-label{color:#ffffffb3;font-size:14px}.wallet-status-indicator{border-radius:12px;font-size:14px;font-weight:600;padding:4px 8px}.wallet-status-indicator.connected{background:#4caf5033;border:1px solid #4caf50;color:#4caf50}.wallet-status-indicator.disconnected{background:#f4433633;border:1px solid #f44336;color:#f44336}.wallet-balance{color:#4caf50;font-size:16px;font-weight:600}.wallet-network{color:#fffc;font-size:14px}.connect-wallet-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;transition:all .3s ease;width:100%}.connect-wallet-btn:hover{box-shadow:0 6px 20px #667eea66;transform:translateY(-2px)}.bot-controls-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;padding:20px}.bot-controls-section h3{align-items:center;color:#ffa726;display:flex;font-size:18px;font-weight:600;gap:8px;margin:0 0 20px}.control-buttons{display:flex;flex-direction:column;gap:12px}.control-btn{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;padding:12px 20px;transition:all .3s ease}.control-btn.start{background:#4caf50;color:#fff}.control-btn.stop{background:#f44336;color:#fff}.control-btn.mode-toggle{background:#ffffff1a;border:1px solid #fff3;color:#fff}.control-btn:hover{box-shadow:0 4px 15px #0003;transform:translateY(-2px)}.performance-stats-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;padding:25px}.performance-stats-section h3{align-items:center;color:#ffa726;display:flex;font-size:20px;font-weight:600;gap:8px;margin:0 0 20px}.recent-activity-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;padding:25px}.recent-activity-section h3{align-items:center;color:#ffa726;display:flex;font-size:20px;font-weight:600;gap:8px;margin:0 0 20px}.activity-list{display:flex;flex-direction:column;gap:15px}.activity-item{align-items:center;background:#ffffff14;border:1px solid #ffffff26;border-radius:8px;display:flex;gap:15px;padding:15px;transition:all .3s ease}.activity-item:hover{background:#ffffff1f;transform:translateX(5px)}.activity-icon{flex-shrink:0;font-size:24px}.activity-content{flex:1 1}.activity-title{color:#fff;font-size:16px;font-weight:600;margin-bottom:4px}.activity-details{color:#fffc;font-size:14px;margin-bottom:4px}.activity-time{color:#fff9;font-size:12px}.activity-status{border-radius:12px;font-size:12px;font-weight:600;padding:4px 8px;text-transform:uppercase}.activity-status.active{background:#4caf5033;border:1px solid #4caf50;color:#4caf50}.activity-status.closed{background:#9e9e9e33;border:1px solid #9e9e9e;color:#9e9e9e}.no-activity{color:#fff9;font-style:italic;padding:40px 20px;text-align:center}@media (max-width:768px){.mode-info{flex-direction:column;gap:20px;text-align:center}.mode-header{flex-direction:column;gap:15px}.mode-switcher{justify-content:center}}.backend-status-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;margin-bottom:20px;padding:20px}.backend-status-section h3{color:#fff;font-size:16px;font-weight:600;margin:0 0 15px}.backend-status{display:flex;flex-direction:column;gap:10px;margin-bottom:15px}.backend-info{align-items:center;display:flex;justify-content:space-between}.backend-label{color:#ffffffb3;font-size:14px}.backend-status-indicator{border-radius:20px;font-size:12px;font-weight:600;padding:4px 12px;text-transform:uppercase}.backend-status-indicator.connected{background:#4caf5033;border:1px solid #4caf50;color:#4caf50}.backend-status-indicator.disconnected{background:#f4433633;border:1px solid #f44336;color:#f44336}.backend-analysis-count,.backend-analysis-time{color:#fff;font-weight:500}.backend-activity{border-top:1px solid #ffffff1a;padding-top:15px}.activity-indicator{align-items:center;display:flex;gap:10px}.pulse-dot{animation:pulse 2s infinite;border-radius:50%;height:8px;width:8px}.pulse-dot.active{background:#4caf50}.pulse-dot.inactive{background:#f44336}.activity-text{color:#fffc;font-size:14px}.environment-switch-popup{align-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000c;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:9999}.popup-content{background:linear-gradient(135deg,#1e3c72,#2a5298);border:1px solid #fff3;border-radius:20px;box-shadow:0 20px 40px #0000004d;max-width:400px;padding:40px;text-align:center;width:90%}.loading-spinner{border:4px solid #fff3;height:60px;margin:0 auto 20px;width:60px}.popup-content h3{color:#fff;font-size:24px;font-weight:600;margin:0 0 10px}.popup-content p{color:#fffc;font-size:16px;margin:0 0 20px}.loading-dots{display:flex;gap:8px;justify-content:center}.loading-dots span{animation:bounce 1.4s ease-in-out infinite both;background:#4caf50;border-radius:50%;height:8px;width:8px}.loading-dots span:first-child{animation-delay:-.32s}.loading-dots span:nth-child(2){animation-delay:-.16s}@keyframes bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.progress-bar{background:#fff3;border-radius:2px;height:4px;margin-top:20px}.progress-fill{animation:progressFill 1s ease-in-out infinite;background:linear-gradient(90deg,#4caf50,#8bc34a);border-radius:2px}@keyframes progressFill{0%{width:0}50%{width:70%}to{width:100%}}.mode-switch-btn:disabled{cursor:not-allowed;opacity:.5;transform:none!important}@media (max-width:1200px){.overview-main-content{grid-template-columns:1fr}.overview-left-sidebar{order:2}.overview-right-main{order:1}}@media (max-width:768px){.overview-page{padding:10px}.overview-main-content{gap:20px;padding:0 10px}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.activity-item,.stat-card{flex-direction:column;text-align:center}}.contract-trading-dashboard{background:linear-gradient(135deg,#1a1a2e,#16213e 50%,#0f3460);color:#fff;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin:0;min-height:100vh;padding:0}.top-navigation{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0003;display:flex;justify-content:center;padding:20px 0}.main-tabs{background:#ffffff1a;border:1px solid #fff3;border-radius:25px;display:flex;gap:0;padding:4px}.main-tab{background:none;border:none;border-radius:20px;color:#ffffffb3;cursor:pointer;font-size:16px;font-weight:500;padding:12px 30px;position:relative;transition:all .3s ease}.main-tab.active{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 15px #667eea4d;color:#fff}.main-tab:hover:not(.active){background:#ffffff1a;color:#fff}.sub-navigation{display:flex;gap:0;justify-content:center;margin-bottom:30px;padding:0 20px}.sub-tab{align-items:center;background:none;border:none;color:#fff9;cursor:pointer;display:flex;font-size:16px;font-weight:500;gap:8px;padding:12px 24px;position:relative;transition:all .3s ease}.sub-tab.active{background:#667eea1a;border-radius:8px;color:#667eea}.sub-tab:hover:not(.active){color:#fff}.simulation-banner{align-items:center;background:linear-gradient(135deg,#ff6b6b,#ee5a24);border-radius:12px;box-shadow:0 4px 15px #ff6b6b4d;color:#fff;display:flex;font-size:16px;font-weight:600;gap:10px;justify-content:center;margin:0 20px 30px;padding:15px;text-align:center}.main-content-three-column{grid-gap:25px;display:grid;gap:25px;grid-template-columns:300px 1fr 350px;margin:0 auto;max-width:1600px;padding:0 20px}.left-column-alerts,.middle-column-trading{display:flex;flex-direction:column;gap:25px}.middle-column-trading{min-width:0}.right-column-trades{display:flex;flex-direction:column;gap:25px;overflow:visible;z-index:1}.trade-alerts{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;padding:20px}.trade-alerts h3{align-items:center;color:#ffa726;display:flex;font-size:18px;font-weight:600;gap:8px;margin:0 0 20px}.alerts-container{display:flex;flex-direction:column;gap:15px}.alert-card{background:#ffffff14;border:1px solid #ffffff26;border-radius:12px;padding:15px;transition:all .3s ease}.alert-card.urgent{background:#ff6b6b1a;border-color:#ff6b6b}.alert-card.high{background:#ffa7261a;border-color:#ffa726}.alert-card.medium{background:#ffeb3b1a;border-color:#ffeb3b}.alert-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.alert-pair{color:#fff;font-size:16px;font-weight:600}.alert-urgency{border-radius:12px;font-size:12px;font-weight:600;padding:4px 8px;text-transform:uppercase}.alert-urgency.urgent{background:#ff6b6b;color:#fff}.alert-urgency.high{background:#ffa726;color:#fff}.alert-urgency.medium{background:#ffeb3b;color:#333}.alert-content{margin-bottom:15px}.alert-signal{align-items:center;display:flex;gap:10px;margin-bottom:8px}.signal-indicator{border-radius:20px;font-size:14px;font-weight:600;padding:6px 12px}.signal-indicator.buy{background:#4caf50;color:#fff}.signal-indicator.sell{background:#f44336;color:#fff}.alert-price{color:#ffa726;font-size:16px;font-weight:600}.alert-reasoning{color:#fffc;font-size:14px;margin-bottom:5px}.alert-time{color:#fff9;font-size:12px}.alert-actions{display:flex;gap:8px}.alert-btn{border:none;border-radius:6px;cursor:pointer;font-size:12px;font-weight:600;padding:8px 16px;transition:all .3s ease}.alert-btn.execute{background:#4caf50;color:#fff}.alert-btn.execute:hover{background:#45a049}.alert-btn.ignore{background:#ffffff1a;border:1px solid #fff3;color:#fff}.alert-btn.ignore:hover{background:#fff3}.active-trades-control{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;padding:20px}.active-trades-control h3{align-items:center;color:#ffa726;display:flex;font-size:18px;font-weight:600;gap:8px;margin:0 0 10px}.price-update-indicator{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:6px;display:flex;justify-content:space-between;margin-bottom:15px;padding:8px 12px}.update-label{color:#ffffffb3;font-size:12px}.update-time{color:#4caf50;font-size:12px;font-weight:600}.trades-list{display:flex;flex-direction:column;gap:15px}.trade-item,.trades-list{overflow:visible;position:relative;z-index:1}.trade-item{background:#ffffff14;border:1px solid #ffffff26;border-radius:12px;padding:15px;transition:all .3s ease}.trade-item:hover{background:#ffffff1f;transform:translateY(-2px);z-index:10}.trade-header{justify-content:space-between;margin-bottom:12px}.trade-header,.trade-pair{align-items:center;display:flex}.trade-pair{color:#fff;font-size:16px;font-weight:600;gap:8px}.trade-type{border-radius:12px;font-size:10px;font-weight:600;padding:2px 8px;text-transform:uppercase}.trade-type.manual{background:#2196f3;color:#fff}.trade-type.automatic{background:#4caf50;color:#fff}.trade-type.alert{background:#ff9800;color:#fff}.close-trade-btn{align-items:center;background:#f44336;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:16px;height:30px;justify-content:center;transition:all .3s ease;width:30px}.close-trade-btn:hover{background:#d32f2f;transform:scale(1.1)}.trade-details{display:flex;flex-direction:column;gap:8px}.trade-info,.trade-prices{color:#fffc;display:flex;font-size:14px;gap:15px}.trade-leverage-control{align-items:center;display:flex;gap:10px;margin:8px 0;position:relative}.trade-leverage-control label{color:#fffc;font-size:14px;white-space:nowrap}.trade-leverage-control select{background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;min-width:80px;padding:6px 10px;position:relative;transition:all .3s ease;z-index:10}.trade-leverage-control select:hover{background:#ffffff26;border-color:#667eea}.trade-leverage-control select:focus{background:#fff3;border-color:#667eea;box-shadow:0 0 0 2px #667eea33;outline:none}.trade-leverage-control select option{background:#1a1a2e;color:#fff;font-size:14px;padding:8px}.trade-item:hover .trade-leverage-control select,.trade-leverage-control select:focus{z-index:1000}.trade-pnl{border-radius:6px;font-size:14px;font-weight:600;padding:4px 8px;text-align:center}.trade-pnl.positive{background:#4caf5033;border:1px solid #4caf50;color:#4caf50}.trade-pnl.negative{background:#f4433633;border:1px solid #f44336;color:#f44336}.trade-actions{display:flex;gap:8px;margin-top:10px}.close-trade-btn-small{background:#f44336;border:none;border-radius:6px;color:#fff;cursor:pointer;flex:1 1;font-size:12px;font-weight:600;padding:8px 16px;transition:all .3s ease}.close-trade-btn-small:hover{background:#d32f2f;transform:translateY(-1px)}.right-main{display:flex;flex-direction:column;gap:25px}.statistics-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;padding:25px}.statistics-section h3{align-items:center;color:#ffa726;display:flex;font-size:20px;font-weight:600;gap:8px;margin:0 0 20px}.balance-box{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 4px 15px #667eea4d;color:#fff;margin-bottom:25px;padding:20px}.balance-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:15px}.balance-label{color:#ffffffe6;font-size:16px;font-weight:600}.balance-status{background:#4caf5033;border:1px solid #4caf50;border-radius:12px;color:#4caf50;font-size:12px;font-weight:600;padding:4px 12px}.balance-amount{color:#fff;font-size:32px;font-weight:700;margin-bottom:15px;text-align:center}.balance-details{display:flex;gap:20px;justify-content:space-between}.balance-item{align-items:center;display:flex;flex:1 1;flex-direction:column;gap:4px}.balance-item span:first-child{color:#ffffffb3;font-size:12px;font-weight:500}.balance-item span:last-child{color:#fff;font-size:16px;font-weight:600}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.stat-label{margin-bottom:8px}.manual-trading-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;padding:25px}.manual-trading-section h3{align-items:center;color:#ffa726;display:flex;font-size:20px;font-weight:600;gap:8px;margin:0 0 20px}.manual-trade-form{display:flex;flex-direction:column;gap:20px}.form-row{grid-template-columns:1fr 1fr}.form-group select option{background:#1a1a2e}.action-buttons{display:flex;gap:10px}.action-btn{border:2px solid #0000;border-radius:8px;cursor:pointer;flex:1 1;font-size:14px;font-weight:600;padding:12px 24px;transition:all .3s ease}.action-btn.buy,.action-btn.buy.active{background:#4caf50;color:#fff}.action-btn.buy.active{border-color:#4caf50;box-shadow:0 0 15px #4caf5080;transform:scale(1.05)}.action-btn.sell,.action-btn.sell.active{background:#f44336;color:#fff}.action-btn.sell.active{border-color:#f44336;box-shadow:0 0 15px #f4433680;transform:scale(1.05)}.action-btn:hover{box-shadow:0 4px 15px #0003;transform:translateY(-2px)}.execute-trade-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;margin-top:10px;padding:15px 30px;transition:all .3s ease}.execute-trade-btn:hover{box-shadow:0 6px 20px #667eea66;transform:translateY(-2px)}.automated-trading-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;padding:25px}.automated-trading-section h3{align-items:center;color:#ffa726;display:flex;font-size:20px;font-weight:600;gap:8px;margin:0 0 20px}.automated-config{display:flex;flex-direction:column;gap:20px}.config-row{grid-gap:20px;align-items:center;display:grid;gap:20px;grid-template-columns:1fr 1fr}.config-row:first-child{grid-template-columns:1fr}.config-row label{align-items:center;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:500;gap:10px}.config-row input[type=checkbox]{accent-color:#667eea;height:20px;width:20px}.automated-status{background:#ffffff14;border:1px solid #ffffff26;border-radius:8px;display:flex;flex-direction:column;gap:8px;padding:15px}.status-indicator{font-size:16px;font-weight:600}.status-indicator.enabled{color:#4caf50}.status-indicator.disabled{color:#f44336}.status-note{color:#ffffffb3;font-size:14px}@media (max-width:1400px){.main-content-three-column{gap:20px;grid-template-columns:280px 1fr 320px}}@media (max-width:1200px){.main-content-three-column{gap:25px;grid-template-columns:1fr}.left-column-alerts{order:1}.middle-column-trading{order:2}.right-column-trades{order:3}}@media (max-width:768px){.contract-trading-dashboard{padding:10px}.main-content-three-column{gap:20px;padding:0 10px}.config-row,.form-row{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.simulation-banner{font-size:14px;margin:0 10px 20px}}.price-info{align-items:center;display:flex;margin-left:15px}.price-label{color:#ffffffb3;font-size:12px;font-weight:500}.arbitrage-page{background:linear-gradient(135deg,#1a1a2e,#16213e 50%,#0f3460);color:#fff;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh;padding:20px}.arbitrage-header{margin-bottom:40px;text-align:center}.arbitrage-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:36px;font-weight:700;margin-bottom:10px}.arbitrage-header p{color:#ffffffb3;font-size:18px;margin:0}.control-panel{grid-gap:30px;align-items:end;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;display:grid;gap:30px;grid-template-columns:1fr 1fr 1fr;margin-bottom:30px;padding:30px}.control-section h3{align-items:center;color:#ffa726;display:flex;font-size:18px;font-weight:600;gap:8px;margin-bottom:15px}.exchange-grid{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(2,1fr)}.exchange-checkbox{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;cursor:pointer;display:flex;font-size:14px;gap:8px;padding:8px 12px;transition:all .3s ease}.exchange-checkbox:hover{background:#ffffff1a}.exchange-checkbox input[type=checkbox]{accent-color:#667eea}.parameter-grid{gap:15px}.parameter-grid,.parameter-item{display:flex;flex-direction:column}.parameter-item{gap:8px}.parameter-item label{color:#ffffffe6;font-size:14px;font-weight:500}.parameter-item input{background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#fff;font-size:14px;padding:10px 12px}.parameter-item input:focus{background:#ffffff26;border-color:#667eea;outline:none}.scan-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:14px 28px;transition:all .3s ease;width:100%}.scan-btn:hover:not(:disabled){box-shadow:0 8px 25px #667eea66;transform:translateY(-2px)}.scan-btn:disabled{cursor:not-allowed;opacity:.7}.scan-btn.scanning{background:linear-gradient(135deg,#ff9800,#f57c00)}.scan-progress{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;margin-bottom:30px;padding:20px;text-align:center}.progress-bar{background:#ffffff1a;border-radius:4px;height:8px;margin-bottom:15px;overflow:hidden;width:100%}.progress-fill{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:4px;height:100%;transition:width .3s ease}.scan-progress p{color:#ffffffb3;margin:0}.opportunities-section{margin-bottom:30px}.opportunities-section h3{align-items:center;color:#ffa726;display:flex;font-size:24px;font-weight:600;gap:8px;margin-bottom:20px}.no-opportunities{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;padding:60px 20px;text-align:center}.no-opportunities-icon{font-size:48px;margin-bottom:20px}.no-opportunities p{color:#ffffffb3;margin:8px 0}.opportunities-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}.opportunity-card{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;padding:20px;transition:all .3s ease}.opportunity-card:hover{background:#ffffff14;transform:translateY(-2px)}.opportunity-card.active{border-color:#4caf50}.opportunity-card.executing{border-color:#ff9800}.opportunity-card.completed{border-color:#2196f3}.opportunity-header{justify-content:space-between;margin-bottom:15px}.opportunity-header,.pair-info{align-items:center;display:flex}.pair-info{gap:12px}.pair-info h4{font-size:18px;font-weight:600;margin:0}.profit-badge{background:#4caf50;border-radius:12px;color:#fff;font-size:12px;font-weight:600;padding:4px 8px}.status-indicator{font-size:20px}.opportunity-details{margin-bottom:20px}.price-comparison{align-items:center;background:#ffffff0d;border-radius:8px;display:flex;gap:15px;margin-bottom:15px;padding:15px}.price-item{align-items:center;flex:1 1}.price-item .exchange{color:#ffffffb3;font-size:12px;letter-spacing:.5px;text-transform:uppercase}.price-item .price{color:#fff;font-size:16px;font-weight:600}.price-item .label{color:#ffffff80;font-size:10px}.price-item.buy .price{color:#4caf50}.price-item.sell .price{color:#f44336}.arrow{color:#ffa726;font-size:20px;font-weight:700}.profit-info{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(3,1fr)}.profit-item{display:flex;flex-direction:column;gap:4px;text-align:center}.profit-item .label{color:#ffffffb3;font-size:12px;letter-spacing:.5px;text-transform:uppercase}.profit-item .value{color:#fff;font-size:14px;font-weight:600}.profit-item .value.profit{color:#4caf50}.opportunity-actions{display:flex;gap:10px}.execute-btn{background:#4caf50;flex:1 1;padding:10px 20px}.execute-btn:hover{background:#45a049;transform:translateY(-1px)}.executing-btn{background:#ff9800}.completed-btn,.executing-btn{border:none;border-radius:6px;color:#fff;cursor:not-allowed;flex:1 1;font-size:14px;font-weight:600;padding:10px 20px}.completed-btn{background:#2196f3}.arbitrage-profits{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;margin-bottom:30px;padding:30px}.arbitrage-profits h3{align-items:center;color:#ffa726;display:flex;font-size:24px;font-weight:600;gap:8px;margin-bottom:20px}.profits-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.profit-card{align-items:center;background:#ffffff14;border:1px solid #ffffff26;border-radius:12px;display:flex;gap:15px;padding:20px;transition:all .3s ease}.profit-card:hover{background:#ffffff1f;transform:translateY(-2px)}.profit-icon{flex-shrink:0;font-size:32px}.profit-content{flex:1 1}.profit-value{color:#fff;font-size:24px;font-weight:700;margin-bottom:4px}.profit-label{color:#ffffffb3;font-size:14px;font-weight:500}.arbitrage-stats{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;padding:30px}.arbitrage-stats h3{align-items:center;color:#ffa726;display:flex;font-size:24px;font-weight:600;gap:8px;margin-bottom:20px}.stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.stat-card{background:#ffffff14;border:1px solid #ffffff26}.stat-card:hover{background:#ffffff1f}@media (max-width:1200px){.control-panel{gap:20px;grid-template-columns:1fr}.exchange-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:768px){.arbitrage-page{padding:10px}.opportunities-grid{grid-template-columns:1fr}.exchange-grid{grid-template-columns:repeat(2,1fr)}.price-comparison{flex-direction:column;gap:10px}.arrow{transform:rotate(90deg)}.profit-info{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}}.options-page{background:linear-gradient(135deg,#1a1a2e,#16213e 50%,#0f3460);color:#fff;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh;padding:20px}.options-header{margin-bottom:40px;text-align:center}.options-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:36px;font-weight:700;margin-bottom:10px}.options-header p{color:#ffffffb3;font-size:18px;margin:0}.options-summary{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:40px}.summary-card{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;display:flex;gap:15px;padding:20px;transition:all .3s ease}.summary-card:hover{background:#ffffff14;transform:translateY(-2px)}.summary-icon{flex-shrink:0;font-size:32px}.summary-content{flex:1 1}.summary-value{color:#fff;font-size:24px;font-weight:700;margin-bottom:4px}.summary-label{color:#ffffffb3;font-size:14px;font-weight:500}.add-option-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;margin-bottom:40px;padding:30px}.add-option-section h3{align-items:center;color:#ffa726;display:flex;font-size:24px;font-weight:600;gap:8px;margin-bottom:20px}.add-option-form{display:flex;flex-direction:column;gap:20px}.form-row{grid-gap:20px;gap:20px}.add-option-btn{align-self:flex-start;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:14px 28px;transition:all .3s ease}.add-option-btn:hover{box-shadow:0 8px 25px #667eea66;transform:translateY(-2px)}.options-list{margin-bottom:40px}.options-list h3{align-items:center;color:#ffa726;display:flex;font-size:24px;font-weight:600;gap:8px;margin-bottom:20px}.options-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}.option-card{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;padding:20px;transition:all .3s ease}.option-card:hover{background:#ffffff14;transform:translateY(-2px)}.option-card.active{border-color:#4caf50}.option-card.closed{border-color:#f44336;opacity:.7}.option-header{justify-content:space-between;margin-bottom:15px}.option-header,.option-info{align-items:center;display:flex}.option-info{gap:12px}.option-info h4{color:#fff;font-size:18px;font-weight:600;margin:0}.strike-price{background:#ffffff1a;border-radius:6px;color:#ffa726;font-size:14px;font-weight:600;padding:4px 8px}.status-badge.active{background:#4caf5033;color:#4caf50}.status-badge.closed{background:#f4433633;color:#f44336}.option-details{margin-bottom:20px}.price-info{grid-gap:15px;background:#ffffff0d;border-radius:8px;display:grid;gap:15px;grid-template-columns:repeat(3,1fr);margin-bottom:15px;padding:15px}.price-item{display:flex;flex-direction:column;gap:4px;text-align:center}.price-item .label{color:#ffffffb3;font-size:12px;letter-spacing:.5px;text-transform:uppercase}.price-item .value{color:#fff;font-size:14px;font-weight:600}.value-breakdown{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(3,1fr);margin-bottom:15px}.value-item{display:flex;flex-direction:column;gap:4px;text-align:center}.value-item .label{color:#ffffffb3;font-size:12px;letter-spacing:.5px;text-transform:uppercase}.value-item .value{font-size:14px;font-weight:600}.value-item .value.positive{color:#4caf50}.value-item .value.negative{color:#f44336}.value-item .value.neutral{color:#ffffffb3}.greek-metrics{grid-gap:10px;background:#ffffff0d;border-radius:8px;display:grid;gap:10px;grid-template-columns:repeat(4,1fr);margin-bottom:15px;padding:15px}.greek-item{display:flex;flex-direction:column;gap:4px;text-align:center}.greek-item .label{color:#ffffffb3;font-size:10px;letter-spacing:.5px;text-transform:uppercase}.greek-item .value{color:#fff;font-size:12px;font-weight:600}.profit-loss{align-items:center;background:#ffffff0d;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:15px;padding:15px}.profit-loss .label{color:#fff;font-size:16px;font-weight:600}.profit-loss .value{font-size:18px;font-weight:700}.profit-loss .value.positive{color:#4caf50}.profit-loss .value.negative{color:#f44336}.option-actions{display:flex;gap:10px}.close-option-btn{background:#f44336;border:none;border-radius:6px;color:#fff;cursor:pointer;flex:1 1;font-size:14px;font-weight:600;padding:10px 20px;transition:all .3s ease}.close-option-btn:hover{background:#d32f2f;transform:translateY(-1px)}.details-btn{background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#fff;cursor:pointer;flex:1 1;font-size:14px;font-weight:600;padding:10px 20px;transition:all .3s ease}.details-btn:hover{background:#fff3;transform:translateY(-1px)}.strategies-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;padding:30px}.strategies-section h3{align-items:center;color:#ffa726;display:flex;font-size:24px;font-weight:600;gap:8px;margin-bottom:20px}.strategies-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.strategy-card{background:#ffffff14;border:1px solid #ffffff26;border-radius:12px;padding:20px;transition:all .3s ease}.strategy-card:hover{background:#ffffff1f;transform:translateY(-2px)}.strategy-card h4{color:#fff;font-size:18px;font-weight:600;margin-bottom:10px}.strategy-card p{color:#ffffffb3;font-size:14px;line-height:1.5;margin-bottom:15px}.strategy-metrics{display:flex;gap:15px}.strategy-metrics span{background:#ffffff1a;border-radius:6px;color:#fffc;font-size:12px;font-weight:500;padding:4px 8px}@media (max-width:1200px){.form-row,.greek-metrics,.price-info,.value-breakdown{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.options-page{padding:10px}.form-row,.options-grid,.price-info,.value-breakdown{grid-template-columns:1fr}.greek-metrics{grid-template-columns:repeat(2,1fr)}.option-actions{flex-direction:column}.strategies-grid{grid-template-columns:1fr}}.no-options{color:#ffffffb3;padding:60px 20px;text-align:center}.no-options-icon{font-size:48px;margin-bottom:20px}.no-options h4{color:#fff;font-size:20px;font-weight:600;margin:0 0 10px}.no-options p{font-size:16px;line-height:1.5;margin:0}.trade-history-page{background:linear-gradient(135deg,#1a1a2e,#16213e 50%,#0f3460);color:#fff;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh;padding:20px}.history-header{margin-bottom:40px;text-align:center}.history-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:36px;font-weight:700;margin-bottom:10px}.history-header p{color:#ffffffb3;font-size:18px;margin:0}.summary-stats{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:40px}.stat-card{align-items:center;display:flex;gap:15px}.stat-icon{flex-shrink:0;font-size:32px}.stat-content{flex:1 1}.stat-value{color:#fff;font-size:24px;font-weight:700;margin-bottom:4px}.stat-value.positive{color:#4caf50}.stat-value.negative{color:#f44336}.stat-label{color:#ffffffb3;font-size:14px;font-weight:500}.filters-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;margin-bottom:30px;padding:30px}.search-bar{margin-bottom:20px}.search-input{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;font-size:16px;padding:12px 16px;transition:all .3s ease;width:100%}.search-input::placeholder{color:#ffffff80}.search-input:focus{background:#ffffff26;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.filters-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:20px}.filter-group{display:flex;flex-direction:column;gap:8px}.filter-group label{color:#ffffffe6;font-size:14px;font-weight:600}.filter-group select{background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#fff;font-size:14px;padding:10px 12px;transition:all .3s ease}.filter-group select:focus{background:#ffffff26;border-color:#667eea;outline:none}.sort-controls{align-items:end;display:flex;gap:20px}.sort-group{display:flex;flex-direction:column;gap:8px;min-width:150px}.sort-group label{color:#ffffffe6;font-size:14px;font-weight:600}.sort-group select{background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#fff;font-size:14px;padding:10px 12px;transition:all .3s ease}.sort-group select:focus{background:#ffffff26;border-color:#667eea;outline:none}.trades-table-container{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;margin-bottom:30px;overflow:hidden}.trades-table{min-width:1200px;width:100%}.table-header{background:#ffffff1a;border-bottom:1px solid #fff3;display:grid;grid-template-columns:100px 80px 80px 100px 80px 100px 100px 100px 80px 80px 80px 80px 120px}.header-cell{border-right:1px solid #ffffff1a;color:#fffc;font-size:12px;font-weight:600;letter-spacing:.5px;padding:15px 10px;text-align:center;text-transform:uppercase}.header-cell:last-child{border-right:none}.table-body{max-height:600px;overflow-y:auto}.table-row{border-bottom:1px solid #ffffff0d;display:grid;grid-template-columns:100px 80px 80px 100px 80px 100px 100px 100px 80px 80px 80px 80px 120px;transition:all .3s ease}.table-row:hover{background:#ffffff0d}.table-cell{align-items:center;border-right:1px solid #ffffff0d;color:#fff;display:flex;flex-direction:column;font-size:14px;gap:4px;justify-content:center;padding:15px 10px;text-align:center}.table-cell:last-child{border-right:none}.type{flex-direction:row;gap:8px}.type-icon{font-size:16px}.type-text{font-size:12px;font-weight:500}.action-badge{border-radius:12px;padding:4px 8px}.percent-value,.pnl-value{font-size:14px;font-weight:600}.status-badge{color:#fff;padding:4px 8px}.no-trades{color:#ffffffb3;grid-column:1/-1;padding:60px 20px;text-align:center}.no-trades-icon{font-size:48px;margin-bottom:20px}.no-trades p{font-size:16px;margin:0}.export-section{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;padding:30px;text-align:center}.export-section h3{align-items:center;color:#ffa726;font-size:24px;font-weight:600;gap:8px;margin-bottom:20px}.export-buttons,.export-section h3{display:flex;justify-content:center}.export-buttons{flex-wrap:wrap;gap:15px}.export-btn{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:all .3s ease}.export-btn:hover{background:#fff3;transform:translateY(-2px)}.export-btn.csv:before{content:"📊"}.export-btn.excel:before{content:"📈"}.export-btn.pdf:before{content:"📄"}@media (max-width:1400px){.trades-table-container{overflow-x:auto}.trades-table{min-width:1000px}.table-header,.table-row{grid-template-columns:90px 70px 70px 90px 70px 90px 90px 90px 70px 70px 70px 70px 110px}}@media (max-width:768px){.trade-history-page{padding:10px}.filters-grid{grid-template-columns:1fr}.sort-controls{align-items:stretch;flex-direction:column}.sort-group{min-width:auto}.export-buttons{align-items:center;flex-direction:column}.export-btn{width:200px}}@media (max-width:480px){.summary-stats{grid-template-columns:repeat(2,1fr)}.table-header,.table-row{grid-template-columns:80px 60px 60px 80px 60px 80px 80px 80px 60px 60px 60px 60px 100px}.header-cell,.table-cell{font-size:12px;padding:10px 5px}}.user-management{background:linear-gradient(135deg,#1a1a2e,#16213e 50%,#0f3460);color:#fff;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh;padding:20px}.admin-header{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;display:flex;justify-content:space-between;margin-bottom:30px;padding:20px}.admin-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:28px;font-weight:700;margin:0}.admin-actions{align-items:center;display:flex;gap:15px}.admin-actions span{color:#fffc;font-weight:500}.logout-btn{background:#f4433633;border:1px solid #f44336;border-radius:6px;color:#f44336;cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px;transition:all .3s ease}.logout-btn:hover{background:#f44336;color:#fff}.management-sections{grid-gap:30px;display:grid;gap:30px;grid-template-columns:1fr 1fr}.approved-section,.pending-section{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;padding:25px}.approved-section h3,.pending-section h3{align-items:center;color:#ffa726;display:flex;font-size:20px;font-weight:600;gap:8px;margin-bottom:20px}.no-pending{color:#fff9;font-style:italic;padding:40px 20px;text-align:center}.pending-list,.users-list{display:flex;flex-direction:column;gap:15px}.pending-user-card,.user-card{background:#ffffff14;border:1px solid #ffffff26;border-radius:12px;padding:20px;transition:all .3s ease}.pending-user-card:hover,.user-card:hover{background:#ffffff1f;transform:translateY(-2px)}.pending-user-card{align-items:center;display:flex;justify-content:space-between}.user-info h4{color:#fff;font-size:18px;font-weight:600;margin:0 0 8px}.user-info p{color:#ffffffb3;font-size:14px;margin:4px 0}.user-actions{display:flex;gap:10px}.approve-btn{background:#4caf50;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px;transition:all .3s ease}.approve-btn:hover{background:#45a049;transform:translateY(-1px)}.reject-btn{background:#f44336;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px;transition:all .3s ease}.reject-btn:hover{background:#d32f2f;transform:translateY(-1px)}.user-card{justify-content:space-between}.user-card,.user-status{align-items:center;display:flex}.status-badge{border-radius:12px;font-size:12px;font-weight:600;padding:4px 12px;text-transform:uppercase}.status-badge.approved{background:#4caf5033;border:1px solid #4caf50;color:#4caf50}.status-badge.pending{background:#ff980033;border:1px solid #ff9800;color:#ff9800}.login-form-container{align-items:center;background:linear-gradient(135deg,#1a1a2e,#16213e 50%,#0f3460);display:flex;justify-content:center;min-height:100vh;padding:20px}.login-form{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;box-shadow:0 8px 32px #0000004d;max-width:500px;padding:40px;width:100%}.login-form h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:28px;font-weight:700;margin-bottom:30px;text-align:center}.form-tabs{background:#ffffff0d;border-radius:12px;display:flex;margin-bottom:30px;padding:4px}.tab{background:none;border:none;border-radius:8px;color:#ffffffb3;cursor:pointer;flex:1 1;font-size:16px;font-weight:600;padding:12px 24px;transition:all .3s ease}.tab.active{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 15px #667eea4d;color:#fff}.tab:hover:not(.active){background:#ffffff1a;color:#fff}.form-group label{color:#ffffffe6;font-weight:600}.form-group input,.form-group select{border-radius:8px;padding:12px 16px;width:100%}.form-group input:focus,.form-group select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.submit-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;margin-bottom:20px;padding:14px 28px;transition:all .3s ease;width:100%}.submit-btn:hover{box-shadow:0 8px 25px #667eea66;transform:translateY(-2px)}.family-info{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;padding:20px;text-align:center}.family-info h3{color:#ffa726;font-size:18px;font-weight:600;margin-bottom:15px}.family-info p{color:#ffffffb3;font-size:14px;line-height:1.5;margin:8px 0}.user-dashboard{background:linear-gradient(135deg,#1a1a2e,#16213e 50%,#0f3460);color:#fff;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh;padding:20px}.user-header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;margin-bottom:40px;padding:30px;text-align:center}.user-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:32px;font-weight:700;margin-bottom:10px}.user-info{align-items:center;color:#fffc;display:flex;font-size:16px;gap:15px;justify-content:center}.user-stats{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:40px}.stat-card{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;padding:20px;text-align:center;transition:all .3s ease}.stat-card:hover{background:#ffffff14;transform:translateY(-2px)}.stat-card h3{color:#ffffffb3;font-size:14px;letter-spacing:.5px;margin-bottom:10px;text-transform:uppercase}.stat-card p{color:#fff;font-size:24px;font-weight:700;margin:0}.user-settings{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:15px;padding:25px}.user-settings h3{color:#ffa726;font-size:20px;font-weight:600;margin-bottom:20px}.settings-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.setting-item{align-items:center;background:#ffffff14;border:1px solid #ffffff26;border-radius:8px;display:flex;justify-content:space-between;padding:15px}.setting-item label{color:#fffc;font-size:14px;font-weight:500}.setting-item span{color:#fff;font-size:14px;font-weight:600}@media (max-width:768px){.management-sections{grid-template-columns:1fr}.pending-user-card,.user-card{flex-direction:column;gap:15px;text-align:center}.user-actions{justify-content:center}.user-stats{grid-template-columns:repeat(2,1fr)}.settings-grid{grid-template-columns:1fr}}.ai-trading-panel{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;margin-bottom:20px;padding:20px}.ai-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.ai-header h3{color:#fff;font-size:18px;font-weight:600;margin:0}.analyze-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .3s ease}.analyze-btn:hover:not(:disabled){box-shadow:0 4px 15px #667eea4d;transform:translateY(-2px)}.analyze-btn:disabled{cursor:not-allowed;opacity:.6}.analyze-btn.analyzing{background:linear-gradient(135deg,#ff9800,#f57c00)}.ai-loading{color:#fffc;padding:40px 20px;text-align:center}.loading-spinner{animation:spin 1s linear infinite;border:3px solid #fff3;border-radius:50%;border-top-color:#4caf50;height:40px;margin:0 auto 15px;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ai-content{display:flex;flex-direction:column;gap:20px}.analysis-section{background:#ffffff08;border:1px solid #ffffff14;border-radius:8px;padding:15px}.analysis-section h4{color:#fff;font-size:16px;font-weight:600;margin:0 0 15px}.technical-grid{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.tech-indicator{align-items:center;background:#ffffff0d;border-radius:6px;display:flex;justify-content:space-between;padding:8px 12px}.tech-indicator .label{color:#ffffffb3;font-size:14px}.tech-indicator .value{color:#fff;font-size:14px;font-weight:600}.tech-indicator .value.overbought{color:#f44336}.tech-indicator .value.bullish,.tech-indicator .value.oversold{color:#4caf50}.tech-indicator .value.bearish{color:#f44336}.sentiment-display{display:flex;flex-direction:column;gap:15px}.sentiment-overview{align-items:center;background:#ffffff0d;border-radius:8px;display:flex;justify-content:space-between;padding:15px}.sentiment-score{align-items:center;display:flex;gap:10px}.score-label{color:#ffffffb3;font-size:14px}.score-value{font-size:24px;font-weight:700}.sentiment-level{font-size:16px;font-weight:600}.sentiment-confidence{align-items:flex-end;display:flex;flex-direction:column}.confidence-label{color:#ffffffb3;font-size:12px}.confidence-value{color:#fff;font-size:18px;font-weight:600}.sentiment-breakdown{display:flex;gap:20px}.sentiment-source{align-items:center;background:#ffffff0d;border-radius:6px;display:flex;gap:8px;padding:8px 12px}.source-label{color:#ffffffb3;font-size:14px}.source-score{color:#fff;font-size:16px;font-weight:600}.source-count{color:#ffffff80;font-size:12px}.risk-display{display:flex;flex-direction:column;gap:15px}.risk-score{align-items:center;background:#ffffff0d;border-radius:8px;display:flex;justify-content:space-between;padding:12px 15px}.risk-label{color:#ffffffb3;font-size:16px;font-weight:500}.risk-value{font-size:18px;font-weight:700}.risk-value.high{color:#f44336}.risk-value.medium{color:#ff9800}.risk-value.low{color:#4caf50}.risk-factors{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.risk-factor{align-items:center;background:#ffffff08;border-radius:6px;display:flex;font-size:14px;justify-content:space-between;padding:8px 12px}.risk-factor span:first-child{color:#ffffffb3}.risk-factor span:last-child{color:#fff;font-weight:600}.portfolio-display{display:flex;flex-direction:column;gap:15px}.portfolio-metrics{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.metric{align-items:center;background:#ffffff0d;border-radius:8px;display:flex;justify-content:space-between;padding:10px 15px}.metric-label{color:#ffffffb3;font-size:14px}.metric-value{color:#fff;font-size:16px;font-weight:600}.allocation-recommendations{background:#ffffff08;border-radius:8px;padding:15px}.allocation-recommendations h5{color:#fff;font-size:14px;font-weight:600;margin:0 0 10px}.allocation-rec{align-items:center;border-bottom:1px solid #ffffff1a;display:flex;font-size:14px;gap:10px;padding:8px 0}.allocation-rec:last-child{border-bottom:none}.pair{color:#fff;font-weight:600;min-width:60px}.current{color:#ffffffb3}.arrow{color:#ffffff80}.recommended{color:#fff;font-weight:600}.action{border-radius:12px;font-size:12px;font-weight:600;padding:2px 8px;text-transform:uppercase}.action.reduce{background:#f4433633;color:#f44336}.action.increase{background:#4caf5033;color:#4caf50}.suggestions-list{display:flex;flex-direction:column;gap:15px}.suggestion-card{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;padding:15px;transition:all .3s ease}.suggestion-card:hover{background:#ffffff14;border-color:#fff3}.suggestion-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.suggestion-type{background:#4caf5033;border-radius:12px;color:#4caf50;font-size:12px;font-weight:600;padding:2px 8px;text-transform:uppercase}.suggestion-confidence{color:#ffffffb3;font-size:12px}.suggestion-content{margin-bottom:15px}.suggestion-pair{color:#fff;font-size:18px;font-weight:600;margin-bottom:5px}.suggestion-action{align-items:center;display:flex;gap:10px;margin-bottom:8px}.action-badge{border-radius:16px;font-size:12px;font-weight:600;padding:4px 12px;text-transform:uppercase}.action-badge.buy{background:#4caf5033;border:1px solid #4caf50;color:#4caf50}.action-badge.sell{background:#f4433633;border:1px solid #f44336;color:#f44336}.suggestion-price{color:#fff;font-size:16px;font-weight:600}.suggestion-reason{color:#fffc;font-size:14px;line-height:1.4}.suggestion-actions{display:flex;gap:10px}.execute-btn{background:linear-gradient(135deg,#4caf50,#45a049);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px;transition:all .3s ease}.execute-btn:hover{box-shadow:0 4px 15px #4caf504d;transform:translateY(-2px)}.ignore-btn{background:#0000;border:1px solid #ffffff4d;border-radius:6px;color:#ffffffb3;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .3s ease}.ignore-btn:hover{background:#ffffff1a;color:#fff}@media (max-width:768px){.technical-grid{grid-template-columns:1fr}.sentiment-overview{text-align:center}.sentiment-breakdown,.sentiment-overview{flex-direction:column;gap:10px}.portfolio-metrics{grid-template-columns:1fr}.suggestion-actions{flex-direction:column}}.tradfi-trading{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000c;border:1px solid #fff3;border-radius:12px;margin-bottom:20px;padding:20px}.tradfi-header{justify-content:space-between;margin-bottom:25px}.header-actions,.tradfi-header{align-items:center;display:flex}.header-actions{gap:15px}.tradfi-header h3{color:#fff;font-size:20px;font-weight:600;margin:0}.connection-status{align-items:center;display:flex;gap:15px}.status-indicator{align-items:center;border-radius:20px;display:flex;font-size:14px;font-weight:500;gap:8px;padding:8px 12px}.status-indicator.connected{background:#4caf5033;border:1px solid #4caf50;color:#4caf50}.status-indicator.disconnected{background:#f4433633;border:1px solid #f44336;color:#f44336}.status-dot{animation:pulse 2s infinite;background:currentColor;border-radius:50%;height:8px;width:8px}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.connect-btn,.disconnect-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;padding:8px 16px;transition:all .3s ease}.connect-btn:hover,.disconnect-btn:hover{box-shadow:0 4px 15px #667eea4d;transform:translateY(-2px)}.connect-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.tradfi-content{display:flex;flex-direction:column;gap:25px}.account-info-section{background:#0009;border:1px solid #ffffff26;border-radius:8px;padding:20px}.account-info-section h4{color:#fff;font-size:16px;font-weight:600;margin:0 0 15px}.account-details{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.account-item{align-items:center;background:#ffffff0d;border-radius:6px;display:flex;justify-content:space-between;padding:10px 15px}.account-item .label{color:#ffffffb3;font-size:14px}.account-item .value{color:#fff;font-size:14px;font-weight:600}.market-data-section{background:#0009;border:1px solid #ffffff26;border-radius:8px;padding:20px}.market-data-section h4{color:#fff;font-size:16px;font-weight:600;margin:0 0 20px}.instruments-tabs{display:flex;flex-direction:column;gap:20px}.instrument-category h5{color:#4caf50;font-size:14px;font-weight:600;letter-spacing:1px;margin:0 0 15px;text-transform:uppercase}.instruments-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.instrument-card{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;padding:15px;transition:all .3s ease}.instrument-card:hover{background:#ffffff14;border-color:#fff3;transform:translateY(-2px)}.instrument-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.symbol{color:#fff;font-size:16px;font-weight:600}.category{background:#ffffff1a;border-radius:12px;color:#fffc;font-size:12px;padding:2px 8px}.instrument-name{color:#ffffffb3;font-size:12px;margin-bottom:10px}.instrument-prices{display:flex;flex-direction:column;gap:5px}.price-row{align-items:center;display:flex;font-size:13px;justify-content:space-between}.price-row .label{color:#fff9}.price-row .price{color:#fff;font-weight:500}.price-row .change{font-weight:600}.change.positive{color:#4caf50}.change.negative{color:#f44336}.trading-panel-section{background:#0009;border:1px solid #ffffff26;border-radius:8px;padding:20px}.trading-panel-section h4{color:#fff;font-size:16px;font-weight:600;margin:0 0 20px}.trading-form{display:flex;flex-direction:column;gap:20px}.form-row{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.form-group{display:flex;flex-direction:column;gap:8px}.form-group input,.form-group select{background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#fff;font-size:14px;padding:10px 12px;transition:all .3s ease}.form-group input:focus,.form-group select:focus{background:#ffffff26;border-color:#4caf50;outline:none}.form-group select option{background:#1a1a1a;color:#fff}.place-order-btn{align-self:flex-start;background:linear-gradient(135deg,#4caf50,#45a049);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:12px 24px;transition:all .3s ease}.place-order-btn:hover:not(:disabled){box-shadow:0 4px 15px #4caf504d;transform:translateY(-2px)}.place-order-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.positions-section{background:#0009;border:1px solid #ffffff26;border-radius:8px;padding:20px}.positions-section h4{color:#fff;font-size:16px;font-weight:600;margin:0 0 20px}.no-positions{color:#ffffffb3;padding:40px 20px;text-align:center}.no-positions-icon{font-size:48px;margin-bottom:15px}.no-positions h5{color:#fff;font-size:18px;font-weight:600;margin:0 0 10px}.no-positions p{font-size:14px;line-height:1.5;margin:0}.positions-list{display:flex;flex-direction:column;gap:15px}.position-card{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;padding:15px;transition:all .3s ease}.position-card:hover{background:#ffffff14;border-color:#fff3}.position-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:15px}.position-info{align-items:center;display:flex;gap:15px}.position-info .symbol{color:#fff;font-size:16px;font-weight:600}.position-info .action{border-radius:12px;font-size:12px;font-weight:600;padding:4px 8px;text-transform:uppercase}.position-info .action.buy{background:#4caf5033;color:#4caf50}.position-info .action.sell{background:#f4433633;color:#f44336}.position-info .volume{color:#fffc;font-size:14px}.close-position-btn{background:#f44336;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:12px;font-weight:500;padding:6px 12px;transition:all .3s ease}.close-position-btn:hover{background:#d32f2f;transform:translateY(-1px)}.position-details{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.detail-row{align-items:center;display:flex;justify-content:space-between;padding:5px 0}.detail-row .label{color:#ffffffb3;font-size:13px}.detail-row .value{color:#fff;font-size:13px;font-weight:500}.detail-row .value.positive{color:#4caf50}.detail-row .value.negative{color:#f44336}@media (max-width:768px){.tradfi-header{flex-direction:column;gap:15px;text-align:center}.account-details,.form-row,.instruments-grid,.position-details{grid-template-columns:1fr}.position-header{align-items:flex-start;flex-direction:column;gap:10px}}.credentials-toggle-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;margin-bottom:20px;padding:10px 20px;transition:all .3s ease}.credentials-toggle-btn:hover{box-shadow:0 4px 15px #667eea4d;transform:translateY(-2px)}.credentials-modal{align-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000c;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.credentials-content{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#1e1e1ef2;border:1px solid #fff3;border-radius:12px;max-height:80vh;max-width:600px;overflow-y:auto;padding:30px;width:90%}.credentials-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:25px}.credentials-header h3{color:#fff;font-size:20px;font-weight:600;margin:0}.close-btn{background:none;border:none;color:#ffffffb3;cursor:pointer;font-size:24px;padding:5px;transition:color .3s ease}.close-btn:hover{color:#fff}.credentials-tabs{display:flex;gap:10px;margin-bottom:25px}.tab-btn{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fffc;cursor:pointer;flex:1 1;font-size:14px;font-weight:500;padding:12px 20px;transition:all .3s ease}.tab-btn.active{background:linear-gradient(135deg,#4caf50,#45a049);border-color:#4caf50;color:#fff}.tab-btn:hover:not(.active){background:#ffffff26;color:#fff}.credentials-form{margin-bottom:25px}.credentials-form h4{color:#fff;font-size:16px;font-weight:600;margin:0 0 10px}.info-text{color:#ffffffb3}.info-text,.warning-text{font-size:14px;line-height:1.5;margin-bottom:20px}.warning-text{background:#ff98001a;border-left:3px solid #ff9800;border-radius:6px;color:#ff9800;padding:10px}.form-group{margin-bottom:20px}.form-group label{color:#fffc;font-size:14px;margin-bottom:8px}.form-group input{background:#ffffff1a;border:1px solid #fff3;border-radius:6px;color:#fff;font-size:14px;padding:12px;transition:all .3s ease;width:100%}.form-group input:focus{background:#ffffff26;border-color:#4caf50;outline:none}.form-group input::placeholder{color:#ffffff80}.credentials-actions{display:flex;gap:15px;justify-content:flex-end}.save-btn{background:linear-gradient(135deg,#4caf50,#45a049);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;transition:all .3s ease}.save-btn:hover{box-shadow:0 4px 15px #4caf504d;transform:translateY(-2px)}.cancel-btn{background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fffc;cursor:pointer;font-size:14px;font-weight:500;padding:12px 24px;transition:all .3s ease}.cancel-btn:hover{background:#ffffff26;color:#fff}.credentials-help{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;padding:20px}.credentials-help h5{color:#fff;font-size:14px;font-weight:600;margin:0 0 15px}.credentials-help ol{color:#ffffffb3;font-size:13px;line-height:1.6;margin:0;padding-left:20px}.credentials-help li{margin-bottom:8px}@media (max-width:768px){.credentials-content{margin:20px;padding:20px}.credentials-actions,.credentials-tabs{flex-direction:column}.cancel-btn,.save-btn{width:100%}}.credential-manager{background:#1a1a1a;border:1px solid #333;border-radius:12px;margin:20px 0;padding:20px}.credential-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.credential-header h3{color:#0f8;font-size:1.2em;margin:0}.add-credential-btn{background:linear-gradient(135deg,#0f8,#00cc6a);border:none;border-radius:8px;color:#000;cursor:pointer;font-weight:700;padding:10px 20px;transition:all .3s ease}.add-credential-btn:hover{box-shadow:0 4px 12px #00ff884d;transform:translateY(-2px)}.message{border-radius:8px;font-weight:500;margin-bottom:20px;padding:12px}.message.success{background:#00ff881a;border:1px solid #0f8;color:#0f8}.message.error{background:#ff44441a;border:1px solid #f44;color:#f44}.add-credential-form{background:#2a2a2a;border:1px solid #444;border-radius:8px;margin-bottom:20px;padding:20px}.add-credential-form h4{color:#0f8;margin:0 0 15px}.form-group{margin-bottom:15px}.form-group label{color:#ccc;display:block;font-weight:500;margin-bottom:5px}.form-group input[type=password],.form-group input[type=text]{background:#1a1a1a;border:1px solid #555;border-radius:6px;color:#fff;font-size:14px;padding:10px;width:100%}.form-group input[type=password]:focus,.form-group input[type=text]:focus{border-color:#0f8;box-shadow:0 0 0 2px #0f83;outline:none}.form-group input[type=checkbox]{margin-right:8px;transform:scale(1.2)}.form-actions{display:flex;gap:10px;margin-top:20px}.form-actions button{border:none;border-radius:6px;cursor:pointer;font-weight:700;padding:10px 20px;transition:all .3s ease}.form-actions button[type=submit]{background:linear-gradient(135deg,#0f8,#00cc6a);color:#000}.form-actions button[type=button]{background:#444;color:#fff}.form-actions button:hover{transform:translateY(-1px)}.form-actions button:disabled{cursor:not-allowed;opacity:.6;transform:none}.credentials-list h4{color:#0f8;margin:0 0 15px}.credential-item{align-items:center;background:#2a2a2a;border:1px solid #444;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:10px;padding:15px;transition:all .3s ease}.credential-item.active{background:#00ff880d;border-color:#0f8}.credential-item:hover{background:#333}.credential-info{flex:1 1}.credential-name{color:#fff;font-size:1.1em;font-weight:700;margin-bottom:5px}.credential-details{color:#999;font-size:.9em}.credential-actions{display:flex;gap:10px}.switch-btn{background:linear-gradient(135deg,#4a90e2,#357abd);border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:700;padding:8px 16px;transition:all .3s ease}.switch-btn:hover{box-shadow:0 4px 8px #4a90e24d;transform:translateY(-1px)}.delete-btn{background:linear-gradient(135deg,#f44,#c33);border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:700;padding:8px 16px;transition:all .3s ease}.delete-btn:hover{box-shadow:0 4px 8px #ff44444d;transform:translateY(-1px)}.credential-actions button:disabled{cursor:not-allowed;opacity:.6;transform:none}.current-account{background:#00ff881a;border:1px solid #0f8;border-radius:8px;color:#0f8;font-size:1.1em;margin-top:20px;padding:15px;text-align:center}@media (max-width:768px){.credential-item{align-items:flex-start;flex-direction:column;gap:10px}.credential-actions{justify-content:flex-end;width:100%}.form-actions{flex-direction:column}}
/*# sourceMappingURL=main.bc3698c8.css.map*/