/* Start custom CSS for html, class: .elementor-element-e8cde79 */.airise-cloud {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: row;
  font-family: 'Segoe UI', sans-serif;
  background: #0f0f1a;
  color: white;
  overflow: hidden;
  z-index: 1000;
  box-sizing: border-box;
}

.sidebar {
  width: 220px;
  background: #1a1a29;
  padding: 1rem;
  box-shadow: 2px 0 10px rgba(123,47,247,0.2);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.sidebar.hidden {
  transform: translateX(-100%);
}

.sidebar-toggle-button {
  display: none;
  position: absolute;
  top: 12px;
  left: 12px;
  background: #7b2ff7;
  border: none;
  color: white;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  z-index: 2000;
}

.sidebar h3 {
  display: none;
}
.folder-link {
  margin: 0.4rem 0;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
}
.folder-link:hover {
  background: #2a2a3d;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

header {
  display: none;
}

.avatar {
  display: none;
}

.disk-container {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

.disk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: #1a1a29;
  border-radius: 8px;
  padding: 0.75rem 1rem;
}
.disk-header button {
  background: #7b2ff7;
  border: none;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
  margin-left: 0.5rem;
}
.disk-header button:hover {
  background: #a66bff;
}

.dropzone {
  border: 2px dashed #7b2ff7;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  color: #aaa;
  transition: background 0.2s ease;
}
.dropzone.dragging {
  background: rgba(123, 47, 247, 0.1);
}

.file-list.tile-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.file-list.list-view {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.folder, .file {
  background: #2a2a3d;
  padding: 0.7rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s ease;
  position: relative;
}
.folder:hover, .file:hover {
  background: #383852;
}
.filename {
  margin-top: 6px;
  word-break: break-word;
  font-size: 0.85rem;
  line-height: 1.2;
  max-height: 2.4em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.file-thumb {
  font-size: 52px;
  line-height: 64px;
  margin-bottom: 6px;
}
.file-thumb img.thumb {
  max-width: 100%;
  height: 64px;
  object-fit: contain;
}

.file-menu-toggle {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.file-menu-toggle .dot {
  width: 4px;
  height: 4px;
  background: #aaa;
  border-radius: 50%;
}

.file-menu {
  position: absolute;
  top: 26px;
  right: 6px;
  background: #26263a;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  z-index: 999;
}
.file-menu.hidden {
  display: none;
}
.file-menu div {
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  font-size: 0.85rem;
}
.file-menu div:hover {
  background: #3a3a4d;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 26, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup.hidden {
  display: none;
}
.popup-content {
  background: #1a1a29;
  color: white;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(123, 47, 247, 0.4);
}
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #7b2ff7;
  padding: 0.8rem 1rem;
  font-weight: bold;
}
.popup-header button {
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}
.popup-body {
  background: #10101a;
  padding: 1rem;
  overflow: auto;
  flex: 1;
}
.popup-body pre, .popup-body table {
  color: #ddd;
  background: transparent;
  border: none;
  white-space: pre-wrap;
  word-break: break-word;
}
.popup-body pre[contenteditable="true"] {
  outline: none;
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    position: absolute;
    z-index: 999;
    height: 100%;
  }
  .sidebar-toggle-button {
    display: block;
  }
  .file-list.tile-view {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  header, .avatar {
    display: none;
  }
}/* End custom CSS */