﻿body {
    background: #f7f9fc;
}

/* 确保链接按钮样式与 Element UI 文本按钮一致 */
a.el-button.el-button--text {
    text-decoration: none;
    color: #409EFF;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

a.el-button.el-button--text:hover {
    color: #66b1ff;
    text-decoration: none;
}

a.el-button.el-button--text:active {
    color: #3a8ee6;
    text-decoration: none;
}

a.el-button.el-button--text:visited {
    color: #409EFF;
}

a.el-button.el-button--text i {
    font-size: 14px;
}

.tld-hero {
    background: linear-gradient(135deg, #0b2b6b 0%, #1a4a8a 100%);
    color: #fff;
    padding: 90px 0 50px;
}

    .tld-hero .hero-title {
        font-size: 36px;
        font-weight: 800;
        letter-spacing: .5px;
        margin: 0 0 12px;
        text-align: center;
    }

    .tld-hero .hero-sub {
        opacity: .92;
        margin: 0;
        text-align: center;
        font-size: 16px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

.tld-section {
    padding: 30px 0 50px;
}

.tld-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-filter-section {
    background: white;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
}

    .search-input .el-input__inner {
        height: 45px;
        font-size: 15px;
        padding: 0 20px;
    }

.currency-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 6px;
}

.currency-toggle-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.price-type-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.price-type-tab {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .price-type-tab i {
        font-size: 16px;
    }

    .price-type-tab:hover {
        border-color: #0b2b6b;
        color: #0b2b6b;
    }

    .price-type-tab.active {
        background: #e6f2ff;
        color: #0b2b6b;
        border-color: #0b2b6b;
        font-weight: 500;
    }

.tld-table-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.table-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.table-info {
    color: #666;
    font-size: 14px;
}

.tld-table {
    width: 100%;
    border-collapse: collapse;
}

    .tld-table thead {
        background: #f8f9fa;
    }

    .tld-table th {
        padding: 15px 20px;
        text-align: left;
        font-weight: 600;
        color: #333;
        font-size: 14px;
        border-bottom: 2px solid #e0e0e0;
    }

        .tld-table th:first-child {
            width: 150px;
        }

    .tld-table td {
        padding: 18px 20px;
        border-bottom: 1px solid #f0f0f0;
        color: #666;
        font-size: 14px;
    }

    .tld-table tbody tr:hover {
        background: #f8f9fa;
    }

.tld-name {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.price-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.registrar-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.registrar-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

    .registrar-icon.one-com {
        background: #4CAF50;
    }

    .registrar-icon.spaceship {
        background: #2196F3;
    }

    .registrar-icon.wordpress {
        background: #000;
    }

    .registrar-icon.alibaba {
        background: #FF6A00;
    }

    .registrar-icon.cosmotown {
        background: #9E9E9E;
    }

    .registrar-icon.sav {
        background: linear-gradient(135deg, #00BCD4, #0097A7);
    }

    .registrar-icon.porkbun {
        background: #E91E63;
    }

    .registrar-icon.tencent {
        background: #1890FF;
    }

    .registrar-icon.west {
        background: #1890FF;
    }

    .registrar-icon.xinnet {
        background: #E53935;
    }

    .registrar-icon.namecheap {
        background: #FF6B35;
    }

    .registrar-icon.domain-com {
        background: #E53935;
    }

    .registrar-icon.ovh {
        background: #123F6D;
    }

    .registrar-icon.inwx {
        background: #4CAF50;
    }

    .registrar-icon.pananames {
        background: linear-gradient(135deg, #667eea, #764ba2);
    }

    .registrar-icon.namesilo {
        background: #1565C0;
    }

    .registrar-icon.regtons {
        background: #64B5F6;
    }

    .registrar-icon.revery {
        background: #212121;
    }

.registrar-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.price-value {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.price-currency {
    color: #999;
    font-size: 13px;
}

.promo-icon {
    color: #ff6b35;
    font-size: 16px;
    cursor: pointer;
    margin-left: 5px;
    transition: all 0.3s;
}

    .promo-icon:hover {
        color: #ff4500;
        transform: scale(1.2);
    }

.error-icon {
    color: #999;
    font-size: 14px;
    cursor: pointer;
    margin-left: 5px;
    transition: all 0.3s;
}

    .error-icon:hover {
        color: #ff4d4f;
        transform: scale(1.2);
    }

.promo-dialog-content {
    padding: 10px 0;
}

.promo-info-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.promo-info-label {
    font-weight: 600;
    color: #333;
    min-width: 100px;
    margin-right: 10px;
}

.promo-info-value {
    color: #666;
    flex: 1;
}

    .promo-info-value a {
        color: #0b2b6b;
        text-decoration: none;
    }

        .promo-info-value a:hover {
            text-decoration: underline;
        }

.pagination-section {
    padding: 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}

.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #999;
}

    .empty-state i {
        font-size: 48px;
        margin-bottom: 20px;
        color: #ddd;
    }

    .empty-state p {
        font-size: 16px;
        margin: 0;
    }

@media (max-width: 768px) {
    .tld-table {
        display: block;
        overflow-x: auto;
    }

    .price-type-tabs {
        flex-direction: column;
    }

    .price-type-tab {
        width: 100%;
        justify-content: center;
    }
}
