﻿.listings-hero {
    background: linear-gradient(135deg, #1890ff 0%, #0066cc 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
}

    .listings-hero h1 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .listings-hero p {
        font-size: 1rem;
        margin-bottom: 0;
        opacity: 0.9;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.simple-search-section {
    padding-top:40px;
    /*padding: 40px 0;*/
    background: #f8f9fa;
}

.simple-search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.search-box {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom:0;
}

.search-input {
    flex: 1;
}

    .search-input .el-input__inner {
        height: 50px;
        font-size: 16px;
        padding: 0 20px;
    }

.el-button--primary {
    height: 50px;
    padding: 0 30px;
    font-size: 16px;
}

.toggle-filters {
    background: none;
    border: none;
    color: #1890ff;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 400;
}

    .toggle-filters:hover {
        text-decoration: underline;
        color: #0066cc;
    }

.listings-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.listings-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.filter-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    height: 0px;
    overflow: hidden;
    transition: height 0.5s;
}

.filter-row {
    min-height: 60px;
    display: flex;
    flex-wrap: wrap; /* 允许换行（如果内容过多） */
    gap: 20px;
    margin-bottom: 20px;
    align-items: center;
    width: 100%; /* 确保容器占满父元素宽度 */
}

.filter-group {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
}

.filter-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.filter-input.el-input__inner {
    padding: 8px 12px;
    font-size: 0.9rem;
}

.filter-select .el-input__inner {
    padding: 8px 12px;
    font-size: 0.9rem;
}

.el-checkbox__label {
    font-size: 0.9rem;
}
/* 已有的small-input样式，同时适用于el-select */
.small-input {
    width: 100%; /* 占满父容器宽度 */
    box-sizing: border-box; /* 包含内边距和边框，避免溢出 */
}

/* 确保el-select内部元素也适应宽度（部分版本可能需要） */
.el-select.small-input .el-input {
    width: 100%;
}

.small-input .el-input__inner {
    padding: 6px 10px;
    font-size: 0.85rem;
}

.small-select .el-input__inner {
    padding: 6px 10px;
    font-size: 0.85rem;
}

.checkbox-group {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* New styles for horizontal label and select arrangement */
.filter-group-horizontal {
    display: flex;
    align-items: center; /* 垂直居中 */
    gap: 10px;
    flex: 1; /* 每个组平分剩余空间，实现占满整行 */
    min-width: 200px; /* 避免过窄（可选，根据需求调整） */
}

    .filter-group-horizontal .filter-label {
        margin-bottom: 0;
        white-space: nowrap;
        min-width: 80px;
    }

    .filter-group-horizontal .filter-control {
        flex: 1;
    }

/* Ensure consistent height for all filter rows */
.filter-row {
    min-height: 60px;
}

.filter-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: #1890ff;
    color: white;
}

    .btn-primary:hover {
        background: #0066cc;
    }

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

    .btn-secondary:hover {
        background: #e0e0e0;
    }

.bulk-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bulk-btn {
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    background: white;
    color: #333;
}

    .bulk-btn:hover {
        background: #f0f0f0;
    }

    .bulk-btn.primary {
        background: #1890ff;
        color: white;
        border-color: #1890ff;
    }

        .bulk-btn.primary:hover {
            background: #0066cc;
            border-color: #0066cc;
        }

.table-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow-x: auto;
}

.domain-table {
    width: 100%;
    border-collapse: collapse;
}

    .domain-table th {
        background: #f8f9fa;
        padding: 15px;
        text-align: left;
        font-weight: 600;
        color: #333;
        border-bottom: 2px solid #eee;
    }

    .domain-table td {
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .domain-table tr:hover {
        background: #f8f9fa;
    }

.domain-intro {
    width: 200px;
    max-width: 200px;
}

.domain-intro-text {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.domain-name {
    font-weight: 600;
    color: #1890ff;
    position: relative;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

    .domain-name span {
        cursor: pointer;
        transition: color 0.3s ease;
    }

        .domain-name span:hover {
            color: #0066cc;
            text-decoration: underline;
        }

    .domain-name:hover .copy-icon {
        opacity: 1;
        visibility: visible;
    }

.copy-icon {
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    color: #1890ff;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 14px;
    height: 14px;
}

    .copy-icon:hover {
        color: #fa8c16;
    }

/* Ensure Element UI icons work properly */
[class^="el-icon-"], [class*=" el-icon-"] {
    font-family: 'element-icons' !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: baseline;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.domain-price {
    font-weight: 700;
    color: #fa8c16;
}

.time-left {
    color: #fa8c16;
    font-weight: 500;
}

.expire-time {
    color: #666;
}

.operation-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    margin-right: 5px;
}

    .operation-btn:hover {
        background: #f0f0f0;
    }

    .operation-btn.primary {
        background: #1890ff;
        color: white;
        border-color: #1890ff;
    }

        .operation-btn.primary:hover {
            background: #0066cc;
            border-color: #0066cc;
        }

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
    align-items: center;
}

.page-btn {
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    background: white;
    color: #333;
}

    .page-btn.active {
        background: #1890ff;
        color: white;
        border-color: #1890ff;
    }

    .page-btn:hover:not(.active) {
        background: #f0f0f0;
    }

.checkbox-cell {
    width: 40px;
}

    .checkbox-cell input {
        width: 18px;
        height: 18px;
    }

@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
    }

    .filter-group {
        min-width: 100%;
    }

    .bulk-actions {
        flex-direction: column;
    }
}

.pagination .more-left .el-icon-d-arrow-left,
.pagination .more-left:hover .el-icon-more,
.pagination .more-right .el-icon-d-arrow-right,
.pagination .more-right:hover .el-icon-more {
    display: none;
}
.pagination .more-left:hover .el-icon-d-arrow-left,
.pagination .more-left .el-icon-more,
.pagination .more-right:hover .el-icon-d-arrow-right,
.pagination .more-right .el-icon-more {
    display: block;
}