    .resources-page {
    min-height: 100vh;
    background: #f8f9fa;
    padding-bottom: 4rem;
}

.resources-header {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    margin-bottom: 3rem;
}

.resources-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* 上传区域 */
.upload-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.password-gate {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.password-gate h3 {
    margin-bottom: 0.5rem;
}

.password-gate p {
    color: #666;
    margin-bottom: 1.5rem;
}

.password-gate input {
    margin-bottom: 1rem;
}

.hint-text {
    font-size: 0.85rem;
    color: #999;
    margin-top: 1rem;
}

.upload-form {
    border-top: 2px solid #f0f0f0;
    padding-top: 2rem;
    margin-top: 2rem;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.file-name {
    margin-top: 0.5rem;
    color: #667eea;
    font-size: 0.9rem;
}

/* 筛选器 */
.resources-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* 资源网格 */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}

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

.resource-card.private {
    border-left-color: #f5576c;
    background: linear-gradient(to right, #fff5f5, white);
}

.resource-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.resource-icon {
    font-size: 2rem;
}

.resource-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.resource-badge.public {
    background: #e3f2fd;
    color: #1976d2;
}

.resource-badge.private {
    background: #fce4ec;
    color: #c2185b;
}

.resource-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.resource-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.85rem;
    color: #999;
}

.resource-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.action-btn.download {
    background: #667eea;
    color: white;
}

.action-btn.delete {
    background: #f44336;
    color: white;
}

.action-btn:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #999;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hidden {
    display: none !important;
}

/* 响应式 */
@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .form-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}