﻿body {
    background: #f7f9fc;
}

.area-hero {
    background: linear-gradient(135deg, #0b2b6b 0%, #1a4a8a 100%);
    color: #fff;
    padding: 90px 0 50px;
}

    .area-hero .hero-title {
        font-size: 36px;
        font-weight: 800;
        letter-spacing: .5px;
        margin: 0 0 12px;
        text-align: center;
    }

    .area-hero .hero-sub {
        opacity: .92;
        margin: 0;
        text-align: center;
        font-size: 16px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

.area-section {
    padding: 30px 0 50px;
}

.area-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.main-search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.main-search-input {
    flex: 1;
}

    .main-search-input .el-input__inner {
        height: 50px;
        font-size: 16px;
        padding: 0 20px;
    }

.search-btn {
    height: 50px;
    padding: 0 30px;
    font-size: 16px;
}

.region-tabs-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.region-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.region-tab {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

    .region-tab:hover {
        border-color: #0b2b6b;
        color: #0b2b6b;
    }

    .region-tab.active {
        background: #0b2b6b;
        color: white;
        border-color: #0b2b6b;
    }

.country-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-search-input {
    width: 300px;
}

    .country-search-input .el-input__inner {
        height: 40px;
        font-size: 14px;
        padding: 0 15px;
    }

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.country-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

    .country-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

.country-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.country-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.country-flag {
    width: 32px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #f0f0f0;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

    .country-flag img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.country-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.select-all-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.tld-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tld-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tld-checkbox {
    margin: 0;
}

.tld-label,
.tld-label-link {
    font-size: 13px;
    color: #666;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    display: inline-block;
}

    .tld-label:hover,
    .tld-label-link:hover {
        color: #0b2b6b;
        text-decoration: underline;
    }

.selected-summary {
    background: white;
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    position: sticky;
    top: 80px;
    z-index: 10;
}

.summary-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.selected-tlds {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #e6f2ff;
    color: #0b2b6b;
    border-radius: 4px;
    font-size: 13px;
}

    .selected-tag .close-btn {
        cursor: pointer;
        color: #0b2b6b;
        font-size: 14px;
    }

        .selected-tag .close-btn:hover {
            color: #ff4d4f;
        }

.summary-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.compare-btn {
    background: #0b2b6b;
    color: white;
}

    .compare-btn:hover {
        background: #0d3a7a;
    }

    .compare-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

.clear-btn {
    background: white;
    color: #666;
    border: 1px solid #e0e0e0;
}

    .clear-btn:hover {
        background: #f0f0f0;
    }

.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;
    }

@media (max-width: 768px) {
    .countries-grid {
        grid-template-columns: 1fr;
    }

    .region-tabs-section {
        flex-direction: column;
        align-items: stretch;
    }

    .country-search-box {
        width: 100%;
    }

    .country-search-input {
        width: 100%;
    }

    .selected-summary {
        position: relative;
        top: 0;
    }
}

