* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    padding: 0;
    margin: 0;
    background-color: white;
}
.container {
    font-family: -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 30px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    margin: 40px;
    border-radius: 15px;
    height: 90vh;
    overflow: hidden;
    user-select: none;
}
.file-tree {
    background-color: #F6F6F6;
    color:#1D1D1F;
    width: 200px;
    height: 100%;
    border-right: 1px solid #E5E5E5;
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}
.filetree-header {
    display: flex;
    width: 100%;
    height: 7%;
    margin: 0 4px;
}
.logo {
    display: flex;
    align-items: center;
    width: 70%;
    height: 100%;
}
.logo img {
    width: 45px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}
.logo img:hover {
   transform: scale(1.2) translateY(-2px);
   filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}
.logo img:active {
    transform: scale(0.95);
    transition: all 0.2s;
}
.refresh {
    display: flex;
    width: 30%;
    align-items: center;
    justify-content: center;
}
.refresh img {
    display: flex;
    height: 25px;
    width: auto;
    cursor: pointer;
    filter: brightness(0);
    opacity: 0.3;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.refresh img:hover {
    transform: scale(1.2) translateY(-2px);
    opacity: 0.7;
}
.refresh img:active {
    transform: scale(0.95);
    transition: all 0.2s;
    opacity: 0.5;
}
.filetree-main {
    display: flex;
    overflow: hidden;
    flex: 1;
    flex-direction: column;
    margin: 20px 0 0;
}
.filetree-about {
    display: flex;
    height: 150px;
    width: 100%;
    list-style: none;
    line-height: 1.1;
    margin: 20px 0 0;
    padding: 0 10px;
    flex-direction: column;
}
.github-logo {
    width: 22px;
    height:auto;
}
.filetree-about a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex: 1;
    justify-content: flex-start;
    align-items: center;
    gap: 7px;
}
.filetree-tree {
    display: flex;
    flex: 1;
    list-style: none;
    line-height: 1.1;
    margin: 10px 0;
    padding: 0 10px;
    flex-direction: column;
    overflow-y: auto; 
    overflow-x: auto;
}
.filetree-tree ul {
    overflow-y: auto; 
    overflow-x: auto;
}
.filetree-tree ul::-webkit-scrollbar {
    width: 7px;
    height: auto;
}
.filetree-tree ul::-webkit-scrollbar-track {
    background-color: #E5E5E5;
    border-radius: 10px;
}
.filetree-tree ul::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}
.filetree-tree ul::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.8);
}
.filetree-tree ul::-webkit-scrollbar-button {
    display: none;
}
.filetree-tree ul::-webkit-scrollbar-corner {
    background: transparent;
}
.filetree-tree p {
    margin: 0 0;
    padding: 10px 10px 10px;
    color: rgba(0, 0, 0, 0.5);
}
.menu-item {
    padding: 8px 12px;
    margin: 4px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.menu-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
.menu-item.selected {
    background-color: #E8E8E8;
}
.filetree-footer {
    display: flex;
    width: 100%;
    height: 10%;
    position: relative;
    background-color: #F6F6F6;
}
.filetree-footer::before {
    content: "";
    position: absolute;
    top: -60px; 
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #F6F6F6);
    pointer-events: none;
}
.label {
    display: flex;
    width: 0;
    height: auto;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}
.label img {
    width: 100%;
    height: 70%;
}
.web-name {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    flex-direction: column;
}
.web-name h1 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
    color: rgba(0, 0, 0, 0.7);
    transform: scaleY(1.7);
}
.file-view {
    background-color: white;
    color: #1D1D1F;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.filename-view {
    display: flex;
    height: 7%;
    width: 100%;
    align-items: center;
    border-bottom: 1px solid #E5E5E5;
}
.filename-show {
    display: flex;
    font-size: larger;
    width: 80%;
    height: 100%;
    flex: 1;
    justify-content: center;
    align-self: center;
}
.filename-show p {
    display: flex;
    justify-content: center;
    align-self: center;
}
.filename-search {
    display: flex;
    width: 190px;
    height: 100%;
    justify-content: center;
    align-items: center;
}
.search-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-container input {
    width: 85%;
    height: 25px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-image: url('/assets/icon/filesIcon/search.svg');
    background-repeat: no-repeat;
    background-position: 4px; 
    background-size: 23px;
    padding: 0 4px 0 30px;
    font-size: 15px;
    color: #424242;
    background-color: rgba(0, 0, 0, 0.02);
    box-shadow: 0 1px 2px rgba(98, 209, 243, 0.521);
    outline: none;
    transition: all 0.5s;
}
.search-container input:focus {
    border-color: #007AFF; 
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}
.gui {
    display: flex;
    height: 86%;
    width: 100%;
    border-bottom: 1px solid #E5E5E5;
}
.file-gui {
    flex: 1;
    display: grid;
    border-right: 1px solid #E5E5E5;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 60px;
    padding: 20px;
    align-content: start; 
    overflow-y: auto;
}
.file-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.file-item:hover {
    transform: scale(1.2);
}
.file-item.selected {
    background-color: balck;
    border: 1px solid #7DAAFE;
    border-radius: 8px;
}
.file-item img {
    width: 120px;
    height: 120px;
}
.file-item span {
    width: 100%;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}
.file-gui::-webkit-scrollbar {
    width: 7px;
    height: auto;
}
.file-gui::-webkit-scrollbar-track {
    background-color: white;
    border-radius: 10px;
}
.file-gui::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}
.file-gui::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.8);
}
.file-gui::-webkit-scrollbar-button {
    display: none;
}
.file-gui::-webkit-scrollbar-corner {
    background: transparent;
}
.download-gui {
    display: flex;
    width: 190px;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 100%;
    cursor: pointer;
}
.download-gui img {
    width: 60%;
    height: auto;
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.download-gui img:hover {
    transform: scale(1.2) translateY(-2px);
}
.download-gui img:active {
    transform: scale(0.95);
    transition: all 0.2s
}
.filepath-view {
    display: flex;
    width: 100%;
    height: 7%;
    font-size: 20px;
    align-items: center;
    justify-content: center;
}
.filepath-main {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 0 15px;
}
#breadcrumb-path {
    width: 100%;
    height: 100%;
}
#breadcrumb-path span {
    display: inline-block;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
#breadcrumb-path span img {
    vertical-align: middle;
}
#breadcrumb-path span:hover {
    transform: scale(1.1);
    border-radius: 3px;
}
#breadcrumb-path span:active{
    transform: scale(0.95);
    border-radius: 3px;
}