#fajlkuldes { max-width: 1160px; }
#fajlkuldes .shelf-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
#fajlkuldes .shelf-eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 2.6px; margin-bottom: 6px; }
#fajlkuldes h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; color: #f4f5f7; margin: 0 0 10px; letter-spacing: -1px; }
.shelf-subtitle { color: #a4a9b4; font-size: 14px; }
.shelf-badge { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 12px; color: #bdc2cd; padding: 9px 14px; border: 1px solid #484c57; border-radius: 30px; background: #2f3136; }
.shelf-badge > span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px #7289da66; }
.shelf-storage { padding: 19px 22px; border: 1px solid #454953; background: #2f3136; border-radius: 12px; }
.shelf-storage-heading, .shelf-storage-detail { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shelf-storage-heading { margin-bottom: 12px; font-size: 13px; }
.shelf-storage-heading i { color: var(--accent); margin-right: 8px; }
.shelf-storage-heading strong { color: #e2e5ed; font-size: 13px; font-variant-numeric: tabular-nums; }
.shelf-storage-detail { color: #9299a7; font-size: 11px; margin-top: 8px; }
#fajlkuldes progress { display: block; width: 100%; height: 7px; appearance: none; border: 0; border-radius: 8px; overflow: hidden; background: #1f2126; accent-color: var(--accent); }
#fajlkuldes progress::-webkit-progress-bar { background: #1f2126; border-radius: 8px; }
#fajlkuldes progress::-webkit-progress-value { background: linear-gradient(90deg, #5865f2, #8f9ff0); border-radius: 8px; transition: width .2s ease; }
#fajlkuldes progress::-moz-progress-bar { background: #7289da; border-radius: 8px; }
.shelf-status { min-height: 24px; margin: 14px 2px 12px; font-size: 12px; color: #b6bfd9; overflow-wrap: anywhere; }
.shelf-status.is-error, .shelf-progress.is-error { color: #f39797; }
.file-shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 16px 16px 38px; border: 1px solid #4c505c; border-radius: 14px; background: linear-gradient(180deg, #26282e, #292b32); position: relative; box-shadow: inset 0 2px 12px #0003, 0 18px 32px #0002; }
.file-shelf::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 15px; height: 14px; border-radius: 3px; background: linear-gradient(180deg, #636977 0%, #454b56 35%, #333840 100%); box-shadow: 0 9px 12px #0005, inset 0 1px #929aac66; }
.shelf-slot { position: relative; min-height: 320px; padding: 28px 18px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; border-right: 1px solid #414550; background: radial-gradient(ellipse at center 70%, #383d4a44, transparent 70%); }
.shelf-slot:last-child { border-right: 0; }
.shelf-slot-number { position: absolute; left: 14px; top: 8px; color: #636b7b; font-size: 10px; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.shelf-add { width: 100%; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px dashed #555b6a; border-radius: 9px; background: transparent; color: #b5bbc9; cursor: pointer; padding: 18px 10px; transition: background .2s, border-color .2s; }
.shelf-add:hover { background: #7289da0d; border-color: var(--accent); color: #e3e8fc; }
.shelf-add:disabled { opacity: .45; cursor: not-allowed; }
.shelf-add strong { font-size: 14px; font-weight: 500; }
.shelf-add > span:last-child { font-size: 11px; color: #9299a9; }
.shelf-add-icon { display: grid; place-items: center; width: 50px; height: 60px; border: 1px solid #565d70; border-radius: 8px; background: #30343f; font-size: 18px; color: #94a3d8; margin-bottom: 12px; box-shadow: 0 12px 16px #0002; }
.shelf-file-icon { display: grid; place-items: center; width: 75px; height: 88px; margin: 6px 0 16px; background: linear-gradient(135deg, #5865f244, #5865f212); color: #9da7ff; border: 1px solid #6976c888; border-radius: 9px 20px 9px 9px; font-size: 30px; box-shadow: 0 12px 15px #0003, inset 0 1px #ffffff12; }
.kind-video .shelf-file-icon { color: #c6a3f2; border-color: #9b74cc77; background: linear-gradient(135deg, #9b74cc44, #9b74cc12); }
.kind-image .shelf-file-icon { color: #89ceb8; border-color: #60b49a77; background: linear-gradient(135deg, #60b49a44, #60b49a12); }
.shelf-file-type { font-size: 10px; text-transform: uppercase; letter-spacing: 1.2px; color: #9299ac; margin-bottom: 7px; }
#fajlkuldes .shelf-slot h3 { font-size: 14px; font-weight: 600; color: #e4e7ef; line-height: 1.45; margin: 0 0 7px; width: 100%; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shelf-file-detail { color: #9ca4b5; font-size: 11px; overflow-wrap: anywhere; }
.shelf-file-date { color: #7c8494; font-size: 10px; margin-top: 4px; }
.shelf-actions { margin-top: auto; padding-top: 18px; display: flex; width: 100%; justify-content: center; gap: 8px; }
.shelf-actions button { cursor: pointer; border-radius: 6px; font-size: 12px; line-height: 1.4; padding: 9px 12px; transition: background .2s; }
.shelf-download-button { background: #5865c8; border: 1px solid #7582dd; color: #fff; flex: 1; }
.shelf-download-button i { margin-right: 5px; }
.shelf-download-button:hover { background: #6875d8; }
.shelf-remove-button { background: #ffffff05; border: 1px solid #505562; color: #989fae; }
.shelf-remove-button:hover { color: #f39b9b; border-color: #9c626a; background: #a553631a; }
.shelf-actions button:disabled { opacity: .5; cursor: wait; }
.shelf-progress { width: 100%; margin-top: 16px; }
.shelf-progress-heading { display: flex; flex-wrap: wrap; gap: 3px 10px; justify-content: space-between; margin-bottom: 7px; font-size: 10px; color: #b4bed9; font-variant-numeric: tabular-nums; }
.shelf-progress-bytes { color: #8d97ae; }
.shelf-footer { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 22px 2px 0; color: #959cac; font-size: 11px; }
.shelf-footer i { margin-right: 5px; color: #adb6d1; }
.shelf-footer p { margin-left: auto; color: #858d9c; }
.shelf-downloads { display: grid; gap: 10px; margin-top: 26px; }
.shelf-download-row { position: relative; border: 1px solid #4c5260; border-radius: 10px; background: #2f3136; padding: 16px 20px; }
.shelf-download-row > strong { font-size: 12px; font-weight: 500; display: block; padding-right: 26px; overflow-wrap: anywhere; }
.shelf-download-dismiss { position: absolute; right: 12px; top: 9px; border: 0; background: transparent; color: #aab2c1; font-size: 22px; cursor: pointer; }
#fajlkuldes button:focus-visible { outline: 2px solid #a9b8ff; outline-offset: 4px; }
@media (max-width: 900px) {
  .file-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 25px; }
  .shelf-slot:nth-child(2) { border-right: 0; }
  .shelf-slot:nth-child(-n+2) { border-bottom: 10px solid #4b515e; box-shadow: 0 7px 8px #0003; }
  .shelf-footer p { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) {
  #fajlkuldes .shelf-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .file-shelf { padding: 10px 8px 35px; }
  .shelf-slot { padding: 28px 10px 16px; min-height: 310px; }
  .shelf-storage { padding: 15px; }
  .shelf-storage-heading strong { font-size: 11px; }
  .shelf-actions { gap: 5px; }
  .shelf-actions button { padding: 9px 8px; font-size: 11px; }
  .shelf-file-icon { width: 62px; height: 74px; }
}
@media (prefers-reduced-motion: reduce) { #fajlkuldes * { transition: none !important; } }
