/* Genel Stil */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.file-manager {
    display: flex;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
}

.sidebar h2 {
    margin-top: 0;
}

.folder-tree {
    list-style: none;
    padding: 0;
}

.folder-tree li {
    margin: 10px 0;
}

.folder-tree a {
    color: #ecf0f1;
    text-decoration: none;
}

.folder-tree a:hover {
    text-decoration: underline;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
    background-color: #fff;
}

/* Toolbar */
.toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.btn {
    padding: 10px 15px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover {
    background-color: #2980b9;
}

/* Breadcrumb */

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

.breadcrumb span {
    cursor: pointer;
    color: #3498db;
}

.breadcrumb span:hover {
    text-decoration: underline;
}

/* File List */
.file-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.file-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-item:hover {
    background-color: #e0e0e0;
}

.file-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.file-name {
    font-size: 14px;
    text-align: center;
    word-break: break-all;
}

/* Durum Mesajı */
#status {
    margin-top: 20px;
    color: #555;
}

/* Dosya Simgeleri ve Önizlemeler */
.file-icon {
    font-size: 24px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.file-icon img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 5px;
}


/* Sağ Tık Menüsü */
.context-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.context-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.context-menu li {
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.context-menu li:hover {
    background-color: #f0f0f0;
}