/* 市场列表页面样式 */
.market-list-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.market-list-section h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.market-table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow-x: auto;
    margin: 0 20px;
}

.market-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.market-table th,
.market-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.market-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.market-table tr:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

.coin-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.coin-name {
    font-weight: 500;
    color: #333;
}

.coin-symbol {
    color: #666;
    font-size: 0.9em;
}

/* 市场详情页面样式 */
.market-detail-section {
    padding: 40px 0;
    background-color: #fff;
}

.coin-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.coin-header h1 {
    margin-bottom: 10px;
    color: #333;
}

.price-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.current-price {
    font-size: 2em;
    font-weight: 600;
    color: #333;
}

.price-change {
    font-size: 1.2em;
    font-weight: 500;
}

.price-chart-container {
    height: 400px;
    margin: 0 20px 40px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.coin-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.detail-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item .label {
    color: #666;
    font-size: 0.9em;
}

.detail-item .value {
    color: #333;
    font-weight: 500;
}

.detail-item a {
    color: #007bff;
    text-decoration: none;
}

.detail-item a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .market-table-container {
        margin: 0 10px;
    }

    .market-table th,
    .market-table td {
        padding: 10px;
    }

    .price-chart-container {
        height: 300px;
        margin: 0 10px 30px;
        padding: 15px;
    }

    .coin-header {
        padding: 0 15px;
    }

    .current-price {
        font-size: 1.5em;
    }

    .price-change {
        font-size: 1em;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
} 