/* ================================================================
   CLOUD DE FAMILIE — temă „ABISUL": dark rock, albastru neon,
   puțin satanică. Fără dependențe; fonturile Cadet/Pirata One vin
   de la Google Fonts în producție, cu fallback local în sandbox.
   ================================================================ */

:root {
  --bg: #000000;
  --panel: rgba(4, 4, 7, .92);
  --panel-2: #07070b;
  --blue: #38bdf8;
  --blue-soft: rgba(56, 189, 248, .35);
  --blue-dim: rgba(56, 189, 248, .14);
  --ink: #dbe6f5;
  --muted: #7186a8;
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, .55);
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --display: 'Metal Mania', 'Luminari', 'Arial Black', Impact, sans-serif;
  --gothic: 'Pirata One', 'Luminari', 'Papyrus', 'Arial Black', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { color-scheme: dark; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

/* aburul e minim: negru, negru, și un razor de lumină deasupra */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 420px at 50% -12%, rgba(56, 189, 248, .07), transparent 60%),
    radial-gradient(800px 400px at 50% 118%, rgba(37, 99, 235, .07), transparent 55%);
}

/* pentagramă de apă, abia vizibilă */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .05;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%2338bdf8' stroke-width='.4'%3E%3Ccircle cx='12' cy='12' r='11'/%3E%3Cpath d='M12 1 18.47 20.9 1.54 8.6h20.92L5.53 20.9Z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / 60vmin;
}

::selection { background: rgba(56, 189, 248, .35); color: #fff; }

/* ------------- bara de derulare a iadului ------------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #0e1724; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #1a2c46; }

/* ================= antet ================= */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 26px;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--blue-dim);
  box-shadow: 0 1px 0 rgba(56, 189, 248, .07), 0 14px 40px rgba(0, 0, 0, .8);
}

.brand { display: flex; align-items: center; gap: 14px; }

.logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue-soft);
  border-radius: 4px;
  background: #000;
  color: var(--blue);
  box-shadow: 0 0 22px rgba(56, 189, 248, .28), inset 0 0 18px rgba(56, 189, 248, .12);
  transition: box-shadow .3s, border-color .3s, color .3s;
}
.logo svg { width: 28px; height: 28px; }
/* ochii craniului pâlpâie în roșu când treci cu mouse-ul peste brand */
.brand:hover .logo { color: #a5f3fc; border-color: rgba(125, 211, 252, .7); box-shadow: 0 0 32px rgba(56, 189, 248, .65), inset 0 0 20px rgba(56, 189, 248, .3); }
.logo .eye { animation: eye-glow 3.2s ease-in-out infinite; }
@keyframes eye-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.top h1 {
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #eaf5ff;
  text-shadow: 0 0 6px rgba(125, 211, 252, .9), 0 0 24px rgba(56, 189, 248, .55), 0 0 60px rgba(56, 189, 248, .35);
  animation: neon-flicker 7s infinite;
}

.top .brand p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

@keyframes neon-flicker {
  0%, 43%, 45%, 47%, 100% { opacity: 1; }
  44%, 46% { opacity: .82; }
}

/* ================= butoane ================= */
.btn {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid var(--blue-soft);
  border-radius: 2px;
  padding: 9px 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: box-shadow .18s, background .18s, color .18s, transform .06s;
}
.btn:hover {
  color: #f2fbff;
  background: rgba(56, 189, 248, .28);
  box-shadow: 0 0 18px rgba(56, 189, 248, .4);
  text-shadow: 0 0 10px rgba(56, 189, 248, .9);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .dropzone:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.btn.ghost { background: transparent; }

.btn.small { padding: 6px 12px; font-size: 12px; letter-spacing: 1.5px; }

.btn.danger {
  color: #c7d2fe;
  border-color: rgba(129, 140, 248, .5);
  background: rgba(129, 140, 248, .10);
}
.btn.danger:hover {
  color: #eef2ff;
  background: rgba(129, 140, 248, .24);
  box-shadow: 0 0 18px rgba(129, 140, 248, .5);
  text-shadow: 0 0 10px rgba(165, 180, 252, .9);
}

/* ================= zona de tragere ================= */
main { width: 100%; max-width: 880px; margin: 0 auto; padding: 26px 16px 70px; flex: 1; }

.dropzone {
  position: relative;
  text-align: center;
  padding: 54px 22px 48px;
  border: 2px dashed var(--blue-soft);
  border-radius: 6px;
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(56, 189, 248, .05), transparent 70%),
    rgba(0, 0, 0, .82);
  cursor: pointer;
  transition: border-color .18s, box-shadow .25s, background .25s;
  overflow: hidden;
}
.dropzone::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(to top, rgba(56, 189, 248, .12), transparent);
  pointer-events: none;
  transition: opacity .25s;
  opacity: .65;
}

.dropzone .big-icon {
  width: 74px;
  height: 74px;
  margin-bottom: 12px;
  color: var(--blue);
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, .7));
  animation: zap-pulse 2.6s ease-in-out infinite;
}
@keyframes zap-pulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(56, 189, 248, .5)); }
  50% { filter: drop-shadow(0 0 22px rgba(56, 189, 248, .95)); }
}

.dropzone h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 27px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #eaf5ff;
  text-shadow: 0 0 18px rgba(56, 189, 248, .5);
}
.dropzone p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .4px;
}

.dropzone.over {
  border-style: solid;
  border-color: #67e0ff;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(56, 189, 248, .13), transparent 70%),
    rgba(3, 1, 5, .9);
  box-shadow: 0 0 55px rgba(56, 189, 248, .28), inset 0 0 90px rgba(125, 211, 252, .16);
}
.dropzone.over::after { opacity: 1; }

/* ================= progres ================= */
.progress-area {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--blue-dim);
  border-radius: 6px;
  display: grid;
  gap: 12px;
}
.progress-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9fc7ff;
  margin-bottom: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.progress-bar {
  height: 8px;
  background: var(--panel-2);
  border: 1px solid var(--blue-dim);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1d4ed8, #38bdf8);
  box-shadow: 0 0 14px rgba(56, 189, 248, .75);
  transition: width .2s ease;
}

/* ================= panoul de fișiere ================= */
.panel {
  margin-top: 22px;
  background: var(--panel);
  border: 1px solid var(--blue-dim);
  border-radius: 6px;
  padding: 18px 18px 8px;
  box-shadow: 0 14px 50px rgba(0, 0, 0, .5), inset 0 0 80px rgba(56, 189, 248, .04);
}

.files-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--blue-dim);
}
.files-head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #cfe7ff;
  text-shadow: 0 0 16px rgba(56, 189, 248, .45);
}

.pill {
  font-family: var(--mono);
  font-size: 12px;
  padding: 1px 10px;
  border-radius: 99px;
  border: 1px solid var(--blue-soft);
  background: var(--blue-dim);
  color: #7dd3fc;
  vertical-align: middle;
}
/* oul de Paște: la 666 de fișiere, contorul arde în iad */
.pill.triple {
  border-color: rgba(125, 211, 252, .85);
  background: rgba(56, 189, 248, .2);
  color: #f0faff;
  text-shadow: 0 0 12px rgba(56, 189, 248, 1), 0 0 26px rgba(34, 211, 238, .8);
  animation: fire-lick .5s ease-in-out infinite alternate;
}

.muted { color: var(--muted); }

.file-list { list-style: none; }

.file-row {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(56, 189, 248, .08);
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: background .15s, border-color .15s;
}
.file-row:hover {
  background: linear-gradient(180deg, rgba(56, 189, 248, .06), rgba(37, 99, 235, .1));
  border-left-color: var(--blue);
}
.file-row:last-child { border-bottom: none; }

.file-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue-dim);
  border-radius: 4px;
  background: var(--panel-2);
  overflow: visible;
}
.file-icon svg { width: 22px; height: 22px; }
.file-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }

.file-info { flex: 1; min-width: 0; }
.file-name {
  display: block;
  font-weight: 600;
  font-size: 14.5px;
  color: #bfe1ff;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .15s, text-shadow .15s;
}
.file-name:hover {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(56, 189, 248, .9);
  text-decoration: underline;
  text-decoration-color: var(--blue-soft);
}
.file-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .6px;
  color: var(--muted);
  margin-top: 2px;
}

.file-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ================= starea goalie ================= */
.empty { text-align: center; padding: 44px 16px 40px; }
.empty-icon {
  font-size: 46px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, .6));
}
.empty strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9fc7ff;
}
.empty p { margin-top: 6px; }
.empty .muted { font-size: 13px; }

/* ================= subsol + notificări ================= */
footer { padding: 10px 0 0; }
footer p {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #40506e;
  border-top: 1px solid var(--blue-dim);
  margin-top: 46px;
  padding-top: 16px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  background: #020204;
  color: #e8f4ff;
  border: 1px solid var(--blue-soft);
  border-radius: 6px;
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .4px;
  box-shadow: 0 0 30px rgba(56, 189, 248, .3), 0 12px 40px rgba(0, 0, 0, .6);
  z-index: 50;
  max-width: min(90vw, 560px);
}

/* ================= flăcări pe fișiere (hover) ================= */
.file-row::before {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 15px;
  background:
    radial-gradient(8px 15px at 12% 100%, rgba(224, 242, 254, .95), rgba(56, 189, 248, .55) 50%, rgba(29, 78, 216, .25) 68%, transparent 76%),
    radial-gradient(10px 17px at 34% 100%, rgba(186, 230, 253, .9), rgba(34, 211, 238, .5) 50%, rgba(30, 64, 175, .25) 66%, transparent 74%),
    radial-gradient(7px 14px at 57% 100%, rgba(240, 249, 255, .95), rgba(96, 165, 250, .55) 50%, rgba(37, 99, 235, .25) 68%, transparent 76%),
    radial-gradient(9px 16px at 80% 100%, rgba(165, 243, 252, .9), rgba(59, 130, 246, .5) 50%, rgba(30, 58, 138, .25) 66%, transparent 74%);
  filter: blur(.6px);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom;
  transition: opacity .15s;
  z-index: 2;
}
.file-row:hover::before,
.file-row.removing::before {
  opacity: 1;
  animation: fire-lick .45s ease-in-out infinite alternate;
}
@keyframes fire-lick {
  0%   { transform: scaleY(1)    skewX(0deg);  opacity: .95; }
  50%  { transform: scaleY(1.2)  skewX(2deg);  opacity: .65; }
  100% { transform: scaleY(.9)   skewX(-3deg); opacity: 1; }
}

/* limba de foc deasupra iconiței */
.file-row:hover .file-icon::after {
  content: '🔥';
  position: absolute;
  top: -11px;
  right: -8px;
  font-size: 15px;
  filter: hue-rotate(180deg) saturate(2.4) brightness(1.25) drop-shadow(0 0 8px rgba(56, 189, 248, .95));
  animation: fire-lick .4s ease-in-out infinite alternate;
}

/* ================= blestemul ștergerii (distorsiune) ================= */
.file-row.removing {
  pointer-events: none;
  animation: row-curse .62s steps(3, jump-none) forwards;
}
@keyframes row-curse {
  0%   { transform: translateX(0) skewX(0); opacity: 1; filter: none; box-shadow: none; }
  18%  { transform: translateX(-7px) skewX(-9deg); filter: hue-rotate(85deg) saturate(4) contrast(1.35);
         box-shadow: -5px 0 rgba(125, 211, 252, .65), 5px 0 rgba(129, 140, 248, .6); }
  36%  { transform: translateX(6px) skewX(7deg); clip-path: inset(10% 0 42% 0); }
  54%  { transform: translateX(-4px) skewX(-7deg); filter: invert(.85) saturate(6);
         clip-path: inset(56% 0 3% 0); opacity: .9; }
  72%  { transform: translateX(9px) skewX(11deg) scaleY(.94); filter: blur(1.5px);
         clip-path: inset(25% 0 28% 0); }
  100% { transform: translateX(16px) scaleY(.55); filter: blur(7px) brightness(.35);
         opacity: 0; clip-path: inset(0 0 100% 0); }
}

/* ================= sortare ================= */
.head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.sortbar { display: flex; gap: 6px; flex-wrap: wrap; }
.btn.sort {
  padding: 4px 10px;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  color: var(--muted);
  background: transparent;
  border-color: rgba(56, 189, 248, .2);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.btn.sort:hover { color: #bfe6ff; border-color: var(--blue-soft); box-shadow: 0 0 12px rgba(56, 189, 248, .25); }
.btn.sort.active {
  color: #eaf7ff;
  background: rgba(56, 189, 248, .16);
  border-color: rgba(125, 211, 252, .75);
  box-shadow: 0 0 14px rgba(56, 189, 248, .4), inset 0 0 10px rgba(56, 189, 248, .15);
  text-shadow: 0 0 8px rgba(56, 189, 248, .9);
}

/* ================= contor descărcări ================= */
.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 99px;
  border: 1px solid rgba(56, 189, 248, .4);
  background: rgba(56, 189, 248, .1);
  color: #7dd3fc;
  font-size: 10.5px;
  letter-spacing: .5px;
  text-shadow: 0 0 6px rgba(56, 189, 248, .55);
  vertical-align: -1px;
  animation: badge-in .35s ease both;
}
.dl-badge.zero { opacity: .45; border-style: dashed; background: transparent; text-shadow: none; }
@keyframes badge-in { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ================= foc albastru în zona de tragere ================= */
.flames {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  pointer-events: none;
  filter: blur(5px);
  opacity: .45;
  transition: opacity .3s, filter .3s;
  mix-blend-mode: screen;
}
.dropzone:hover .flames, .dropzone.over .flames { opacity: 1; filter: blur(3.5px); }
.flames i {
  position: absolute;
  bottom: -16px;
  left: var(--x, 50%);
  width: 16px;
  height: 40px;
  background: linear-gradient(to top, rgba(56, 189, 248, .95), rgba(37, 99, 235, .5) 55%, transparent);
  clip-path: polygon(50% 0, 78% 38%, 66% 44%, 100% 100%, 0 100%, 34% 44%, 22% 38%);
  transform-origin: bottom center;
  animation: lick 1.1s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
@keyframes lick {
  0%   { transform: scaleY(.5) skewX(-8deg) translateX(-2px); opacity: .5; }
  50%  { transform: scaleY(1.2) skewX(5deg) translateX(2px); opacity: 1; }
  100% { transform: scaleY(.72) skewX(-4deg); opacity: .65; }
}

/* jăratic ambiental: scântei albastre care urcă prin pagină */
.embers { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.embers i {
  position: absolute;
  bottom: -12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #eefaff, #38bdf8 55%, rgba(29, 78, 216, .5) 75%, transparent);
  box-shadow: 0 0 8px 2px rgba(56, 189, 248, .55), 0 0 18px rgba(34, 211, 238, .3);
  animation: ember-rise linear forwards;
  opacity: 0;
}
@keyframes ember-rise {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0; }
  12%  { opacity: .95; }
  60%  { transform: translate3d(calc(var(--drift, 0px) * .6), -55vh, 0) scale(.65); opacity: .7; }
  100% { transform: translate3d(var(--drift, 20px), -108vh, 0) scale(.2); opacity: 0; }
}

/* shine-ul care trece prin butoane la hover */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(190, 227, 255, .4), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* bara de progres cu curgere de lumină */
.progress-fill {
  background: linear-gradient(90deg, #0c4a6e, #38bdf8, #a5f3fc, #38bdf8, #0c4a6e);
  background-size: 250% 100%;
  animation: flow 1.4s linear infinite;
}
@keyframes flow { from { background-position: 0 0; } to { background-position: 250% 0; } }

/* puls albastru lin în jurul abisului */
.dropzone { animation: dz-glow 3.8s ease-in-out infinite; }
@keyframes dz-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(56, 189, 248, .05); }
  50% { box-shadow: 0 0 36px rgba(56, 189, 248, .18); }
}
.dropzone.over { animation: none; }

/* ================= telefon ================= */
@media (max-width: 560px) {
  .top { padding: 14px 16px; }
  .top h1 { font-size: 24px; letter-spacing: 2px; }
  .logo { width: 40px; height: 40px; }
  main { padding: 16px 12px 50px; }
  .dropzone { padding: 38px 14px 34px; }
  .dropzone .big-icon { width: 56px; height: 56px; }
  .dropzone h2 { font-size: 21px; }
  .file-row { flex-wrap: wrap; }
  .file-info { flex-basis: calc(100% - 60px); }
  .file-actions { width: 100%; justify-content: flex-end; margin-top: 4px; }
  .panel { padding: 14px 12px 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ================= foldere ================= */
.folderbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.fchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #bfe1ff;
  background: rgba(56, 189, 248, .08);
  border: 1px solid rgba(56, 189, 248, .25);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  transition: box-shadow .15s, border-color .15s, background .15s, transform .06s;
  user-select: none;
}
.fchip:hover { border-color: var(--blue); box-shadow: 0 0 14px rgba(56, 189, 248, .35); }
.fchip:active { transform: translateY(1px); }
.fchip.active {
  background: rgba(56, 189, 248, .24);
  border-color: #a5f3fc;
  color: #f0faff;
  box-shadow: 0 0 16px rgba(56, 189, 248, .5), inset 0 0 10px rgba(56, 189, 248, .2);
  text-shadow: 0 0 8px rgba(56, 189, 248, .9);
}
.fchip.drop-target {
  border-color: #a5f3fc;
  background: rgba(165, 243, 252, .18);
  box-shadow: 0 0 20px rgba(56, 189, 248, .6);
  animation: chip-flare .5s ease-in-out infinite alternate;
}
@keyframes chip-flare {
  from { box-shadow: 0 0 12px rgba(56, 189, 248, .4); }
  to { box-shadow: 0 0 26px rgba(56, 189, 248, .85); }
}
.fchip .fcount {
  font-size: 10px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, .18);
  border-radius: 99px;
  padding: 0 7px;
  border: 1px solid rgba(56, 189, 248, .25);
}
.fchip.active .fcount { background: rgba(2, 6, 12, .4); }
.fchip .fmini {
  font-size: 11px;
  opacity: 0;
  padding: 0 3px;
  color: #8fb8e8;
  border-radius: 3px;
  transition: opacity .15s;
}
.fchip:hover .fmini { opacity: .75; }
.fchip .fmini:hover { opacity: 1; color: #ff9d9d; background: rgba(239, 68, 68, .15); }
.fnew {
  border-style: dashed;
  color: #7dd3fc;
  background: transparent;
}

/* fișierele pot fi prinse de coadă și trase într-un folder */
.file-row { cursor: default; }
.file-row .file-info { cursor: grab; }
.file-row .file-info:active { cursor: grabbing; }
.file-row.dragging { opacity: .35; filter: saturate(2) hue-rotate(30deg); }
.drop-hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #67e0ff;
}
.drop-hint strong { color: #f0faff; text-shadow: 0 0 8px rgba(56, 189, 248, .8); }
.badge-move {
  animation: badge-in .3s ease both;
  color: #a5f3fc !important;
  border-color: rgba(165, 243, 252, .6) !important;
}

/* ținta de încărcare din dropzone + butonul de folder nou */
.drop-target-hint {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: #a5f3fc;
  background: rgba(56, 189, 248, .12);
  border: 1px solid rgba(165, 243, 252, .45);
  border-radius: 99px;
  padding: 4px 14px;
  box-shadow: 0 0 16px rgba(56, 189, 248, .35);
  animation: badge-in .3s ease both;
}
.drop-target-hint strong { color: #f0faff; text-shadow: 0 0 8px rgba(56, 189, 248, .9); }
button.fchip {
  font-family: var(--mono);
  border-radius: 4px;
  line-height: 1.4;
}
