.cloud-page-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cloud-main-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
}

/* 新的云盘内容样式 */
.cloud-content {
    padding: 24px;
}

.cloud-header {
    text-align: center;
    margin-bottom: 30px;
}

.cloud-header i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 15px;
}

.cloud-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cloud-header p {
    color: #666;
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f1f5f9;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 14px;
}

.upload-section {
    margin-bottom: 24px;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.upload-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.upload-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.files-table-container {
    overflow-x: auto;
}

.files-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.files-table th {
    background: #f8fafc;
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: #64748b;
    font-size: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.files-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.files-table tr:last-child td {
    border-bottom: none;
}

.files-table tr:hover td {
    background: #f8fafc;
}

.file-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
}

.file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #eff6ff;
    border-radius: 8px;
    color: #667eea;
}

.file-icon.image {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.file-icon.video {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.file-icon.audio {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.file-icon.pdf {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.file-icon.archive {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.file-icon.default {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.file-original-name {
    color: #667eea;
    font-weight: 500;
}

.file-size {
    color: #666;
    font-size: 14px;
}

.file-type {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.file-date {
    color: #999;
    font-size: 14px;
}

.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn.download {
    background: #ecfdf5;
    color: #10b981;
}

.action-btn.download:hover {
    background: #d1fae5;
    transform: scale(1.1);
}

.action-btn.delete {
    background: #fef2f2;
    color: #ef4444;
}

.action-btn.delete:hover {
    background: #fee2e2;
    transform: scale(1.1);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.loading-state, .error-state, .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.loading-state i, .error-state i, .empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #667eea;
    opacity: 0.6;
}

.loading-state h3, .error-state h3, .empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.retry-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.retry-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cloud-main-container {
        padding: 20px;
        margin: 10px;
    }

    .cloud-header h1 {
        font-size: 24px;
    }

    .files-table {
        font-size: 14px;
    }

    .files-table th,
    .files-table td {
        padding: 10px 5px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 4px;
    }

    .action-btn {
        width: 32px;
        height: 32px;
    }
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}