body {
    font-family: Arial, sans-serif;
    background-color: #161616;
    color: #e0e0e0;
    margin: 20px;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: url("/assets/images/background.png") no-repeat center center fixed;
    background-size: cover;
    filter: grayscale(100%);
    opacity: 0.1;
    z-index: -1;
}
input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
    background-color: #1e1e1e;
    color: #fff;
}
ul {
    list-style-type: none;
    padding: 0;
}
h2 {
	margin-left: 20px;
    font-size: 42px;
    font-weight: bold;
    color: #ffffff;
}
h2:hover {
    text-shadow: 0 0 4px rgba(10, 10, 10, 0.35);
}
h2 .gradient-text {
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: text-shadow 0.5s ease-in-out;
}
h2 .gradient-text:hover {
    text-shadow: 0 0 4px rgba(10, 10, 10, 0.35);
}



.folder {
    cursor: pointer;
    display: block;
    width: fit-content;
    font-weight: bold;
    margin: 5px 0;
    color: #f1c40f;
    padding: 1px 5px;
    border-radius: 5px;
}
.folder:hover {
    background-color: #2a2a2a;
    transition: background-color 0.3s ease;
}
.folder::before {
    content: "📂 ";
    margin-right: 5px;
}


.file {
    display: block;
    padding: 1px 5px;
    border-radius: 5px;
}
.file a {
    display: inline-block;
    padding: 1px 5px;
    text-decoration: none;
    color: #4aa3ff;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.file a:hover {
    background-color: #222222;
    border-radius: 5px;
    color: #66d9ff;
}
#file-list {
    margin-top: 10px;
    padding-left: 20px;
    max-width: 80%;
}
.files {
    margin-left: 20px;
    display: none;
}
.files a {
    display: inline-block;
    margin: 2px 0;
    text-decoration: none;
    color: #4aa3ff;
    transition: color 0.3s ease;
}
.files a:hover {
    color: #66d9ff;
}
.file::before {
    content: "📄 ";
    margin-right: 0px;
}
.file-txt::before, .file-md::before, .file-rtf::before, .file-log::before { content: "📜 "; }
.file-sql::before, .file-db::before, .file-mdb::before, .file-accdb::before { content: "🗃️ "; }
.file-doc::before, .file-docx::before, .file-odt::before { content: "📑 "; }
.file-pdf::before { content: "📕 "; }
.file-xls::before, .file-xlsx::before, .file-csv::before, .file-ods::before { content: "📊 "; }
.file-png::before, .file-jpg::before, .file-jpeg::before, .file-gif::before, .file-bmp::before, .file-tiff::before, .file-webp::before, .file-svg::before { content: "🖼️ "; }
.file-mp3::before, .file-wav::before, .file-flac::before, .file-m4a::before, .file-aac::before, .file-ogg::before { content: "🎵 "; }
.file-mp4::before, .file-avi::before, .file-mkv::before, .file-mov::before, .file-wmv::before, .file-webm::before, .file-flv::before { content: "🎥 "; }
.file-exe::before, .file-msi::before, .file-bat::before, .file-sh::before, .file-app::before { content: "💻 "; }
.file-html::before, .file-htm::before, .file-css::before { content: "🌎 "; }
.file-js::before, .file-ts::before, .file-php::before, .file-python::before, .file-c::before, .file-cpp::before, .file-java::before, .file-rb::before, .file-go::before, .file-pl::before, .file-lua::before { content: "📝 "; }
.file-zip::before, .file-rar::before, .file-7z::before, .file-gz::before, .file-tar::before, .file-bz2::before, .file-mrpack::before { content: "📦 "; }
.file-pem::before, .file-key::before, .file-crt::before, .file-cert::before, .file-der::before, .file-pfx::before, .file-p12::before { content: "🔑 "; }
.file-json::before, .file-xml::before, .file-yml::before, .file-yaml::before, .file-ini::before, .file-env::before, .file-cfg::before, .file-config::before { content: "⚙️ "; }
.file-info {
    font-size: 12px;
    color: #aaa;
}


.sort-buttons {
	display: flex;
    margin-bottom: 10px;
	justify-content: flex-start;
    gap: 10px;
	width: 100%;
	margin-top: 0px;
}
.sort-buttons button {
    background-color: #1e1e1e;
    border: none;
    padding: 8px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}
.sort-buttons button:hover {
    background-color: #333;
}
.search-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin-left: 20px;
}
#search {
    width: 97.65%;
    border-radius: 5px;
    border: none;
    background-color: #1e1e1e;
    color: #fff;
    text-align: left;
}



.preview-icon {
    cursor: pointer;
    margin-left: 5px;
    font-size: 16px;
    transition: text-shadow 0.3s ease-in-out;
}
.preview-icon:hover {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}



.corner-gif {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 192px;
    height: auto;
    z-index: 1000;
    opacity: 0.8;
    transition: opacity 0.3s ease-in-out;
}
.corner-gif:hover {
    opacity: 1;
}
