body {
      font-family: 'Overlock', sans-serif;
      background-color: #f5f5f5;
      color: black;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: stretch;
      min-height: 100vh;
      overflow-y: auto;
    }

    h1 {
      color: #03a9f4;
      text-align: center;
      margin: 15px 0;
      font-size: 1.8rem;
      display: none; /* From CSS2 */
    }

    .navigation {
      flex-shrink: 0;
      position: sticky; top: 0;
      display: flex;
      justify-content: space-between;
      padding: 10px 15px;
      background-color: #ffffff;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .navigation div {
      cursor: pointer;
      color: #03a9f4;
      font-weight: bold;
      display: flex;
      align-items: center;
    }

    .navigation div:hover {
      color: #0288d1;
    }

    .file-list {
      padding: 15px;
      flex-grow: 1;
      overflow-y: auto;
    }

    .file-item {
      background-color: #ffffff;
      padding: 12px;
      margin: 8px 0;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s;
      display: flow;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      text-align: left;
      text-decoration: none;
      color: #006dbb;
      font-size: 12px;
      vertical-align: middle;
    }

    .file-item:hover {
      background-color: #f0f0f0;
    }

    .folder-item {
      font-weight: bold;
      color: #035281;
    }

    .file-item .material-symbols-rounded {
      margin-right: 8px;
      vertical-align: middle;
    }

    .material-symbols-rounded {
      vertical-align: middle;
    }

    .upload-section {
      padding: 15px;
      background-color: #ffffff;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      margin-top: 15px;
      text-align: center;
      flex-shrink: 0;
      display: block;
      position: sticky;
      bottom: 0;
    }

    .upload-section > span {
      display: none;
    }

    .upload-btn {
      background-color: #03a9f4;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
      font-size: 1rem;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .upload-btn:hover {
      background-color: #0288d1;
    }

    .upload-section input[type="file"] {
      display: none;
    }

    .upload-section label {
      color: #03a9f4;
      padding: 15px 28px;
      border-radius: 23px;
      cursor: pointer;
      font-size: 0.85rem;
    }
    .upload-section>label>span {
      margin-left:100px;
    }

    .upload-progress {
      margin-top: 15px;
      display: none;
      background-color: #e0e0e0;
      border-radius: 5px;
      overflow: hidden;
    }

    .progress-bar {
      height: 10px;
      background-color: #4caf50;
      width: 0%;
    }

    .upload-status {
      margin-top: 5px;
      font-size: 0.9rem;
      color: #888;
    }

    .file-size {
      font-size: 0.75rem;
      color: #b0bec5;
      float: right;
    }

    .upload-speed {
      margin-top: 5px;
      font-size: 0.8rem;
      color: #555;
    }

    /* Preview button and modal */
    .preview-btn {
      background-color: transparent;
      color: #03a9f4;
      border: none;
      font-size: 20px;
      cursor: pointer;
    }

    .preview-btn:hover {
      color: #0288d1;
    }

    .file-item .file-name {
      flex-grow: 1;
      display: inline-block;
    }

    .file-item .preview-btn {
      margin-left: 10px;
    }

    /* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      z-index: 1;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background-color: white;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .modal img {
      max-width: 100%;
      max-height: 80vh;
    }

    .close {
      color: #aaa;
      font-size: 28px;
      font-weight: bold;
      position: absolute;
      top: 0;
      right: 10px;
    }

    .close:hover,
    .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
    }

    /* Mobile responsive */
    @media (max-width: 600px) {
      h1 {
        font-size: 1.6rem;
      }

      .navigation div {
        font-size: 0.9rem;
      }

      .file-item {
        font-size: 0.9rem;
      }

      .upload-btn {
        padding: 8px 16px;
      }
    }

    /* Snackbar style */
    .snackbar {
      visibility: hidden;
      min-width: 250px;
      background-color: #03a9f4;
      color: white;
      text-align: center;
      border-radius: 5px;
      padding: 12px;
      position: fixed;
      z-index: 1;
      right: 30px;
      top: 30px;
      font-size: 14px;
      transition: visibility 0s 0.5s, opacity 0.5s linear;
    }
    .snackbar.show {
      visibility: visible;
      opacity: 1;
      transition: opacity 0.5s linear;
    }

@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 400;
  src: url(MaterialSymbol.woff2) format('woff2');
}
/* latin-ext */
@font-face {
  font-family: 'Overlock';
  font-style: normal;
  font-weight: 400;
  src: url(overlock-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Overlock';
  font-style: normal;
  font-weight: 400;
  src: url(overlock.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

#new_folder_button {
    border: 0px;
    background: none;
    padding: 2px;
    float: right;
    margin-top: 10px;
}
#folder-label>span.material-symbols-rounded {
    font-size: 25px;
}
