/* bun-svelte:bun-svelte:Login.svelte-2ghxx0rr1hqsq-style.css */
.login-container.svelte-1yqrzewdiufgi {
  display: flex;
  justify-content: center;
  align-items:  center;
  min-height: 100vh;
}

.login-card.svelte-1yqrzewdiufgi {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 360px;
  padding: 2rem;
}

h1.svelte-1yqrzewdiufgi {
  text-align: center;
  margin: 0 0 1.5rem;
}

label.svelte-1yqrzewdiufgi {
  display: block;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-size: .875rem;
  font-weight: 500;
}

input.svelte-1yqrzewdiufgi {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  width: 100%;
  margin-top: .25rem;
  padding: .5rem .75rem;
  font-size: 1rem;
}

input.svelte-1yqrzewdiufgi:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: -1px;
}

button.svelte-1yqrzewdiufgi {
  display: block;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  border: none;
  width: 100%;
  margin-top: 1.5rem;
  padding: .625rem;
  font-size: 1rem;
  font-weight: 500;
}

button.svelte-1yqrzewdiufgi:hover:not(:disabled) {
  background: var(--color-primary-hover);
}

button.svelte-1yqrzewdiufgi:disabled {
  opacity: .6;
}

.error.svelte-1yqrzewdiufgi {
  color: var(--color-danger);
  border-radius: var(--radius);
  background: #dc354526;
  margin-bottom: 1rem;
  padding: .5rem .75rem;
  font-size: .875rem;
}

/* bun-svelte:bun-svelte:Collections.svelte-3grvdlg8983lp-style.css */
.header.svelte-3ezwy1hw8c64n {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  margin-bottom: 1.5rem;
}

h1.svelte-3ezwy1hw8c64n {
  margin: 0;
  font-size: 2rem;
  font-weight: 300;
}

.new-btn.svelte-3ezwy1hw8c64n {
  background: var(--color-surface);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--emboss-strong);
  padding: .375rem .75rem;
  font-size: .8125rem;
  font-weight: 500;
}

.new-btn.svelte-3ezwy1hw8c64n:hover {
  color: var(--color-text);
}

.create-form.svelte-3ezwy1hw8c64n {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.create-form.svelte-3ezwy1hw8c64n input:where(.svelte-3ezwy1hw8c64n) {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  flex: 1;
  min-width: 200px;
  padding: .5rem .75rem;
  font-size: .875rem;
}

.create-form.svelte-3ezwy1hw8c64n input:where(.svelte-3ezwy1hw8c64n):focus {
  outline: 2px solid var(--color-primary);
  outline-offset: -1px;
}

.create-form.svelte-3ezwy1hw8c64n button:where(.svelte-3ezwy1hw8c64n) {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  border: none;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-weight: 500;
}

.create-form.svelte-3ezwy1hw8c64n button:where(.svelte-3ezwy1hw8c64n):hover:not(:disabled) {
  background: var(--color-primary-hover);
}

.create-form.svelte-3ezwy1hw8c64n button:where(.svelte-3ezwy1hw8c64n):disabled {
  opacity: .6;
}

.form-error.svelte-3ezwy1hw8c64n {
  color: var(--color-danger);
  width: 100%;
  font-size: .75rem;
}

.muted.svelte-3ezwy1hw8c64n {
  color: var(--color-text-muted);
}

.load-error.svelte-3ezwy1hw8c64n {
  color: var(--color-danger);
  border-radius: var(--radius);
  background: #dc354526;
  padding: 1rem;
}

.collection-list.svelte-3ezwy1hw8c64n {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.collection-card.svelte-3ezwy1hw8c64n {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  box-shadow: var(--emboss);
  border-radius: 12px;
  justify-content: space-between;
  align-items:  center;
  gap: 1rem;
  padding: .75rem 1.25rem;
}

.collection-link.svelte-3ezwy1hw8c64n {
  text-decoration: none;
  color: var(--color-primary);
  flex: 1;
}

.collection-link.svelte-3ezwy1hw8c64n:hover {
  text-decoration: underline;
}

.collection-name.svelte-3ezwy1hw8c64n {
  font-weight: 500;
}

.card-actions.svelte-3ezwy1hw8c64n {
  display: flex;
  flex-shrink: 0;
  gap: .25rem;
}

.action-btn.svelte-3ezwy1hw8c64n {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  box-shadow: var(--emboss-strong);
  min-height: auto;
  padding: .25rem .625rem;
  font-size: .75rem;
}

.action-btn.svelte-3ezwy1hw8c64n:hover {
  color: var(--color-text);
}

.action-btn.save.svelte-3ezwy1hw8c64n {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.action-btn.danger.svelte-3ezwy1hw8c64n:hover {
  color: var(--color-danger);
}

.rename-form.svelte-3ezwy1hw8c64n {
  display: flex;
  flex: 1;
  align-items:  center;
  gap: .5rem;
}

.rename-input.svelte-3ezwy1hw8c64n {
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  flex: 1;
  min-height: auto;
  padding: .375rem .5rem;
  font-size: .875rem;
}

.rename-actions.svelte-3ezwy1hw8c64n {
  display: flex;
  gap: .25rem;
}

/* bun-svelte:bun-svelte:DirectoryBreadcrumb.svelte-150qsmeqt54s5-style.css */
.breadcrumb.svelte-348y4bjsqjb78 {
  display: flex;
  flex-wrap: wrap;
  align-items:  center;
  gap: .25rem;
  margin-bottom: 1rem;
  font-size: .875rem;
}

.sep.svelte-348y4bjsqjb78 {
  color: var(--color-text-muted);
}

.current.svelte-348y4bjsqjb78 {
  color: var(--color-text);
  font-weight: 500;
}

a.svelte-348y4bjsqjb78 {
  color: var(--color-primary);
  text-decoration: none;
}

a.svelte-348y4bjsqjb78:hover {
  text-decoration: underline;
}

/* bun-svelte:bun-svelte:ViewToggle.svelte-23te9ocjdgfq5-style.css */
.view-toggle.svelte-2mc5c68ozqbo1 {
  display: flex;
  background: var(--color-border);
  border-radius: var(--radius);
  gap: 2px;
  padding: 2px;
}

button.svelte-2mc5c68ozqbo1 {
  display: flex;
  border-radius: calc(var(--radius)  - 2px);
  color: var(--color-text-muted);
  cursor: pointer;
  background: none;
  border: none;
  justify-content: center;
  align-items:  center;
  width: 32px;
  height: 28px;
}

button.active.svelte-2mc5c68ozqbo1 {
  background: var(--color-surface);
  color: var(--color-text);
}

/* bun-svelte:bun-svelte:SortControls.svelte-28zvty3q4e0d6-style.css */
.sort-controls.svelte-3mmuo9kr8mh5a {
  display: flex;
  gap: .25rem;
}

button.svelte-3mmuo9kr8mh5a {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  padding: .25rem .5rem;
  font-size: .75rem;
}

button.active.svelte-3mmuo9kr8mh5a {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-primary);
}

/* bun-svelte:bun-svelte:TiledView.svelte-3gwnrvd4yixtd-style.css */
.tiled-grid.svelte-z5hzer72sqpi {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .75rem;
}

.tile.svelte-z5hzer72sqpi {
  display: flex;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  flex-direction: column;
  justify-content: center;
  align-items:  center;
  gap: .5rem;
  min-height: 120px;
  padding: 1rem .5rem;
  transition: border-color .15s;
}

.tile.svelte-z5hzer72sqpi:hover {
  border-color: var(--color-primary);
  text-decoration: none;
}

.icon.svelte-z5hzer72sqpi {
  font-size: 2rem;
  line-height: 1;
}

.thumb.svelte-z5hzer72sqpi {
  object-fit: contain;
  border-radius: 2px;
  width: 100%;
  max-height: 80px;
}

.tile-name.svelte-z5hzer72sqpi {
  text-align: center;
  word-break: break-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 100%;
  font-size: .75rem;
}

@media (max-width: 640px) {
  .tiled-grid.svelte-z5hzer72sqpi {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* bun-svelte:bun-svelte:TableView.svelte-3eoh5tsa1sult-style.css */
.table-view.svelte-1thamyz1sxvh8 {
  border-collapse: collapse;
  width: 100%;
  font-size: .875rem;
}

th.svelte-1thamyz1sxvh8 {
  text-align: left;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .5rem .75rem;
  font-size: .75rem;
  font-weight: 500;
}

td.svelte-1thamyz1sxvh8 {
  border-bottom: 1px solid var(--color-border);
  padding: .5rem .75rem;
}

.row-file.svelte-1thamyz1sxvh8 {
  cursor: pointer;
}

.row-file.svelte-1thamyz1sxvh8:hover, .row-dir.svelte-1thamyz1sxvh8:hover {
  background: var(--color-bg);
}

.col-icon.svelte-1thamyz1sxvh8 {
  text-align: center;
  width: 2rem;
}

.col-name.svelte-1thamyz1sxvh8 {
  word-break: break-all;
}

.col-name.svelte-1thamyz1sxvh8 a:where(.svelte-1thamyz1sxvh8) {
  color: var(--color-primary);
  text-decoration: none;
}

.col-name.svelte-1thamyz1sxvh8 a:where(.svelte-1thamyz1sxvh8):hover {
  text-decoration: underline;
}

.col-modified.svelte-1thamyz1sxvh8, .col-type.svelte-1thamyz1sxvh8, .col-size.svelte-1thamyz1sxvh8 {
  white-space: nowrap;
  color: var(--color-text-muted);
}

.col-size.svelte-1thamyz1sxvh8 {
  text-align: right;
}

@media (max-width: 640px) {
  .col-modified.svelte-1thamyz1sxvh8, .col-type.svelte-1thamyz1sxvh8 {
    display: none;
  }
}

/* bun-svelte:bun-svelte:FileViewer.svelte-9su7v6ve0rhq-style.css */
.viewer-backdrop.svelte-3aursu2fypain {
  position: fixed;
  display: flex;
  z-index: 1000;
  background: #000000d9;
  justify-content: center;
  align-items:  center;
  inset: 0;
}

.viewer-content.svelte-3aursu2fypain {
  display: flex;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  flex-direction: column;
  max-width: 95vw;
  max-height: 95vh;
}

.viewer-header.svelte-3aursu2fypain {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  justify-content: space-between;
  align-items:  center;
  min-width: 300px;
  padding: .5rem 1rem;
}

.viewer-filename.svelte-3aursu2fypain {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 500;
}

.viewer-close.svelte-3aursu2fypain {
  color: var(--color-text-muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 .25rem;
  font-size: 1.5rem;
  line-height: 1;
}

.viewer-close.svelte-3aursu2fypain:hover {
  color: var(--color-text);
}

.viewer-body.svelte-3aursu2fypain {
  display: flex;
  overflow: auto;
  justify-content: center;
  align-items:  center;
}

img.svelte-3aursu2fypain {
  object-fit: contain;
  max-width: 90vw;
  max-height: 80vh;
}

video.svelte-3aursu2fypain {
  max-width: 90vw;
  max-height: 80vh;
}

audio.svelte-3aursu2fypain {
  width: 100%;
  min-width: 300px;
}

.audio-wrapper.svelte-3aursu2fypain {
  display: flex;
  flex-direction: column;
  align-items:  center;
  gap: 1rem;
  padding: 2rem;
}

.audio-icon.svelte-3aursu2fypain {
  font-size: 3rem;
}

.audio-name.svelte-3aursu2fypain {
  color: var(--color-text-muted);
  font-size: .875rem;
}

.no-preview.svelte-3aursu2fypain {
  text-align: center;
  color: var(--color-text-muted);
  padding: 2rem;
}

.no-preview.svelte-3aursu2fypain a:where(.svelte-3aursu2fypain) {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  margin-top: 1rem;
  padding: .5rem 1rem;
}

@media (max-width: 640px) {
  .viewer-content.svelte-3aursu2fypain {
    border-radius: 0;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    max-height: 100vh;
  }

  img.svelte-3aursu2fypain, video.svelte-3aursu2fypain {
    max-width: 100vw;
    max-height: calc(100vh - 60px);
  }
}

/* bun-svelte:bun-svelte:UploadButton.svelte-x3630tiytzyv-style.css */
.upload-wrapper.svelte-1v411ywsehu8d {
  display: flex;
  align-items:  center;
  gap: .5rem;
}

.file-input.svelte-1v411ywsehu8d {
  display: none;
}

.upload-btn.svelte-1v411ywsehu8d {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  white-space: nowrap;
  border: none;
  min-width: 80px;
  padding: .375rem .75rem;
  font-size: .8125rem;
  font-weight: 500;
}

.upload-btn.svelte-1v411ywsehu8d:hover:not(:disabled) {
  background: var(--color-primary-hover);
}

.upload-btn.svelte-1v411ywsehu8d:disabled {
  opacity: .7;
  cursor: default;
}

.upload-error.svelte-1v411ywsehu8d {
  color: var(--color-danger);
  font-size: .75rem;
}

/* bun-svelte:bun-svelte:Browser.svelte-13r7z52mi0v5u-style.css */
.toolbar.svelte-2oqjyrvxj5q9 {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.toolbar-right.svelte-2oqjyrvxj5q9 {
  display: flex;
  align-items:  center;
  gap: .5rem;
}

.status.svelte-2oqjyrvxj5q9 {
  color: var(--color-text-muted);
  padding: 2rem 0;
}

.error.svelte-2oqjyrvxj5q9 {
  color: var(--color-danger);
}

/* bun-svelte:bun-svelte:NotFound.svelte-3kodzs3jcj6gt-style.css */
h1.svelte-1jq7jn7d3h211 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

/* bun-svelte:bun-svelte:AppShell.svelte-25jauojskgs8g-style.css */
.app-shell.svelte-jfrndk05rwpl {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.navbar.svelte-jfrndk05rwpl {
  display: flex;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  justify-content: space-between;
  align-items:  center;
  padding: .75rem 1.5rem;
}

.brand.svelte-jfrndk05rwpl {
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: .02em;
  font-size: 1.5rem;
  font-weight: 300;
}

.nav-right.svelte-jfrndk05rwpl {
  display: flex;
  align-items:  center;
  gap: 1rem;
}

.username.svelte-jfrndk05rwpl {
  color: var(--color-text-muted);
  font-size: .875rem;
}

.logout-btn.svelte-jfrndk05rwpl {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text-muted);
  box-shadow: var(--emboss-strong);
  padding: .25rem .75rem;
  font-size: .875rem;
}

.logout-btn.svelte-jfrndk05rwpl:hover {
  color: var(--color-text);
}

.content.svelte-jfrndk05rwpl {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

@media (max-width: 640px) {
  .navbar.svelte-jfrndk05rwpl {
    padding: .5rem 1rem;
  }

  .content.svelte-jfrndk05rwpl {
    padding: 1rem;
  }

  .username.svelte-jfrndk05rwpl {
    display: none;
  }
}
