/* Trading Pages Shared Styles */

.trading-hero {
    background: #fff;
    padding: 120px 0 80px;
}

.trading-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trading-hero-content h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    color: #1a2b48;
    margin-bottom: 30px;
    line-height: 1.1;
}

.trading-hero-content p {
    font-size: 18px;
    color: #444;
    margin-bottom: 40px;
    line-height: 1.7;
}

.trading-hero-image img {
    width: 100%;
    max-width: 600px; /* Limited size */
    border-radius: 12px;
    display: block;
    margin-left: auto;
}

/* Profit Section */
.profit-section {
    padding: 120px 0;
    background: #fcfcfc;
}

.profit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.profit-content h2 {
    font-size: var(--fs-h2);
    font-weight: 800;
    color: #1a2b48;
    margin-bottom: 30px;
    line-height: 1.2;
}

.profit-content p {
    font-size: 17px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.profit-image img {
    width: 100%;
    max-width: 600px; /* Limited size */
    border-radius: 12px;
}

/* Table Section */
.table-section {
    padding: 100px 0;
}

.instruments-table-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 50px;
}

.instruments-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.instruments-table th {
    background: #f8f9fb;
    padding: 20px;
    text-align: left;
    font-weight: 700;
    color: #1a2b48;
    font-size: 14px;
}

.instruments-table td {
    padding: 20px;
    border-top: 1px solid #eee;
    font-weight: 600;
}

.instrument-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.instrument-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.change-up { color: #00c853; }
.change-down { color: #ff3d00; }

/* Chart Section */
.chart-section {
    padding: 100px 0;
    background: #fff;
}

.chart-container {
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .trading-hero-grid, .profit-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .trading-hero-image, .profit-image {
        order: -1;
    }
}
