.folder-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}
.folder-card {
    width: 150px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.folder-card:hover {
    opacity: 0.8;
}

.folder-icon {
    font-size: 50px;
    color: white;
}

.folder-name {
    font-weight: bold;
    margin-top: 5px;
    color: white;
}

.file-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.file-card {
    width: 150px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: 0.3s;
}

.file-card:hover {
    background: #e0e0e0;
}

.file-icon {
    font-size: 50px;
    color: #4285F4; /* Google Drive Blue */
}

.file-name {
    font-weight: bold;
    margin-top: 5px;
}

.file-card {
    width: 150px;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    background: #f9f9f9;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin: 10px;
    transition: 0.3s;
}

.file-preview-container {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.file-preview {
    max-width: 100%;
    max-height: 100px;
    border-radius: 5px;
}

.file-icon {
    font-size: 50px;
}

.file-name {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    word-wrap: break-word;
}

/* Default: Grid View */
.grid-view .folder-card, 
.grid-view .file-card {
    display: inline-block;
    width: 150px;
    text-align: center;
    margin: 10px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.grid-view .file-preview-container {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* List View */
.list-view .folder-card, 
.list-view .file-card {
    display: flex;
    width: 100%;
    align-items: center;
    background: #f9f9f9;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
.list-view .file-preview-container {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.list-view .file-name {
    flex-grow: 1;
    text-align: left;
}

.list-view {
    width: 100%;
    padding: 10px;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
}

.file-icon {
    width: 40px;
    text-align: center;
    font-size: 20px;
}

.file-name {
    flex-grow: 1;
    padding-left: 10px;
}

.file-actions {
    margin-left: auto;
}
.folder-path {
    font-family: Arial, sans-serif;
    font-size: 14px;
}
.folder-path span {
    font-weight: bold;
    color: #007bff;
}
.folder-path .separator {
    font-weight: bold;
    color: rgb(86, 2, 2);
}
