/* Main Styles */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 48px 0 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto;
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
  padding: .5rem 1rem;
  border-radius: .25rem;
  margin: .1rem .5rem;
}

.sidebar .nav-link.active {
  color: #2470dc;
  background-color: rgba(36, 112, 220, 0.1);
}

.sidebar .nav-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

/* File Explorer */
.file-explorer {
  margin-bottom: 2rem;
}

.file-card {
  transition: all 0.2s ease;
  cursor: pointer;
}

.file-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.file-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.folder-icon {
  color: #ffc107;
}

.file-name {
  font-weight: 500;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Storage Bar */
.storage-bar {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: .5rem;
}

/* Login Page */
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Activity Icons */
.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Upload Progress */
.upload-progress {
  margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .sidebar {
    position: static;
    height: auto;
    padding-top: 0;
  }

  main {
    margin-left: 0 !important;
  }
}
