mirror of
https://github.com/FxPouya/FxMathQuantWebApp.git
synced 2026-07-27 18:27:44 +00:00
1381 lines
25 KiB
CSS
1381 lines
25 KiB
CSS
/* FxMathQuant Web - Modern Dark Theme */
|
|
|
|
:root {
|
|
--bg-primary: #0a0e27;
|
|
--bg-secondary: #151932;
|
|
--bg-card: #1a1f3a;
|
|
--bg-hover: #252b4a;
|
|
|
|
--text-primary: #ffffff;
|
|
--text-secondary: #a0aec0;
|
|
--text-muted: #718096;
|
|
|
|
--accent-primary: #667eea;
|
|
--accent-secondary: #764ba2;
|
|
--accent-success: #48bb78;
|
|
--accent-danger: #f56565;
|
|
--accent-warning: #ed8936;
|
|
|
|
--border-color: #2d3748;
|
|
--shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
|
--shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
|
|
|
|
--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-primary);
|
|
background: linear-gradient(135deg, var(--bg-primary) 0%, #1a1f3a 100%);
|
|
color: var(--text-primary);
|
|
min-height: 100vh;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
/* Header */
|
|
.header {
|
|
background: rgba(26, 31, 58, 0.8);
|
|
backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding: 20px 0;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.header-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo h1 {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.logo .subtitle {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.btn-icon {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border-color);
|
|
color: var(--text-primary);
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-icon:hover {
|
|
background: var(--bg-hover);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Main Content */
|
|
.main-content {
|
|
padding: 40px 0;
|
|
min-height: calc(100vh - 200px);
|
|
}
|
|
|
|
.section {
|
|
display: none;
|
|
animation: fadeIn 0.5s ease;
|
|
}
|
|
|
|
.section.active {
|
|
display: block;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.section-header {
|
|
text-align: center;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.section-header h2 {
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.section-header p {
|
|
color: var(--text-secondary);
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Upload Zone */
|
|
.upload-zone {
|
|
background: var(--bg-card);
|
|
border: 2px dashed var(--border-color);
|
|
border-radius: 16px;
|
|
padding: 60px 40px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.upload-zone:hover {
|
|
border-color: var(--accent-primary);
|
|
background: var(--bg-hover);
|
|
transform: translateY(-5px);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.upload-zone.dragover {
|
|
border-color: var(--accent-success);
|
|
background: rgba(72, 187, 120, 0.1);
|
|
}
|
|
|
|
.upload-icon {
|
|
font-size: 64px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.upload-zone h3 {
|
|
font-size: 24px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.upload-zone p {
|
|
color: var(--text-secondary);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Data Preview */
|
|
.data-preview {
|
|
background: var(--bg-card);
|
|
border-radius: 16px;
|
|
padding: 30px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.data-preview.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.data-info {
|
|
display: flex;
|
|
gap: 30px;
|
|
margin-bottom: 20px;
|
|
padding: 15px;
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.data-info span {
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.table-container {
|
|
overflow-x: auto;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
thead {
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 12px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
th {
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
/* Configuration */
|
|
.config-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.config-card {
|
|
background: var(--bg-card);
|
|
border-radius: 16px;
|
|
padding: 30px;
|
|
box-shadow: var(--shadow);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.config-card h3 {
|
|
font-size: 20px;
|
|
margin-bottom: 20px;
|
|
color: var(--accent-primary);
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.form-group input {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
color: var(--text-primary);
|
|
font-size: 16px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.form-group input:focus {
|
|
outline: none;
|
|
border-color: var(--accent-primary);
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.form-group small {
|
|
display: block;
|
|
margin-top: 5px;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.range-inputs {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.range-inputs input {
|
|
flex: 1;
|
|
}
|
|
|
|
.range-inputs span {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn-primary,
|
|
.btn-secondary,
|
|
.btn-success,
|
|
.btn-danger {
|
|
padding: 12px 30px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
display: inline-block;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
|
|
color: white;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--bg-secondary);
|
|
color: var(--text-primary);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.btn-success {
|
|
background: var(--accent-success);
|
|
color: white;
|
|
}
|
|
|
|
.btn-danger {
|
|
background: var(--accent-danger);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover,
|
|
.btn-success:hover,
|
|
.btn-danger:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
.btn-small {
|
|
padding: 6px 12px;
|
|
font-size: 12px;
|
|
border-radius: 6px;
|
|
background: var(--accent-primary);
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-small:hover {
|
|
background: var(--accent-secondary);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 15px;
|
|
justify-content: center;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
/* Progress */
|
|
.progress-container {
|
|
background: var(--bg-card);
|
|
border-radius: 16px;
|
|
padding: 40px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.progress-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.stat-card {
|
|
background: var(--bg-secondary);
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-label {
|
|
display: block;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.stat-value {
|
|
display: block;
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: var(--accent-primary);
|
|
}
|
|
|
|
.progress-bar-container {
|
|
background: var(--bg-secondary);
|
|
height: 12px;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
|
|
width: 0%;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.progress-log {
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 13px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.progress-log::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.progress-log::-webkit-scrollbar-track {
|
|
background: var(--bg-primary);
|
|
}
|
|
|
|
.progress-log::-webkit-scrollbar-thumb {
|
|
background: var(--accent-primary);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Strategy Cards */
|
|
.strategies-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.strategy-card {
|
|
background: var(--bg-card);
|
|
border-radius: 16px;
|
|
padding: 25px;
|
|
box-shadow: var(--shadow);
|
|
border: 1px solid var(--border-color);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.strategy-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: var(--shadow-lg);
|
|
border-color: var(--accent-primary);
|
|
}
|
|
|
|
.strategy-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.strategy-name {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: var(--accent-primary);
|
|
}
|
|
|
|
.strategy-metrics {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 15px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.metric {
|
|
background: var(--bg-secondary);
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.metric-label {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.metric-value {
|
|
display: block;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.metric-value.positive {
|
|
color: var(--accent-success);
|
|
}
|
|
|
|
.metric-value.negative {
|
|
color: var(--accent-danger);
|
|
}
|
|
|
|
.strategy-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.strategy-actions button {
|
|
flex: 1;
|
|
padding: 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Modal */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1000;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal-content {
|
|
background: var(--bg-card);
|
|
border-radius: 16px;
|
|
width: 90%;
|
|
max-width: 900px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
box-shadow: var(--shadow-lg);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 25px 30px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.modal-header h2 {
|
|
font-size: 24px;
|
|
color: var(--accent-primary);
|
|
}
|
|
|
|
.modal-close {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
font-size: 32px;
|
|
cursor: pointer;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.modal-close:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 30px;
|
|
}
|
|
|
|
.metrics-grid-detailed {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
gap: 15px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.metric-detailed {
|
|
background: var(--bg-secondary);
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
}
|
|
|
|
.metric-detailed .metric-label {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.metric-detailed .metric-value {
|
|
display: block;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.chart-section {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.chart-section h3 {
|
|
font-size: 18px;
|
|
margin-bottom: 15px;
|
|
color: var(--accent-primary);
|
|
}
|
|
|
|
.chart-section canvas {
|
|
height: 300px !important;
|
|
}
|
|
|
|
.rules-section h3 {
|
|
font-size: 18px;
|
|
margin-bottom: 15px;
|
|
color: var(--accent-primary);
|
|
}
|
|
|
|
.rules-list {
|
|
background: var(--bg-secondary);
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.rule-item {
|
|
padding: 8px 0;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.parameters-box {
|
|
background: var(--bg-secondary);
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Form Select */
|
|
.form-select {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 8px;
|
|
color: var(--text-primary);
|
|
font-size: 16px;
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form-select:focus {
|
|
outline: none;
|
|
border-color: var(--accent-primary);
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background: var(--bg-secondary);
|
|
border-top: 1px solid var(--border-color);
|
|
padding: 30px 0;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.config-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.strategies-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.progress-stats {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.section-header h2 {
|
|
font-size: 24px;
|
|
}
|
|
}
|
|
|
|
/* Comparison View */
|
|
.comparison-container {
|
|
display: flex;
|
|
gap: 20px;
|
|
overflow-x: auto;
|
|
padding: 20px 0;
|
|
min-height: 400px;
|
|
}
|
|
|
|
.comparison-item {
|
|
flex: 0 0 400px;
|
|
background: var(--bg-card);
|
|
border-radius: 16px;
|
|
padding: 25px;
|
|
border: 1px solid var(--border-color);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.comparison-item h3 {
|
|
margin-bottom: 20px;
|
|
color: var(--accent-primary);
|
|
}
|
|
|
|
/* Checkbox Style */
|
|
.strategy-select {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 15px;
|
|
width: 24px;
|
|
height: 24px;
|
|
cursor: pointer;
|
|
accent-color: var(--accent-success);
|
|
}
|
|
|
|
.strategy-card {
|
|
position: relative;
|
|
}
|
|
|
|
/* Trades Table in Modal */
|
|
.trades-section {
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.trades-table-container {
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.trades-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.trades-table th {
|
|
position: sticky;
|
|
top: 0;
|
|
background: var(--bg-card);
|
|
z-index: 10;
|
|
}
|
|
|
|
.trades-table td,
|
|
.trades-table th {
|
|
padding: 10px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.modal-footer-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 30px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
|
|
/* Badge for trade types */
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 4px 8px;
|
|
background: var(--accent-primary);
|
|
color: white;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes pulse {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
.loading {
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
/* Walk-Forward Analysis Badges */
|
|
.wf-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.wf-badge-pass {
|
|
background: rgba(72, 187, 120, 0.15);
|
|
color: var(--accent-success);
|
|
border: 1px solid rgba(72, 187, 120, 0.3);
|
|
}
|
|
|
|
.wf-badge-fail {
|
|
background: rgba(237, 137, 54, 0.15);
|
|
color: var(--accent-warning);
|
|
border: 1px solid rgba(237, 137, 54, 0.3);
|
|
}
|
|
|
|
.wf-icon {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.wf-text {
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.wf-score {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
padding: 2px 6px;
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Walk-Forward Results Tab */
|
|
.wf-summary {
|
|
display: flex;
|
|
gap: 30px;
|
|
margin-bottom: 30px;
|
|
align-items: center;
|
|
}
|
|
|
|
.robustness-gauge {
|
|
text-align: center;
|
|
padding: 25px;
|
|
background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
|
|
border-radius: 15px;
|
|
color: white;
|
|
min-width: 160px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.gauge-value {
|
|
font-size: 52px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.gauge-label {
|
|
font-size: 13px;
|
|
opacity: 0.95;
|
|
margin-top: 8px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.wf-status {
|
|
flex: 1;
|
|
padding: 20px 25px;
|
|
border-radius: 12px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.status-pass {
|
|
background: rgba(72, 187, 120, 0.15);
|
|
border-left: 4px solid var(--accent-success);
|
|
color: var(--accent-success);
|
|
}
|
|
|
|
.status-fail {
|
|
background: rgba(245, 101, 101, 0.15);
|
|
border-left: 4px solid var(--accent-danger);
|
|
color: var(--accent-danger);
|
|
}
|
|
|
|
.comparison-table {
|
|
margin: 25px 0;
|
|
background: var(--bg-secondary);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.comparison-table table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.comparison-table th,
|
|
.comparison-table td {
|
|
padding: 15px 20px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.comparison-table th {
|
|
background: var(--bg-card);
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
font-size: 11px;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.comparison-table tbody tr:hover {
|
|
background: var(--bg-hover);
|
|
}
|
|
|
|
.comparison-table .good {
|
|
color: var(--accent-success);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.comparison-table .warning {
|
|
color: var(--accent-warning);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.comparison-table .bad {
|
|
color: var(--accent-danger);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.wf-charts {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 25px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.wf-chart-container {
|
|
background: var(--bg-secondary);
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.wf-chart-container h4 {
|
|
margin-bottom: 15px;
|
|
color: var(--accent-primary);
|
|
font-size: 16px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.wf-charts {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.wf-summary {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
}
|
|
/* ===================================
|
|
Monte Carlo Simulation Styles
|
|
=================================== */
|
|
|
|
/* Monte Carlo Summary Cards */
|
|
.mc-summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.mc-stat-card {
|
|
background: var(--card-bg);
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
text-align: center;
|
|
border: 1px solid var(--border-color);
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.mc-stat-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.mc-stat-card h4 {
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 10px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.mc-value {
|
|
font-size: 2em;
|
|
font-weight: 700;
|
|
color: var(--accent-color);
|
|
margin: 0;
|
|
}
|
|
|
|
/* Risk level colors */
|
|
.mc-value.good { color: var(--accent-success); }
|
|
.mc-value.warning { color: var(--accent-warning); }
|
|
.mc-value.bad { color: var(--accent-danger); }
|
|
|
|
/* Monte Carlo Histogram */
|
|
#mc-histogram {
|
|
width: 100%;
|
|
height: 300px;
|
|
margin: 20px 0;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
/* Monte Carlo Statistics Table */
|
|
.mc-stats-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 20px;
|
|
background: var(--card-bg);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mc-stats-table th,
|
|
.mc-stats-table td {
|
|
padding: 12px 16px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.mc-stats-table th {
|
|
background: rgba(102, 126, 234, 0.1);
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.mc-stats-table td {
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.mc-stats-table tr:last-child td { border-bottom: none; }
|
|
.mc-stats-table tr:hover { background: rgba(102, 126, 234, 0.05); }
|
|
|
|
/* Monte Carlo Tab Content */
|
|
#montecarlo-tab { padding: 20px; }
|
|
|
|
/* Monte Carlo Settings */
|
|
#montecarlo-settings { margin-top: 15px; }
|
|
#montecarlo-settings label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
#montecarlo-settings input[type="range"] {
|
|
width: 100%;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#montecarlo-settings small {
|
|
display: block;
|
|
margin-top: -10px;
|
|
margin-bottom: 15px;
|
|
color: var(--text-secondary);
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Responsive Monte Carlo */
|
|
@media (max-width: 768px) {
|
|
.mc-summary { grid-template-columns: 1fr; }
|
|
.mc-value { font-size: 1.5em; }
|
|
#mc-histogram { height: 250px; }
|
|
}
|
|
|
|
/* Monte Carlo Button Style */
|
|
.btn-info {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 16px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
|
|
}
|
|
|
|
.btn-info:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
.btn-info:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* ===== MONTE CARLO MODAL STYLES ===== */
|
|
|
|
/* Monte Carlo Strategy Info */
|
|
.mc-strategy-info {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 20px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.mc-strategy-info h3 {
|
|
margin: 0 0 5px 0;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.mc-strategy-info p {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Risk Assessment Banner */
|
|
.mc-risk-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
margin-bottom: 30px;
|
|
border: 2px solid;
|
|
}
|
|
|
|
.mc-risk-banner.mc-good {
|
|
background: rgba(72, 187, 120, 0.1);
|
|
border-color: var(--accent-success);
|
|
}
|
|
|
|
.mc-risk-banner.mc-warning {
|
|
background: rgba(237, 137, 54, 0.1);
|
|
border-color: var(--accent-warning);
|
|
}
|
|
|
|
.mc-risk-banner.mc-bad {
|
|
background: rgba(245, 101, 101, 0.1);
|
|
border-color: var(--accent-danger);
|
|
}
|
|
|
|
.mc-risk-icon {
|
|
font-size: 48px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.mc-risk-content h3 {
|
|
margin: 0 0 10px 0;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.mc-risk-content p {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Summary Statistics Cards */
|
|
.mc-summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.mc-stat-card {
|
|
background: var(--card-bg);
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
text-align: center;
|
|
border: 1px solid var(--border-color);
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.mc-stat-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.mc-label {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.mc-value {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
margin-bottom: 5px;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.mc-value.positive {
|
|
color: var(--accent-success);
|
|
}
|
|
|
|
.mc-value.negative {
|
|
color: var(--accent-danger);
|
|
}
|
|
|
|
.mc-value.mc-good {
|
|
color: var(--accent-success);
|
|
}
|
|
|
|
.mc-value.mc-warning {
|
|
color: var(--accent-warning);
|
|
}
|
|
|
|
.mc-value.mc-bad {
|
|
color: var(--accent-danger);
|
|
}
|
|
|
|
.mc-sublabel {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Percentile Table */
|
|
.mc-percentiles {
|
|
margin: 30px 0;
|
|
}
|
|
|
|
.mc-percentiles h3 {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.mc-percentile-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: var(--card-bg);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mc-percentile-table thead {
|
|
background: rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.mc-percentile-table th,
|
|
.mc-percentile-table td {
|
|
padding: 12px 15px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.mc-percentile-table th {
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.mc-percentile-table td {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.mc-percentile-table tr.highlight-row {
|
|
background: rgba(102, 126, 234, 0.05);
|
|
}
|
|
|
|
.mc-percentile-table tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Confidence Intervals */
|
|
.mc-confidence {
|
|
margin: 30px 0;
|
|
}
|
|
|
|
.mc-confidence h3 {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.mc-confidence-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.mc-confidence-card {
|
|
background: var(--card-bg);
|
|
padding: 20px;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border-color);
|
|
text-align: center;
|
|
}
|
|
|
|
.mc-confidence-label {
|
|
font-size: 13px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.mc-confidence-value {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: var(--accent-primary);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.mc-confidence-sublabel {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Explanation Box */
|
|
.mc-explanation {
|
|
background: rgba(102, 126, 234, 0.05);
|
|
border-left: 4px solid var(--accent-primary);
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.mc-explanation h4 {
|
|
margin: 0 0 10px 0;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.mc-explanation p {
|
|
margin: 0;
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.mc-summary {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.mc-confidence-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.mc-risk-banner {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
}
|