/* FH Stock Ticker Frontend Styles */

.fh-stock-ticker-container {
    margin: 20px 0;
}

.fh-stock-ticker-asset {
    margin-bottom: 30px;
}

.fh-stock-ticker-no-data {
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    color: #666;
}

.table.table_markets {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #ddd;
}

.table-heading {
    background-color: #2c3e50;
}

.table-heading-cell {
    padding: 12px 15px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-row_subheading {
    background-color: #34495e;
}

.table-row_subheading .table-row-cell {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.table-row {
    border-bottom: 1px solid #eee;
}

.table-row:nth-child(even) {
    background-color: #f8f9fa;
}

.table-row:hover {
    background-color: #e9ecef;
}

.table-row-cell {
    padding: 10px 15px;
    border-right: 1px solid #eee;
    text-align: left;
    font-size: 13px;
    vertical-align: middle;
}

.table-row-cell:last-child {
    border-right: none;
}

.table-row-cell:not(:first-child) {
    text-align: right;
}

.table-row-cell-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

.table-row-cell-link:hover {
    color: #3498db;
    text-decoration: underline;
}

.text_bold {
    font-weight: 700;
    color: #2c3e50;
}

.text_green {
    color: #27ae60;
    font-weight: 600;
}

.text_red {
    color: #e74c3c;
    font-weight: 600;
}

.text_neutral {
    color: #666;
    font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
    .table.table_markets {
        font-size: 12px;
    }
    
    .table-row-cell {
        padding: 8px 10px;
    }
    
    .table-heading-cell,
    .table-row_subheading .table-row-cell {
        padding: 10px 8px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .table.table_markets {
        font-size: 11px;
    }
    
    .table-row-cell {
        padding: 6px 8px;
    }
    
    .table-heading-cell {
        font-size: 12px;
    }
    
    .table-row_subheading .table-row-cell {
        font-size: 10px;
    }
}