* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    min-height: 80vh;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #667eea;
}

header h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 1.1em;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    cursor: pointer;
    color: #667eea;
    font-weight: 500;
    transition: all 0.3s;
}

.breadcrumb-item:hover {
    color: #764ba2;
    text-decoration: underline;
}

.breadcrumb-item:not(:last-child)::after {
    content: ' / ';
    color: #999;
    margin-left: 10px;
}

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

.search-box input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.stats {
    margin-bottom: 20px;
    padding: 10px;
    color: #666;
    font-size: 0.95em;
}

.file-list {
    min-height: 300px;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.file-item:hover {
    background: #e9ecef;
    border-color: #667eea;
    transform: translateX(5px);
}

.file-item.directory {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
}

.file-item.hidden {
    display: none;
}

.file-icon {
    font-size: 2em;
    margin-right: 15px;
    min-width: 40px;
    text-align: center;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 600;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
}

.file-meta {
    color: #666;
    font-size: 0.9em;
}

.file-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

.btn-download:hover {
    background: #764ba2;
    transform: scale(1.05);
}

.loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.2em;
}

.empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

footer {
    text-align: center;
    color: white;
    margin-top: 30px;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    header h1 {
        font-size: 1.8em;
    }

    .file-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .file-icon {
        margin-bottom: 10px;
    }

    .file-actions {
        width: 100%;
        margin-top: 10px;
    }
}
