body {
    background-color: #f8f9fa;
}

.search-container {
    max-width: 800px;
    margin: 2rem auto;
}

.result-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: box-shadow 0.2s;
}

.result-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filename {
    font-weight: bold;
    color: #0d6efd;
}

.file-path {
    font-size: 0.9rem;
    color: #6c757d;
    word-break: break-all;
}

.file-info {
    font-size: 0.8rem;
    color: #666;
}

.tags {
    margin-top: 0.5rem;
}

.tag {
    background: #e9ecef;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 0.3rem;
    display: inline-block;
    margin-bottom: 0.2rem;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.directory-item {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.directory-item:hover {
    background: #d1ecf1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.directory-name {
    font-weight: bold;
    color: #1976d2;
    font-size: 1.1rem;
}

.directory-info {
    font-size: 0.9rem;
    color: #666;
    text-align: right;
}

.file-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: box-shadow 0.2s;
}

.file-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.breadcrumbs {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: #007bff;
    cursor: pointer;
    text-decoration: none;
}

.breadcrumb-item:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #6c757d;
    margin: 0 0.5rem;
}

.back-button {
    margin-bottom: 1rem;
}

.section-header {
    color: #495057;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem 0;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #dee2e6;
}

.tree-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Sticky Drive Headers */
.drive-header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 16px;
    margin: 8px 0 0 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.drive-header:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.drive-header.collapsed {
    border-radius: 8px;
    margin-bottom: 8px;
}

.drive-collapse-icon {
    margin-right: 8px;
    font-size: 14px;
    transition: transform 0.2s ease;
    opacity: 0.8;
}

.drive-collapse-icon.collapsed {
    transform: rotate(-90deg);
}

.drive-header .drive-icon {
    margin-right: 8px;
    font-size: 18px;
}

.drive-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.drive-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.drive-path {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    white-space: nowrap;
    overflow: hidden;
}

/* Version display styles */
.version-info {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-family: monospace;
    z-index: 1000;
    opacity: 0.7;
    transition: opacity 0.2s;
    user-select: none;
}

.version-info:hover {
    opacity: 1;
}

.tree-item {
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
    user-select: none;
}

.tree-directory {
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.tree-directory:hover {
    background-color: #f0f8ff;
    transform: translateX(2px);
}

.tree-directory:active {
    background-color: #e8f4fd;
    transform: translateX(1px);
} 