﻿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;
    }

.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 8px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #666;
}

    .category-tab:hover {
        border-color: #0b2b6b;
        color: #0b2b6b;
    }

    .category-tab.active {
        background: #0b2b6b;
        color: white;
        border-color: #0b2b6b;
    }

.tld-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.tld-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
    text-align: center;
    position: relative;
}

    .tld-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        border-color: #0b2b6b;
    }

    .tld-card.has-badge::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 30px 30px 0;
        border-color: transparent #ff6b35 transparent transparent;
    }

.tld-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 10px;
    color: white;
    font-weight: 600;
    z-index: 1;
}

.tld-name {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.tld-description {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
    min-height: 32px;
}

.tld-category {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f0f0;
    color: #666;
    border-radius: 12px;
    font-size: 11px;
    margin-bottom: 10px;
}

    .tld-category.popular {
        background: #fff3cd;
        color: #856404;
    }

    .tld-category.new {
        background: #d1ecf1;
        color: #0c5460;
    }

    .tld-category.country {
        background: #d4edda;
        color: #155724;
    }

.tld-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.action-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

    .action-btn:hover {
        border-color: #0b2b6b;
        color: #0b2b6b;
        background: #f0f7ff;
    }

    .action-btn.primary {
        background: #0b2b6b;
        color: white;
        border-color: #0b2b6b;
    }

        .action-btn.primary:hover {
            background: #0d3a7a;
        }

.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: #999;
    background: white;
    border-radius: 8px;
}

    .empty-state i {
        font-size: 48px;
        margin-bottom: 20px;
        color: #ddd;
    }

    .empty-state p {
        font-size: 16px;
        margin: 0;
    }

.pagination-section {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.stats-section {
    background: white;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #0b2b6b;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .tld-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .tld-actions {
        flex-direction: column;
    }
}
