/* 社会团体列表页特有样式 */
.org-list-container {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.1);
    margin-bottom: 40px;
}

.org-list-header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 15px;
}

.org-list-header h2 {
    font-size: 22px;
    color: var(--text-primary);
    font-weight: bold;
    margin: 0;
}

.org-list-items {
    margin-top: 20px;
}

.org-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.org-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-light) 0%, var(--bg-light) 80%, transparent 100%);
    transition: left 0.3s ease;
    z-index: 0;
}

.org-list-item:hover::before {
    left: 0;
}

.org-list-item:hover {
    padding-left: 15px;
}

.org-list-logo,
.org-list-info,
.org-list-item .btn {
    position: relative;
    z-index: 1;
}

.org-list-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
}

.org-list-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.org-list-item:hover .org-list-logo img {
    transform: scale(1.05);
}

.org-list-info {
    flex: 1;
    min-width: 0;
    padding-right: 20px;
}

.org-list-info h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: normal;
    transition: color 0.3s ease;
}

.org-list-info h3 a {
    color: inherit;
    text-decoration: none;
}

.org-list-item:hover .org-list-info h3 {
    color: var(--primary);
}

.org-list-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.org-list-meta span {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.org-list-meta i {
    margin-right: 8px;
    color: var(--primary);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.org-list-item:hover .org-list-meta i {
    opacity: 1;
}

.org-list-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em;
}

/* 按钮样式优化 */
.org-list-item .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    line-height: 1;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

.org-list-item .btn i {
    font-size: 12px;
    margin-top: 1px;
    transition: transform 0.3s ease;
}

.org-list-item .btn:hover i {
    transform: translateX(3px);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .org-list-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }

    .org-list-logo {
        width: 60px;
        height: 60px;
    }

    .org-list-info {
        padding-right: 0;
    }

    .org-list-meta {
        flex-direction: column;
        gap: 8px;
    }

    .org-list-item .btn {
        width: 100%;
        justify-content: center;
    }
}

.org-list-item:last-child {
    border-bottom: none;
}

/* 空数据状态样式 */
.empty-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 4px;
    color: #909399;
    width: 100%;
}

.empty-data i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #dcdfe6;
}

.empty-data p {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* 添加一个简单的淡入动画 */
.empty-data {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 在移动端调整样式 */
@media screen and (max-width: 768px) {
    .empty-data {
        padding: 40px 15px;
    }
    
    .empty-data i {
        font-size: 36px;
        margin-bottom: 15px;
    }
} 