/* 价格变动页面容器 */
.price-changes-container {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 40px;
    margin-top: 30px;
}


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

.price-changes-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px 30px;
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    border-bottom: 2px solid #f0f2f5;
}

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

.price-changes-header-main::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1E9FFF 0%, #00d4ff 100%);
    border-radius: 2px;
}

.price-changes-header-main h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-changes-header-main h1 i {
    color: #1E9FFF;
    font-size: 26px;
}

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

.price-changes-content {
    display: flex;
    gap: 25px;
    padding: 30px;
}

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

.price-changes-table {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.price-changes-table-header {
    display: flex;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2d3748;
}

.price-changes-table-header > div {
    font-size: 14px;
    display: flex;
    align-items: center;
}

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

/* 表格列样式 */
.price-changes-row > div {
    font-size: 14px;
    color: #4a5568;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.price-changes-col-date {
    width: 180px;
    flex: 0 0 180px;
    color: #718096;
}

.price-changes-col-name {
    flex: 1;
    min-width: 0;
    text-align: left;
    padding-left: 10px;
}

.price-changes-col-before {
    width: 120px;
    flex: 0 0 120px;
    text-align: center;
}

.price-changes-col-after {
    width: 120px;
    flex: 0 0 120px;
    text-align: center;
}

.price-changes-col-change {
    width: 120px;
    flex: 0 0 120px;
    text-align: center;

}

.price-changes-row {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f2f5;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

.price-changes-row:last-child {
    border-bottom: none;
}

.price-changes-row:hover {
    background: linear-gradient(90deg, #fff9e6 0%, #fffbf0 100%);
    transform: translateX(5px);
    box-shadow: 0 2px 12px rgba(30, 159, 255, 0.08);
}

.price-changes-product {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-changes-product a {
    color: #2d3748;
    text-decoration: none;
    transition: all 0.25s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

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

.price-changes-sidebar {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.price-changes-sidebar img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.price-changes-sidebar img:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* 价格变动指示器 */
.price-changes-indicator-up {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.price-changes-indicator-up i {
    color: #dc2626;
    font-size: 11px;
}

.price-changes-indicator-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #d1fae5 0%, #f8fffc 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.price-changes-indicator-down i {
    color: #059669;
    font-size: 11px;
}

.price-changes-value-up {
    color: #dc2626;
    background: linear-gradient(135deg, #fee2e2 0%, #fff3f3 100%);
    padding: 4px 10px;
    border-radius: 6px;

    display: inline-block;
}

.price-changes-value-down {
    color: #059669;
    background: linear-gradient(135deg, #d1fae5 0%, #f8fffc 100%);
    padding: 4px 10px;
    border-radius: 6px;

    display: inline-block;
}


