/* 价格变动页面容器 */
.price-changes-container {
    width: 1420px;
    margin: 0 auto;
    /* padding: 20px; */
    background: #fff;
 
}

.price-changes-wrapper {
    width: 100%;
}

.price-changes-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
    text-align: center;
}

.price-changes-header-main::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 2px;
    background: #1E9FFF;
}

.price-changes-header-main {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
}

.price-changes-header-main i {
    font-size: 32px;
    color: #1E9FFF;
    margin-right: 15px;
    background: rgba(30, 159, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.price-changes-header-main:hover i {
    transform: rotate(15deg);
    background: rgba(30, 159, 255, 0.2);
}

.price-changes-header-main h1 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 0;
    position: relative;
}

.price-changes-header-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 10px 0;
}



.price-changes-header-desc::before {
    left: 20%;
}

.price-changes-header-desc::after {
    right: 20%;
}

.price-changes-header-desc i {
    color: #1E9FFF;
    margin-right: 8px;
    font-size: 16px;
}

.price-changes-content {
    display: flex;
    gap: 20px;
}

.price-changes-main {
    flex: 1;
    min-width: 0;
}

.price-changes-table {
    width: 100%;
}

.price-changes-table-header {
    display: flex;
    background: #f8f8f8;
    padding: 20px 0;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* 移除通用样式，改用特定列样式 */
.price-changes-table-header > div,
.price-changes-row > div {
    text-align: center;
    font-size: 15px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 表格列样式 */
.price-changes-col-date {
    width: 180px !important;
    flex: 0 0 180px !important;
    color: #989898 !important;
}

.price-changes-col-name {
    width: 620px !important;
    flex: 0 0 620px !important;
    text-align: left !important;
    padding-left: 20px !important;
}

.price-changes-col-before {
    width: 120px !important;
    flex: 0 0 120px !important;
}

.price-changes-col-after {
    width: 120px !important;
    flex: 0 0 120px !important;
}

.price-changes-col-change {
    width: 120px !important;
    flex: 0 0 120px !important;
}

.price-changes-row {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.price-changes-row:hover {
    background-color: #d2ebff;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding-left: 10px;
    padding-right: 10px;
}

.price-changes-product {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.price-changes-product a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.price-changes-product a:hover {
    color: #1E9FFF;
}

.price-changes-sidebar {
 
    align-items: center;
    justify-content: center;
}

.price-changes-sidebar img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* 价格变动指示器 */
.price-changes-indicator-up {
    color: #f64e06;
    font-size: 14px;
    padding-right: 5px;
    flex-shrink: 0;
}

.price-changes-indicator-down {
    color: #0fc92d;
    font-size: 14px;
    padding-right: 5px;
    flex-shrink: 0;
}

.price-changes-value-up {
    color: #dc0001;
}

.price-changes-value-down {
    color: #0f9526;
}

.price-changes-table-header div i {
    margin-right: 5px;
    color: #1E9FFF;
    font-size: 14px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .price-changes-content {
        flex-direction: column;
    }
    
    .price-changes-sidebar {
        width: 100%;
        margin-top: 20px;
    }
    
    .price-changes-table-header,
    .price-changes-row {
        font-size: 12px;
    }
}
