/* Basic reset and styling */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
}

.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.button {
  display: inline-block;
  padding: 10px 20px;
  margin-right: 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #0056b3;
}

.delete {
  background-color: transparent;
  color: red;
  border: none;
}

.delete-icon::before {
  content: "\1F5D1";
  font-size: 16px;
  margin-right: 5px;
}

/* File Explorer */
ul {
  list-style-type: none;
  padding-left: 20px;
}

li {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  padding: 5px;
  border-radius: 3px;
}

.folder-icon::before {
  content: "\1F4C1"; /* Unicode character for folder */
  font-size: 16px;
  margin-right: 5px;
}

.file-icon::before {
  content: "\1F4C4"; /* Unicode character for file */
  font-size: 16px;
  margin-right: 5px;
}

span {
  display: inline-block;
}

li:nth-child(even) {
  background-color: #f5f5f5; /* Light gray */
}

/* Style for the modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Style for the modal content */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* Style for the close button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.text-editor {
  width: 95%;
  height: 300px;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical;
}
