/**这是index.html里的CSS样式*/
.exchange-calculator {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.calculator-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.exchange-rates-table {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.rates-header {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.rates-header h4 {
    color: #2c3e50;
    font-weight: 600;
}

.update-time .badge {
    padding: 8px 12px;
    font-weight: normal;
    font-size: 0.85rem;
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.rate-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid #edf2f7;
}

.rate-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

.currency-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.currency-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.currency-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
}

.rate-body {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.current-rate {
    display: flex;
    align-items: baseline;
}

.rate-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    font-family: 'Roboto Mono', monospace;
}

.currency-unit {
    margin-left: 4px;
    color: #718096;
}

.change-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.875rem;
}

.change-badge i {
    margin-right: 4px;
    font-size: 12px;
}

.change-badge.up {
    background-color: #fef2f2;
    color: #dc2626;
}

.change-badge.down {
    background-color: #ebfaf5;
    color: #047857;
}

.change-badge.neutral {
    background-color: #f3f4f6;
    color: #6b7280;
}

@media (max-width: 768px) {
    .rates-grid {
        grid-template-columns: 1fr;
    }

    .rate-card {
        padding: 15px;
    }

    .currency-icon {
        width: 40px;
        height: 40px;
    }

    .rate-value {
        font-size: 1.25rem;
    }
}

.exchange-result {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2d3748;
    font-family: 'Roboto Mono', monospace;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.exchange-result.loading {
    opacity: 0.5;
    position: relative;
}

.exchange-result.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

.exchange-result .result-main {
    font-size: 1.75rem;
    font-weight: 600;
}

.exchange-result .result-rate {
    font-size: 0.875rem;
    color: #718096;
    margin-top: 0.5rem;
}

.exchange-result .error {
    color: #dc2626;
    font-size: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.futures-nav {
    background: #fff;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.futures-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-group {
    margin-bottom: 1.5rem;
}

.category-title {
    color: #34495e;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid #3498db;
}

.category-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.category-items .link {
    color: #666;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    background: #f8f9fa;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.category-items .link:hover {
    color: #fff;
    background: #3498db;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .futures-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-items {
        gap: 0.5rem;
    }

    .category-items .link {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }
}

/* 最新文章栏目样式 */
.latest-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.latest-article-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #edf2f7;
}

.latest-article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.latest-article-thumb {
    position: relative;
    padding-top: 66.67%;
    /* 3:2 宽高比 */
    overflow: hidden;
}

.latest-article-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-article-item:hover .latest-article-thumb img {
    transform: scale(1.05);
}

.latest-article-content {
    padding: 1.25rem;
}

.latest-article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.latest-article-title a {
    color: #2d3748;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-article-title a:hover {
    color: #3498db;
}

.latest-article-desc {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.5;
}

.latest-article-desc a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 992px) {
    .latest-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .latest-articles-grid {
        grid-template-columns: 1fr;
    }
}

/**这是a50.html里的CSS样式*/
.page-header {
    padding: 1.5rem 0;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.page-header .main-title {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-header .sub-title {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.current-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.current-price .unit {
    font-size: 1.2rem;
    color: #666;
    margin-left: 5px;
}

.price-change {
    font-size: 1.2rem;
}

.price-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 0;
}

.price-details .value {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 5px;
}

.market-info {
    color: #34495e;
    line-height: 1.6;
}

.market-info-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
}

.market-info-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    padding: 1rem 1.25rem;
}

.market-info-card .card-body {
    padding: 1.5rem;
}

.market-rules {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.market-rules li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
}

.market-rules li:last-child {
    border-bottom: none;
}

.market-rules i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 135, 84, 0.1);
    border-radius: 50%;
    margin-right: 12px;
    font-size: 0.8rem;
}

.disclaimer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, .05);
    color: #6c757d;
    font-size: 0.9rem;
}

.text-info {
    color: #5bc0de !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.current-price .currency {
    font-size: 2.5rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .current-price {
        font-size: 2rem;
    }

    .current-price .currency {
        font-size: 2rem;
    }

    .price-details .value {
        font-size: 1rem;
    }
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.related-links .link {
    display: inline-block;
    padding: 5px 12px;
    background: #f8f9fa;
    border-radius: 15px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.related-links .link:hover {
    background: #e9ecef;
    color: #0056b3;
    transform: translateY(-2px);
}

/**这是cnh.html里的CSS样式*/
.page-header {
    padding: 1.5rem 0;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.page-header .main-title {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-header .sub-title {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.current-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.current-price .unit {
    font-size: 1.2rem;
    color: #666;
    margin-left: 5px;
}

.price-change {
    font-size: 1.2rem;
}

.price-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 0;
}

.price-details .value {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 5px;
}

.market-info {
    color: #34495e;
    line-height: 1.6;
}

.market-info-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
}

.market-info-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    padding: 1rem 1.25rem;
}

.market-info-card .card-body {
    padding: 1.5rem;
}

.market-rules {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.market-rules li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
}

.market-rules li:last-child {
    border-bottom: none;
}

.market-rules i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 135, 84, 0.1);
    border-radius: 50%;
    margin-right: 12px;
    font-size: 0.8rem;
}

.disclaimer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, .05);
    color: #6c757d;
    font-size: 0.9rem;
}

.text-info {
    color: #5bc0de !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.current-price .currency {
    font-size: 2.5rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .current-price {
        font-size: 2rem;
    }

    .current-price .currency {
        font-size: 2rem;
    }

    .price-details .value {
        font-size: 1rem;
    }
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.related-links .link {
    display: inline-block;
    padding: 5px 12px;
    background: #f8f9fa;
    border-radius: 15px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.related-links .link:hover {
    background: #e9ecef;
    color: #0056b3;
    transform: translateY(-2px);
}

/**这是copper.html里的CSS样式*/
.page-header {
    padding: 1.5rem 0;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.page-header .main-title {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-header .sub-title {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.market-description {
    background: #fff;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.market-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.market-features i {
    position: absolute;
    left: 0;
    top: 4px;
}

.factor-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s;
}

.factor-item:hover {
    transform: translateY(-3px);
}

.factor-item h3 {
    color: #e67e22;
    margin-bottom: 10px;
}

.factor-item i {
    margin-right: 8px;
}

.factor-item p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.current-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.current-price .unit {
    font-size: 1.2rem;
    color: #666;
    margin-left: 5px;
}

.price-change {
    font-size: 1.2rem;
}

.price-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 0;
}

.price-details .value {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 5px;
}

.market-info {
    color: #34495e;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .current-price {
        font-size: 2rem;
    }

    .current-price .unit {
        font-size: 1rem;
    }

    .price-details .value {
        font-size: 1rem;
    }
}

.text-info {
    color: #5bc0de !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.current-price .currency {
    color: #333;
    font-weight: bold;
}

/**这是copperdetail.html里的CSS样式*/
/* Basic styles to maintain consistency with existing styles */
.current-price-large {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
}

.current-price-large .unit {
    font-size: 1.5rem;
    color: #666;
    margin-left: 5px;
}

.price-change {
    font-size: 1.3rem;
}

.price-details-large {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 0;
}

.detail-item {
    text-align: center;
}

.detail-item .value {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 5px;
}

.chart-container-large {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 0 -15px;
}

.chart-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-left: 15px;
}

.chart-wrapper {
    background: #fff;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-image {
    max-width: 100%;
    height: auto;
    min-height: 350px;
    object-fit: contain;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.market-info {
    color: #34495e;
    line-height: 1.6;
}

.market-info ul {
    padding-left: 20px;
    margin-top: 15px;
}

.market-info li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
    padding-left: 20px;
}

.market-info li:before {
    content: "?";
    color: #e67e22;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.list-group-item {
    border: none;
    padding: 12px 20px;
    margin-bottom: 5px;
    border-radius: 6px !important;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.analysis-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.analysis-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.analysis-item p {
    margin-bottom: 10px;
}

.market-strength {
    margin-top: 15px;
}

.strength-label {
    margin-bottom: 8px;
    color: #2c3e50;
}

.progress {
    height: 10px;
    border-radius: 5px;
}

.sentiment-indicator {
    text-align: center;
}

.sentiment-score {
    margin-bottom: 20px;
}

.score-value {
    font-size: 2.5rem;
    font-weight: bold;
}

.score-label {
    font-size: 1.2rem;
    font-weight: 500;
}

.sentiment-meter .meter-scale {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #666;
    font-size: 0.9rem;
}

.trading-tips .tip-item {
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
}

.trading-tips .tip-item i {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .current-price-large {
        font-size: 2.5rem;
    }

    .current-price-large .unit {
        font-size: 1.2rem;
    }

    .price-details-large {
        padding: 15px;
    }

    .detail-item .value {
        font-size: 1.1rem;
    }

    .chart-container-large {
        margin: 0 -10px;
        padding: 15px;
    }

    .chart-wrapper {
        min-height: 300px;
        padding: 10px;
    }

    .chart-image {
        min-height: 250px;
    }
}

/**这是exchange.html里的CSS样式*/
/* Exchange Rate Converter Styles */
.exchange-calculator {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 20px 0;
}

.exchange-calculator h2 {
    color: #333;
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
}

.calculator-form {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    min-height: 90px;
    height: auto;
    overflow: visible;
}

.form-group label {
    color: #495057;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

/* 统一输入框和选择框样式 */
.currency-input,
.currency-select {
    width: 100%;
    height: 50px !important;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.currency-select {
    padding-right: 30px;
    background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .75rem center;
    background-size: 8px 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.currency-input:focus,
.currency-select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.btn-convert {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s;
}

.btn-convert:hover {
    background: #0056b3;
    color: #fff;
}

.exchange-icon {
    font-size: 24px;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

/* Result Display Section */
.result-section {
    font-size: 24px;
    margin: 30px 0;
    color: #333;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.result-section .h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.result-section .result-amount {
    font-size: 32px;
    color: #333;
    font-weight: bold;
    margin: 15px 0;
}

.update-time {
    color: #666;
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.8;
}

/* Exchange Rate Table Styles */
.rate-table {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.rate-table h3 {
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
}

.table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Search Item Styles */
.search-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
}

.search-item:hover {
    background: #e9ecef;
    text-decoration: none;
    color: #666;
}

.flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 5px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .exchange-icon {
        margin: 15px 0;
        font-size: 20px;
    }

    .currency-input,
    .currency-select {
        font-size: 14px;
        padding: 10px;
    }

    .rate-table {
        padding: 15px;
    }

    .table th,
    .table td {
        padding: 8px;
        font-size: 14px;
    }
}

/**这是exchangevalue.html里的CSS样式*/
/* Currency Converter Style */
.exchange-calculator {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 20px 0;
}

.exchange-calculator h2 {
    color: #333;
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
}

.calculator-form {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    min-height: 90px;
    height: auto;
    overflow: visible;
}

.form-group label {
    color: #495057;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

/* Unify input field and radio button styles */
.currency-input,
.currency-select {
    width: 100%;
    height: 50px !important;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.currency-select {
    padding-right: 30px;
    background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .75rem center;
    background-size: 8px 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.currency-input:focus,
.currency-select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.btn-convert {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s;
}

.btn-convert:hover {
    background: #0056b3;
    color: #fff;
}

.exchange-icon {
    font-size: 24px;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

/* 其他样式保持不变 */
.result-section {
    font-size: 24px;
    margin: 30px 0;
    color: #333;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.result-section .h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.result-section .result-amount {
    font-size: 32px;
    color: #333;
    font-weight: bold;
    margin: 15px 0;
}

.update-time {
    color: #666;
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.8;
}

.rate-table {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.rate-table h3 {
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.search-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
}

.search-item:hover {
    background: #e9ecef;
    text-decoration: none;
    color: #666;
}

.flag-icon {
    width: 20px;
    height: 15px;
    margin-right: 5px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .exchange-icon {
        margin: 15px 0;
        font-size: 20px;
    }

    .currency-input,
    .currency-select {
        font-size: 14px;
        padding: 10px;
    }
}

/**这是futures.html里的CSS样式*/
.page-header {
    padding: 1.5rem 0;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.page-header .main-title {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-header .sub-title {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.current-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.current-price .unit {
    font-size: 1.2rem;
    color: #666;
    margin-left: 5px;
}

.price-change {
    font-size: 1.2rem;
}

.price-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 0;
}

.price-details .value {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 5px;
}

.market-info {
    color: #34495e;
    line-height: 1.6;
}

.market-description {
    background: #fff;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.market-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.market-features i {
    position: absolute;
    left: 0;
    top: 4px;
}

.factor-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s;
}

.factor-item:hover {
    transform: translateY(-3px);
}

.factor-item h3 {
    color: #e67e22;
    margin-bottom: 10px;
}

.factor-item i {
    margin-right: 8px;
}

.factor-item p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .current-price {
        font-size: 2rem;
    }

    .current-price .unit {
        font-size: 1rem;
    }

    .price-details .value {
        font-size: 1rem;
    }
}

.text-info {
    color: #5bc0de !important;
    /* Use a lighter blue */
}

.text-danger {
    color: #dc3545 !important;
    /* Bright red */
}

.text-success {
    color: #28a745 !important;
    /* Bright green */
}

.current-price .currency {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

@media (max-width: 768px) {
    .current-price .currency {
        font-size: 2rem;
    }
}

/**这是glod.html里的CSS样式*/
.gold-price-box {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.current-price {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.current-price .unit {
    font-size: 1rem;
    color: #666;
    margin-left: 5px;
}

.price-change {
    font-size: 1.1rem;
}

.price-details {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
}

.price-details small {
    display: block;
    margin-bottom: 2px;
}

.gold-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.note-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chart-container {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
}

.chart-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.gold-info-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.info-title {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.info-content {
    color: #34495e;
    line-height: 1.8;
}

.info-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ffd700;
}

.info-section:last-of-type {
    margin-bottom: 20px;
}

.info-section h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-section ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.info-section ul li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
    padding-left: 20px;
}

.info-section ul li:before {
    content: "?";
    color: #ffd700;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.info-section strong {
    color: #2c3e50;
    font-weight: 600;
}

.lead {
    font-size: 1.25rem;
    color: #666;
    font-weight: 300;
}

.disclaimer {
    margin-top: 10px;
    padding: 20px;
    background: #fff3cd;
    border-radius: 8px;
    border: 1px solid #ffeeba;
}

.disclaimer p {
    color: #856404;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.disclaimer i {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .col-12.px-md-3 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .gold-info-box {
        padding: 20px;
        border-radius: 0;
    }

    .info-section {
        padding: 15px;
    }

    .info-title {
        font-size: 1.5rem;
    }

    .info-section h3 {
        font-size: 1.2rem;
    }
}

.text-info {
    color: #5bc0de !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.current-price .currency {
    color: #333;
    font-weight: bold;
}

/**golddetail.html里的CSS样式*/
/* Basic styles to maintain consistency with existing styles */
.current-price-large {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
}

.current-price-large .unit {
    font-size: 1.5rem;
    color: #666;
    margin-left: 5px;
}

.price-change {
    font-size: 1.3rem;
}

.price-details-large {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 0;
}

.detail-item {
    text-align: center;
}

.detail-item .value {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 5px;
}

.chart-container-large {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 0 -15px;
}

.chart-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-left: 15px;
}

.chart-wrapper {
    background: #fff;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-image {
    max-width: 100%;
    height: auto;
    min-height: 350px;
    object-fit: contain;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.market-info {
    color: #34495e;
    line-height: 1.6;
}

.market-info ul {
    padding-left: 20px;
    margin-top: 15px;
}

.market-info li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
    padding-left: 20px;
}

.market-info li:before {
    content: "?";
    color: #ffd700;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.list-group-item {
    border: none;
    padding: 12px 20px;
    margin-bottom: 5px;
    border-radius: 6px !important;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .current-price-large {
        font-size: 2.5rem;
    }

    .current-price-large .unit {
        font-size: 1.2rem;
    }

    .price-details-large {
        padding: 15px;
    }

    .detail-item .value {
        font-size: 1.1rem;
    }

    .chart-container-large {
        margin: 0 -10px;
        padding: 15px;
    }

    .chart-wrapper {
        min-height: 300px;
        padding: 10px;
    }

    .chart-image {
        min-height: 250px;
    }
}

/* Added Styles */
.analysis-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.analysis-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.analysis-item p {
    margin-bottom: 10px;
}

.market-strength {
    margin-top: 15px;
}

.strength-label {
    margin-bottom: 8px;
    color: #2c3e50;
}

.progress {
    height: 10px;
    border-radius: 5px;
}

.news-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.news-title {
    color: #2c3e50;
    font-weight: 500;
}

.sentiment-indicator {
    text-align: center;
}

.sentiment-score {
    margin-bottom: 20px;
}

.score-value {
    font-size: 2.5rem;
    font-weight: bold;
}

.score-label {
    font-size: 1.2rem;
    font-weight: 500;
}

.sentiment-meter .meter-scale {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #666;
    font-size: 0.9rem;
}

.trading-tips .tip-item {
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
}

.trading-tips .tip-item i {
    margin-right: 10px;
}

/**iron.html里的CSS样式*/
.page-header {
    padding: 1.5rem 0;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.page-header .main-title {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-header .sub-title {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.current-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.current-price .unit {
    font-size: 1.2rem;
    color: #666;
    margin-left: 5px;
}

.price-change {
    font-size: 1.2rem;
}

.price-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 0;
}

.price-details .value {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 5px;
}

.market-info {
    color: #34495e;
    line-height: 1.6;
}

.market-description {
    background: #fff;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.market-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.market-features i {
    position: absolute;
    left: 0;
    top: 4px;
}

.factor-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s;
}

.factor-item:hover {
    transform: translateY(-3px);
}

.factor-item h3 {
    color: #e67e22;
    margin-bottom: 10px;
}

.factor-item i {
    margin-right: 8px;
}

.factor-item p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .current-price {
        font-size: 2rem;
    }

    .current-price .unit {
        font-size: 1rem;
    }

    .price-details .value {
        font-size: 1rem;
    }
}

.text-info {
    color: #5bc0de !important;
    /* Use a lighter blue */
}

.text-danger {
    color: #dc3545 !important;
    /* Bright red */
}

.text-success {
    color: #28a745 !important;
    /* Bright green */
}

.current-price .currency {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

@media (max-width: 768px) {
    .current-price .currency {
        font-size: 2rem;
    }
}

/**list_article.html里的CSS样式*/
.zx-thumb-box {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    padding-top: 66.67%;
    /* Set fixed aspect ratio 3:2 */
}

.zx-thumb-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure image fills entire container while maintaining aspect ratio */
    transition: transform 0.3s ease;
}

.zx-thumb-box:hover img {
    transform: scale(1.05);
}

.zx-hot-list .zx-hot-num {
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 12px;
}

.zx-hot-list .zx-hot-item:nth-child(-n+3) .zx-hot-num {
    background: #dc3545;
    color: #fff;
}

.zx-bank-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.zx-bank-link:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #333;
}

.zx-bank-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 8px;
}

.zx-bank-link span {
    font-size: 12px;
    text-align: center;
}

@media (max-width: 768px) {
    .zx-article-item .col-md-4 {
        margin-bottom: 1rem;
    }

    .zx-bank-logo {
        width: 32px;
        height: 32px;
    }

    .zx-bank-link span {
        font-size: 12px;
    }
}

.exchange-calculator {
    background: #fff;
    border-radius: 4px;
}

.calculator-wrapper {
    width: 100%;
}

.form-select {
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
}

.form-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.exchange-result {
    min-height: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.exchange-result.loading {
    opacity: 0.5;
    position: relative;
}

.exchange-result.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.exchange-result .result-main {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
}

.exchange-result .error {
    color: #dc2626;
    font-size: 0.875rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

.form-label {
    font-size: 0.875rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    font-size: 0.875rem;
}

/**oil.html里的CSS样式*/
.page-header {
    padding: 1.5rem 0;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.page-header .main-title {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-header .sub-title {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.market-description {
    background: #fff;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.market-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.market-features i {
    position: absolute;
    left: 0;
    top: 4px;
}

.factor-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.2s;
}

.factor-item:hover {
    transform: translateY(-3px);
}

.factor-item h3 {
    color: #e67e22;
    margin-bottom: 10px;
}

.factor-item i {
    margin-right: 8px;
}

.factor-item p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.current-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.current-price .unit {
    font-size: 1.2rem;
    color: #666;
    margin-left: 5px;
}

.price-change {
    font-size: 1.2rem;
}

.price-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 0;
}

.price-details .value {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 5px;
}

.market-info {
    color: #34495e;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .current-price {
        font-size: 2rem;
    }

    .current-price .unit {
        font-size: 1rem;
    }

    .price-details .value {
        font-size: 1rem;
    }
}

.text-info {
    color: #5bc0de !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.current-price .currency {
    color: #333;
    font-weight: bold;
}

/**oilcn.html里的CSS样式*/
.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-title {
    color: #333;
    font-weight: bold;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.card-title a:hover {
    color: #007bff !important;
}

.card-title .fas {
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.card-title a:hover .fas {
    transform: translateX(3px);
}

.price-item {
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 5px;
}

.change {
    font-size: 0.9rem;
    margin-top: 5px;
}

.text-primary {
    color: #007bff !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.alert-info {
    background-color: #e3f2fd;
    border-color: #bee5eb;
    color: #0c5460;
}

/* 相关链接样式 */
.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.related-links .link {
    color: #666;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 20px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.related-links .link:hover {
    color: #fff;
    background-color: #007bff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .price {
        font-size: 1rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .change {
        font-size: 0.8rem;
    }

    .related-links {
        gap: 10px;
    }

    .related-links .link {
        padding: 4px 12px;
        font-size: 0.9rem;
    }
}

/**oilcndetail.html里的CSS样式*/
.card-title {
    color: #333;
    font-weight: bold;
}

.table th {
    background-color: #f8f9fa;
    border-top: none;
}

.price-current {
    font-weight: bold;
    color: #007bff;
}

.price-last {
    color: #6c757d;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.alert-info {
    background-color: #e3f2fd;
    border-color: #bee5eb;
    color: #0c5460;
}

@media (max-width: 768px) {
    .table {
        font-size: 0.9rem;
    }

    .card-title {
        font-size: 1.25rem;
    }
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related-links .link {
    color: #666;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 20px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    font-size: 14px;
}

.related-links .link:hover {
    color: #fff;
    background-color: #007bff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .related-links {
        gap: 8px;
    }

    .related-links .link {
        padding: 4px 12px;
        font-size: 13px;
    }
}


/**oildetail.html里的CSS样式*/
/* Maintain consistent base styles with original design */
.current-price-large {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
}

.current-price-large .unit {
    font-size: 1.5rem;
    color: #666;
    margin-left: 5px;
}

.price-change {
    font-size: 1.3rem;
}

.price-details-large {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 0;
}

.detail-item {
    text-align: center;
}

.detail-item .value {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 5px;
}

.chart-container-large {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 0 -15px;
}

.chart-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-left: 15px;
}

.chart-wrapper {
    background: #fff;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-image {
    max-width: 100%;
    height: auto;
    min-height: 350px;
    object-fit: contain;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.market-info {
    color: #34495e;
    line-height: 1.6;
}

.market-info ul {
    padding-left: 20px;
    margin-top: 15px;
}

.market-info li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
    padding-left: 20px;
}

.market-info li:before {
    content: "•";
    color: #e67e22;
    /* 使用橙色代表原油 */
    font-weight: bold;
    position: absolute;
    left: 0;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.list-group-item {
    border: none;
    padding: 12px 20px;
    margin-bottom: 5px;
    border-radius: 6px !important;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .current-price-large {
        font-size: 2.5rem;
    }

    .current-price-large .unit {
        font-size: 1.2rem;
    }

    .price-details-large {
        padding: 15px;
    }

    .detail-item .value {
        font-size: 1.1rem;
    }

    .chart-container-large {
        margin: 0 -10px;
        padding: 15px;
    }

    .chart-wrapper {
        min-height: 300px;
        padding: 10px;
    }

    .chart-image {
        min-height: 250px;
    }
}

/* 新增样式 */
.analysis-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.analysis-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.analysis-item p {
    margin-bottom: 10px;
}

.market-strength {
    margin-top: 15px;
}

.strength-label {
    margin-bottom: 8px;
    color: #2c3e50;
}

.progress {
    height: 10px;
    border-radius: 5px;
}

.sentiment-indicator {
    text-align: center;
}

.sentiment-score {
    margin-bottom: 20px;
}

.score-value {
    font-size: 2.5rem;
    font-weight: bold;
}

.score-label {
    font-size: 1.2rem;
    font-weight: 500;
}

.sentiment-meter .meter-scale {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #666;
    font-size: 0.9rem;
}

.trading-tips .tip-item {
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
}

.trading-tips .tip-item i {
    margin-right: 10px;
}

/**show_article.html里的CSS样式*/
.article-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.4;
}

.article-meta {
    font-size: 0.875rem;
}

.article-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #2d3748;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.article-tags .btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
}

.article-nav {
    font-size: 0.875rem;
}

.zx-thumb-box {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    padding-top: 66.67%;
    /* Set fixed aspect ratio 3:2 */
}

.zx-thumb-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure image fills entire container while maintaining aspect ratio */
    transition: transform 0.3s ease;
}

.zx-thumb-box:hover img {
    transform: scale(1.05);
}

.exchange-calculator {
    background: #fff;
    border-radius: 4px;
}

.calculator-wrapper {
    width: 100%;
}

.form-select {
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
}

.form-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.exchange-result {
    min-height: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.exchange-result.loading {
    opacity: 0.5;
    position: relative;
}

.exchange-result.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.exchange-result .result-main {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
}

.exchange-result .error {
    color: #dc2626;
    font-size: 0.875rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

.form-label {
    font-size: 0.875rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    font-size: 0.875rem;
}

.zx-bank-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.zx-bank-link:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #333;
}

.zx-bank-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 8px;
}

.zx-bank-link span {
    font-size: 12px;
    text-align: center;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.5rem;
    }

    .zx-bank-logo {
        width: 32px;
        height: 32px;
    }

    .zx-bank-link span {
        font-size: 12px;
    }
}

/**silver.html里的CSS样式*/
.silver-price-box {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.current-price {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.current-price .unit {
    font-size: 1rem;
    color: #666;
    margin-left: 5px;
}

.price-change {
    font-size: 1.1rem;
}

.price-details {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
}

.price-details small {
    display: block;
    margin-bottom: 2px;
}

.silver-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.note-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chart-container {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
}

.chart-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.info-title {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.info-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #C0C0C0;
}

.info-section h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-section ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.info-section ul li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
    padding-left: 20px;
}

.info-section ul li:before {
    content: "•";
    color: #C0C0C0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.disclaimer {
    margin: 20px;
    padding: 20px;
    background: #fff3cd;
    border-radius: 8px;
    border: 1px solid #ffeeba;
}

.disclaimer p {
    color: #856404;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.disclaimer i {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .col-12.px-md-3 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .info-title {
        font-size: 1.5rem;
        padding: 15px;
    }

    .info-section {
        padding: 15px;
    }

    .info-section h3 {
        font-size: 1.2rem;
    }
}

.text-info {
    color: #5bc0de !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.current-price .currency {
    color: #333;
    font-weight: bold;
}

/**silverdetail.html里的CSS样式*/
/* Maintain consistent base styles with original design */
.current-price-large {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
}

.current-price-large .unit {
    font-size: 1.5rem;
    color: #666;
    margin-left: 5px;
}

.price-change {
    font-size: 1.3rem;
}

.price-details-large {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 0;
}

.detail-item {
    text-align: center;
}

.detail-item .value {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 5px;
}

.chart-container-large {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 0 -15px;
}

.chart-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-left: 15px;
}

.chart-wrapper {
    background: #fff;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-image {
    max-width: 100%;
    height: auto;
    min-height: 350px;
    object-fit: contain;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.market-info {
    color: #34495e;
    line-height: 1.6;
}

.market-info ul {
    padding-left: 20px;
    margin-top: 15px;
}

.market-info li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
    padding-left: 20px;
}

.market-info li:before {
    content: "•";
    color: #c0c0c0;
    /* 改用银色 */
    font-weight: bold;
    position: absolute;
    left: 0;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.list-group-item {
    border: none;
    padding: 12px 20px;
    margin-bottom: 5px;
    border-radius: 6px !important;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .current-price-large {
        font-size: 2.5rem;
    }

    .current-price-large .unit {
        font-size: 1.2rem;
    }

    .price-details-large {
        padding: 15px;
    }

    .detail-item .value {
        font-size: 1.1rem;
    }

    .chart-container-large {
        margin: 0 -10px;
        padding: 15px;
    }

    .chart-wrapper {
        min-height: 300px;
        padding: 10px;
    }

    .chart-image {
        min-height: 250px;
    }
}

/* New styles */
.analysis-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.analysis-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.analysis-item p {
    margin-bottom: 10px;
}

.market-strength {
    margin-top: 15px;
}

.strength-label {
    margin-bottom: 8px;
    color: #2c3e50;
}

.progress {
    height: 10px;
    border-radius: 5px;
}

.sentiment-indicator {
    text-align: center;
}

.sentiment-score {
    margin-bottom: 20px;
}

.score-value {
    font-size: 2.5rem;
    font-weight: bold;
}

.score-label {
    font-size: 1.2rem;
    font-weight: 500;
}

.sentiment-meter .meter-scale {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #666;
    font-size: 0.9rem;
}

.trading-tips .tip-item {
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
}

.trading-tips .tip-item i {
    margin-right: 10px;
}


/**usdx.html里的CSS样式*/
.page-header {
    padding: 1.5rem 0;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.page-header .main-title {
    font-size: 2rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-header .sub-title {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.current-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.current-price .unit {
    font-size: 1.2rem;
    color: #666;
    margin-left: 5px;
}

.price-change {
    font-size: 1.2rem;
}

.price-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 0;
}

.price-details .value {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 5px;
}

.market-info {
    color: #34495e;
    line-height: 1.6;
}

.market-info-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
}

.market-info-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    padding: 1rem 1.25rem;
}

.market-info-card .card-body {
    padding: 1.5rem;
}

.market-rules {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.market-rules li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
}

.market-rules li:last-child {
    border-bottom: none;
}

.market-rules i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 135, 84, 0.1);
    border-radius: 50%;
    margin-right: 12px;
    font-size: 0.8rem;
}

.disclaimer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, .05);
    color: #6c757d;
    font-size: 0.9rem;
}

.text-info {
    color: #5bc0de !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.current-price .currency {
    font-size: 2.5rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .current-price {
        font-size: 2rem;
    }

    .current-price .currency {
        font-size: 2rem;
    }

    .price-details .value {
        font-size: 1rem;
    }
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.related-links .link {
    display: inline-block;
    padding: 5px 12px;
    background: #f8f9fa;
    border-radius: 15px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.related-links .link:hover {
    background: #e9ecef;
    color: #0056b3;
    transform: translateY(-2px);
}