:root {
    --bg-color: #0a0b10;
    --panel-bg: rgba(20, 22, 30, 0.7);
    --accent-color: #00f2ff;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --border-color: rgba(0, 242, 255, 0.2);
    --hover-bg: rgba(0, 242, 255, 0.1);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 50% 50%, rgba(0, 242, 255, 0.05) 0%, transparent 60%),
        linear-gradient(rgba(0, 242, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
    padding: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

h1 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    text-shadow: 0 0 5px var(--accent-color);
}

.controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-box {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    border-radius: 4px;
    outline: none;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.search-box:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.file-item-wrapper {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.file-item-wrapper:last-child {
    border-bottom: none;
}

.file-selection {
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.file-item {
    display: grid;
    grid-template-columns: 2rem 1fr auto auto;
    align-items: center;
    padding: 0.75rem 1.5rem 0.75rem 0;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
}

.file-item-wrapper.selected {
    background: var(--hover-bg);
    box-shadow: inset 4px 0 0 var(--accent-color);
}

.action-bar {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 17, 26, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid var(--accent-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 255, 0.2);
}

#selected-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: #000 !important;
}

.btn-primary:hover {
    background: #fff;
    box-shadow: 0 0 15px var(--accent-color);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: #000;
}

.file-item:hover {
    background: var(--hover-bg);
}

.file-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.file-name {
    padding-left: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size,
.file-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 2rem;
    width: 120px;
    text-align: right;
}

.folder .file-name {
    font-weight: 500;
}

/* Icons for common file types */
.icon-folder::before {
    content: "📁";
}

.icon-file::before {
    content: "📄";
}

.icon-image::before {
    content: "🖼️";
}

.icon-archive::before {
    content: "📦";
}

.icon-code::before {
    content: "💻";
}

@media (max-width: 768px) {

    .file-size,
    .file-date {
        display: none;
    }

    .file-item {
        grid-template-columns: 2rem 1fr;
    }
}