/* 用户管理模块样式 */
.users-container {
    padding: 0 0 20px 0;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-header h2 {
    margin: 0;
    font-size: 22px;
    color: #303133;
}

.search-card {
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
}

.advanced-search {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #dcdfe6;
}

.table-card .el-table {
    margin-bottom: 20px;
}

.pagination-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

/* 详情页样式 */
.detail-section {
    margin-bottom: 25px;
}

.detail-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #303133;
}

.id-card-images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.id-card-images h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #606266;
}

.verify-actions {
    margin-top: 20px;
}

/* 编辑表单样式 */
.dialog-footer {
    margin-top: 20px;
    text-align: right;
}

.unit {
    margin-left: 8px;
    color: #606266;
}

.empty-data {
    margin-top: 20px;
    text-align: center;
}

/* 参考图片的搜索框样式 */
.user-search-toolbar {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: #f5f7fa;
    border-radius: 4px;
    padding: 10px;
}

/* 搜索框整体容器 */
.user-search-combined {
    display: flex;
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #dcdfe6;
    background-color: white;
}

/* 下拉选择器样式 */
.user-search-combined .el-select {
    width: auto;
}

.user-search-combined .el-select .el-input__inner {
    border: none;
    border-radius: 0;
    border-right: 1px solid #dcdfe6;
    background: transparent;
    width: 90px;
    height: 40px;
    color: #606266;
}

/* 选择器边框线效果 */
.user-search-combined .el-select.is-focus .el-input__inner {
    border-right: 1px solid #409EFF;
}

/* 搜索输入框容器 */
.user-search-combined .user-search-input-container {
    flex: 1;
}

/* 搜索输入框样式 */
.user-search-combined .user-search-input .el-input__inner {
    border: none;
    border-radius: 0;
    height: 40px;
    padding-left: 15px;
    color: #606266;
}

/* 输入框获取焦点时的样式 */
.user-search-combined .user-search-input .el-input__inner:focus {
    box-shadow: none;
}

/* 搜索框整体获取焦点时的样式 */
.user-search-combined:focus-within {
    border-color: #409EFF;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
}

/* 搜索按钮 */
.search-btn {
    color: #fff;
    background-color: #00c1de;
    border-color: #00c1de;
    margin-left: 8px;
    border-radius: 4px;
    height: 40px;
    width: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background-color: #33cde6;
    border-color: #33cde6;
}

/* 操作按钮组 */
.user-search-actions {
    margin-left: 10px;
    display: flex;
    gap: 8px;
}

.user-search-actions .el-button {
    padding: 9px 15px;
    font-size: 14px;
}

/* 高级搜索面板 - 按照截图样式实现 */
.advanced-search-panel {
    background-color: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 15px 0;
    border: 1px solid #e6e6e6;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.03);
}

.advanced-filters {
    width: 100%;
}

.filter-row {
    display: flex;
    align-items: flex-start;
    padding: 10px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-row:last-child {
    border-bottom: none;
}

.filter-label {
    width: 100px;
    color: #333;
    font-size: 14px;
    padding-top: 8px;
}

.filter-options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.filter-options .el-radio-group {
    margin-right: 15px;
}

.filter-options .el-radio-button__inner {
    border-radius: 2px;
    padding: 8px 15px;
    font-size: 13px;
}

.filter-options .el-radio-button:first-child .el-radio-button__inner {
    border-radius: 2px 0 0 2px;
    background-color: #f5f7fa;
    color: #606266;
}

.filter-options .el-radio-button:last-child .el-radio-button__inner {
    border-radius: 0 2px 2px 0;
}

.filter-options .el-radio-button__orig-radio:checked + .el-radio-button__inner {
    background-color: #409EFF;
    color: #fff;
    border-color: #409EFF;
}

.date-range {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.date-separator {
    margin: 0 8px;
    color: #606266;
}

.filter-actions {
    margin-left: auto;
}

.filter-dropdowns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-dropdowns .el-select {
    width: 180px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
    }
    
    .filter-label {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .filter-options {
        width: 100%;
    }
    
    .date-range {
        margin-left: 0;
        margin-top: 10px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .date-separator {
        margin: 8px 0;
    }
    
    .filter-dropdowns .el-select {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* 统计卡片容器 */
.user-stats-cards {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* 统计卡片 */
.user-stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 24px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    flex: 1;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.user-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.user-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.user-stats-card:hover::before {
    opacity: 1;
}

.user-stats-card.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

/* 不同类型卡片的颜色 */
.user-stats-card:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-stats-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.user-stats-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.user-stats-card:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.user-stats-card:nth-child(5) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.user-stats-card:nth-child(6) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* 卡片数字 */
.user-stats-card-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

/* 卡片文字 */
.user-stats-card-text {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 表格操作按钮区域 */
.table-operations {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .user-search-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .user-search-combined {
        margin-bottom: 10px;
    }
    
    .user-search-actions {
        justify-content: flex-end;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .user-stats-cards {
        flex-wrap: wrap;
    }
    
    .user-stats-card {
        flex: 0 0 calc(50% - 10px);
        margin-right: 10px;
        margin-bottom: 10px;
    }
    
    .user-stats-card:nth-child(2n) {
        margin-right: 0;
    }
    
    .advanced-form {
        flex-direction: column;
    }
    
    .advanced-form .el-form-item {
        width: 100%;
        min-width: auto;
        margin-right: 0;
    }
    
    .advanced-form .el-form-item__content {
        width: 100%;
    }
}

/* 用户信息单元格样式 - 无头像版本 */
.user-info-cell {
    display: flex;
    align-items: center;
}

.user-info-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 500;
    color: #303133;
    margin-bottom: 3px;
    font-size: 14px;
}

.user-meta {
    font-size: 12px;
    color: #909399;
}