/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
.header {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.header h1 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.breadcrumb-item {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb-item:hover {
    text-decoration: underline;
}

.breadcrumb-item.current {
    color: #666;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #ccc;
}

/* 文件夹区域 */
.folder-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.folder-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.folder-title {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

/* 文件夹列表 */
.folder-list {
    padding: 0;
}

.folder-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f3f4;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.folder-item:hover {
    background-color: #f8f9fa;
}

.folder-item:last-child {
    border-bottom: none;
}

.folder-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.folder-icon svg {
    width: 32px;
    height: 32px;
    color: #4285f4;
}

.folder-name {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* 文件列表 */
.file-list {
    padding: 0;
}

/* 文件项样式 */
.file-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.file-item:hover {
    background-color: #f8f9fa;
}

.file-item:last-child {
    border-bottom: none;
}

.file-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    color: #6c757d;
    flex-shrink: 0;
}

.file-name {
    flex: 1;
    font-size: 14px;
    color: #495057;
    margin-right: 15px;
}

.file-link {
    flex: 2;
    min-width: 0;
}

.direct-link-text {
    color: #666;
    font-size: 12px;
    word-break: break-all;
    display: block;
    padding: 4px 8px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    cursor: text;
    user-select: text;
}

/* 底部信息样式 */
.footer {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 30px;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.footer-message h3,
.footer-contact h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-message p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.contact-info p {
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.contact-info strong {
    color: #2c3e50;
    font-weight: 600;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.footer-bottom {
    background: #f8f9fa;
    padding: 15px 30px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.footer-bottom p {
    color: #666;
    font-size: 12px;
    margin: 0;
}

/* 空状态 */
.no-folders, .no-files {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        padding: 15px;
    }
    
    .folder-item, .file-item {
        padding: 12px 15px;
    }
    
    .folder-icon, .file-icon {
        width: 32px;
        height: 32px;
        margin-right: 12px;
    }
    
    .folder-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .file-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .folder-name, .file-name {
        font-size: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .footer-bottom {
        padding: 15px 20px;
    }
} 