﻿body {
    background: #f7f9fc;
}

.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;
    }

.query-btn {
    height: 45px;
    padding: 0 30px;
    font-size: 15px;
}

.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 25px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

    .price-type-tab:hover {
        border-color: #0b2b6b;
        color: #0b2b6b;
    }

    .price-type-tab.active {
        background: #0b2b6b;
        color: white;
        border-color: #0b2b6b;
    }

.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.price-column {
            text-align: center;
        }

            .tld-table th.price-column.active {
                background: #e6f2ff;
                color: #0b2b6b;
            }

    .tld-table td {
        padding: 18px 20px;
        border-bottom: 1px solid #f0f0f0;
        color: #666;
        font-size: 14px;
    }

    .tld-table tbody tr:hover {
        background: #f8f9fa;
    }

    .tld-table td.price-column {
        text-align: center;
    }

        .tld-table td.price-column.active {
            background: #e6f2ff;
        }

.registrar-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.registrar-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

    .registrar-icon.cosmotown {
        background: #2196F3;
    }

    .registrar-icon.spaceship {
        background: #2196F3;
    }

    .registrar-icon.truehost {
        background: #64B5F6;
    }

    .registrar-icon.dreamhost {
        background: #1565C0;
    }

    .registrar-icon.volcano {
        background: #2196F3;
    }

    .registrar-icon.huawei {
        background: #E53935;
    }

    .registrar-icon.sav {
        background: linear-gradient(135deg, #00BCD4, #0097A7);
    }

    .registrar-icon.cloudflare {
        background: #F97316;
    }

    .registrar-icon.quyu {
        background: #FF6B35;
    }

    .registrar-icon.zyzy {
        background: #2196F3;
    }

    .registrar-icon.namecheap {
        background: #FF6B35;
    }

    .registrar-icon.namesilo {
        background: #1565C0;
    }

    .registrar-icon.alibaba {
        background: #FF6A00;
    }

    .registrar-icon.tencent {
        background: #1890FF;
    }

.registrar-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.price-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.price-value {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.price-currency {
    color: #999;
    font-size: 13px;
}

.error-icon {
    color: #999;
    font-size: 14px;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.3s;
}

    .error-icon:hover {
        color: #ff4d4f;
        transform: scale(1.2);
    }

.action-cell {
    text-align: center;
}

.visit-btn {
    padding: 6px 20px;
    background: #f0f0f0;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

    .visit-btn:hover {
        background: #e0e0e0;
        color: #333;
    }

.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;
    }
}

