﻿body {
    background: #f7f9fc;
}

.registrar-list-hero {
    background: linear-gradient(135deg, #0b2b6b 0%, #1a4a8a 100%);
    color: #fff;
    padding: 90px 0 50px;
}

    .registrar-list-hero .hero-title {
        font-size: 36px;
        font-weight: 800;
        letter-spacing: .5px;
        margin: 0 0 12px;
        text-align: center;
    }

    .registrar-list-hero .hero-sub {
        opacity: .92;
        margin: 0;
        text-align: center;
        font-size: 16px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

.registrar-list-section {
    padding: 30px 0 50px;
}

.registrar-list-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;
    }

.stats-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    min-width: 150px;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 6px;
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #0b2b6b;
    margin: 0 0 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.registrar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.registrar-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #e9ecef;
    display: block;
    text-decoration: none;
    color: inherit;
}

    .registrar-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        border-color: #4a9eff;
    }

.registrar-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.registrar-card a {
    text-decoration: none;
    color: inherit;
}

.registrar-card a:hover {
    text-decoration: none;
}

.registrar-card a .registrar-name,
.registrar-card a .registrar-description {
    text-decoration: none;
}

.registrar-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

    .registrar-logo.spaceship {
        background: #2196F3;
    }

    .registrar-logo.cosmotown {
        background: #4CAF50;
    }

    .registrar-logo.namecheap {
        background: #FF9800;
    }

    .registrar-logo.truehost {
        background: #9C27B0;
    }

    .registrar-logo.dreamhost {
        background: #00BCD4;
    }

    .registrar-logo.huawei {
        background: #FF5722;
    }

    .registrar-logo.volcano {
        background: #F44336;
    }

    .registrar-logo.sav {
        background: #3F51B5;
    }

    .registrar-logo.cloudflare {
        background: #F57C00;
    }

    .registrar-logo.quyu {
        background: #009688;
    }

    .registrar-logo.aliyun {
        background: #FF6B00;
    }

    .registrar-logo.tencent {
        background: #00A8FF;
    }

    .registrar-logo.default {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

.registrar-info {
    flex: 1;
    min-width: 0;
}

.registrar-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.registrar-description {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.registrar-stats {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin: 15px 0;
}

.registrar-stat {
    flex: 1;
    text-align: center;
}

.registrar-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #0b2b6b;
    margin: 0 0 3px;
}

.registrar-stat-label {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.registrar-card-footer {
    display: flex;
    gap: 10px;
}

.registrar-btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

span.registrar-btn {
    display: block;
}

.registrar-btn-primary {
    background: #4a9eff;
    color: white !important;
}

    .registrar-btn-primary:hover {
        background: #3a8eef;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(74, 158, 255, 0.3);
        color: white !important;
    }

    .registrar-btn-primary,
    .registrar-btn-primary:link,
    .registrar-btn-primary:visited,
    .registrar-btn-primary:hover,
    .registrar-btn-primary:active {
        color: white !important;
        text-decoration: none;
    }

.registrar-btn-secondary {
    background: #f0f0f0;
    color: #666;
    border: 1px solid #e0e0e0;
}

    .registrar-btn-secondary:hover {
        background: #e0e0e0;
        color: #333;
    }

.empty-state {
    padding: 60px 20px;
    text-align: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .empty-state i {
        font-size: 48px;
        margin-bottom: 20px;
        color: #ddd;
    }

    .empty-state p {
        font-size: 16px;
        color: #999;
        margin: 0;
    }

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .registrar-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-direction: column;
    }

    .stat-card {
        min-width: 100%;
    }
}

