:root { --primary: #00ff88; --primary-rgb: 0, 255, 136; --bg-dark: #050505; --glass: rgba(18,18,22,0.45); --glass-border: rgba(255,255,255,0.1); --glass-border-hover: rgba(255,255,255,0.18); --text: #ffffff; --muted: #6e7179; --card-radius: 26px; --blur: 50px; --specular: rgba(255,255,255,0.12); --refract: 1px; }
[data-theme="pink"] { --primary: #ff4b91; --primary-rgb: 255, 75, 145; }
[data-theme="blue"] { --primary: #4ba8ff; --primary-rgb: 75, 168, 255; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; outline: none; }
*::-webkit-scrollbar { display: none; }
.hidden { display: none !important; }
html, body { margin: 0; padding: 0; height: 100dvh; width: 100vw; overflow: hidden; background: #030304; color: var(--text); font-family: "Inter", -apple-system, sans-serif; font-size: 13px; -webkit-font-smoothing: antialiased; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes glowPulse { 0%,100% { box-shadow: 0 0 15px rgba(var(--primary-rgb),0.08); } 50% { box-shadow: 0 0 25px rgba(var(--primary-rgb),0.18); } }

/* === AMBIENT === */
.ambient-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(var(--primary-rgb), 0.15), transparent 70%), radial-gradient(ellipse 50% 35% at 80% 100%, rgba(var(--primary-rgb), 0.06), transparent), radial-gradient(ellipse 40% 30% at 20% 60%, rgba(var(--primary-rgb), 0.03), transparent); transition: background 0.8s; }

/* === PRELOADER === */
.preloader { position: fixed; inset: 0; background: #030304; z-index: 99999; display: flex; align-items: center; justify-content: center; }
.loader { width: 36px; height: 36px; border: 2px solid rgba(255,255,255,0.06); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s cubic-bezier(0.5,0,0.5,1) infinite; }

/* === LIQUID GLASS CORE (iOS 26 / macOS) === */
.glass { background: var(--glass); backdrop-filter: blur(var(--blur)) saturate(200%) brightness(1.05); -webkit-backdrop-filter: blur(var(--blur)) saturate(200%) brightness(1.05); border: 1px solid var(--glass-border); box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 var(--specular), inset 0 -1px 0 rgba(0,0,0,0.3), 0 0 0 0.5px rgba(255,255,255,0.04); border-radius: var(--card-radius); transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.glass:hover { border-color: var(--glass-border-hover); box-shadow: 0 16px 56px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.15), 0 0 0 1px rgba(var(--primary-rgb), 0.06), 0 1px 3px rgba(255,255,255,0.04); }
.glass-reflect { position: relative; overflow: hidden; }
.glass-reflect::before { content:''; position:absolute; inset:-1px; border-radius:inherit; background:linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 40%, rgba(var(--primary-rgb),0) 60%, rgba(var(--primary-rgb),0.03)); z-index:0; transition:background 0.5s; pointer-events:none; }
.glass-reflect:hover::before { background:linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0) 40%, rgba(var(--primary-rgb),0.04) 60%, rgba(var(--primary-rgb),0.06)); }
.glass-reflect::after { content:''; position:absolute; pointer-events:none; inset:0; background:radial-gradient(600px circle at var(--x,50%) var(--y,50%),rgba(var(--primary-rgb),0.1),transparent 50%); opacity:var(--glare-opacity,0); transition:opacity 0.4s; z-index:1; border-radius:inherit; }

/* === NAV BAR === */
.nav { position: fixed; bottom: 12px; left: 50%; transform: translateX(-50%); width: 94%; max-width: 480px; z-index: 1000; display: flex; gap: 6px; padding: 6px; background: rgba(8,8,10,0.88); backdrop-filter: blur(60px) saturate(220%) brightness(1.02); -webkit-backdrop-filter: blur(60px) saturate(220%) brightness(1.02); border: 1px solid rgba(255,255,255,0.1); border-radius: 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 0.5px rgba(255,255,255,0.04); padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
.nav-item { flex: 1; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 22px; color: #555; transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); cursor: pointer; }
.nav-item.active { background: linear-gradient(180deg, rgba(var(--primary-rgb),0.2) 0%, rgba(var(--primary-rgb),0.05) 100%); border-color: rgba(var(--primary-rgb),0.45); color: #fff; box-shadow: 0 0 24px rgba(var(--primary-rgb),0.18), inset 0 1px 0 rgba(255,255,255,0.18); transform: translateY(-1px); }
.nav-item i { font-size: 20px; }
.nav-item span { font-size: 9px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; }

/* === LAYOUT === */
#pages { position: relative; z-index: 5; height: calc(100dvh - 86px); overflow: hidden; }
.page { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: 20px 16px 100px; }
.header { text-align: center; margin-bottom: 28px; }
.header h2 { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.5) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }

/* === TABS === */
.tabs { display: flex; gap: 10px; margin-bottom: 20px; padding: 4px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 22px; }
.tab { flex: 1; padding: 12px; border-radius: 18px; background: transparent; border: 1px solid transparent; color: #666; font-size: 13px; font-weight: 700; cursor: pointer; text-align: center; transition: 0.3s; }
.tab.active { background: rgba(var(--primary-rgb),0.12); border-color: rgba(var(--primary-rgb),0.3); color: #fff; box-shadow: 0 0 12px rgba(var(--primary-rgb),0.1); }

/* === HOME GRID === */
.home-grid { display: flex; flex-direction: column; gap: 12px; }

/* === BUTTONS === */
.btn { position: relative; z-index: 50; font-family: inherit; font-size: 13px; font-weight: 700; border-radius: 18px; padding: 14px 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--glass); backdrop-filter: blur(20px) saturate(180%); border: 1px solid var(--glass-border); color: #fff; transition: all 0.3s; }
.btn:hover { border-color: var(--glass-border-hover); transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: linear-gradient(135deg, rgba(var(--primary-rgb),0.28) 0%, rgba(var(--primary-rgb),0.08) 100%); border-color: rgba(var(--primary-rgb),0.45); box-shadow: 0 4px 20px rgba(var(--primary-rgb),0.18), inset 0 1px 0 rgba(255,255,255,0.15); text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.btn-primary:hover { box-shadow: 0 8px 40px rgba(var(--primary-rgb),0.3), 0 0 20px rgba(var(--primary-rgb),0.12); border-color: rgba(var(--primary-rgb),0.65); transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.97); transition: 0.1s; }
.btn-block { width: 100%; }
.btn-outline { background: transparent !important; backdrop-filter: none; border: 1px solid rgba(255,255,255,0.12) !important; }
.big-btn { height: 100px; font-size: 17px; flex-direction: column; gap: 10px; border-radius: var(--card-radius); }
.small-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.small-btns .btn { height: 76px; font-size: 12px; flex-direction: column; width: 100%; }

/* === CARDS === */
.card { display: block; border-radius: var(--card-radius); padding: 18px; margin-bottom: 12px; background: var(--glass); backdrop-filter: blur(var(--blur)); border: 1px solid var(--glass-border); box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
.card-header-flex { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.card-title-text { font-size: 16px; font-weight: 800; }

/* === ACC CARDS === */
.acc-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 10px; background: var(--glass); backdrop-filter: blur(30px); border: 1px solid var(--glass-border); border-radius: 22px; cursor: pointer; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; animation: fadeUp 0.4s ease both; }
.acc-card:nth-child(2) { animation-delay: 0.05s; }
.acc-card:nth-child(3) { animation-delay: 0.1s; }
.acc-card:nth-child(4) { animation-delay: 0.15s; }
.acc-card:hover { border-color: rgba(var(--primary-rgb),0.25); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 15px rgba(var(--primary-rgb),0.08); }
.info-card { backdrop-filter: none !important; background: rgba(18,18,22,0.7) !important; will-change: transform; }
.info-card::before, .info-card::after { display: none !important; }
.info-card:hover { border-color: rgba(var(--primary-rgb),0.3); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.4), 0 0 15px rgba(var(--primary-rgb),0.06); }
.acc-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: rgba(var(--primary-rgb),0.08); border-radius: 14px; font-size: 20px; color: var(--primary); border: 1px solid rgba(var(--primary-rgb),0.15); }
.acc-name { font-weight: 700; color: #fff; font-size: 14px; }
.acc-desc { font-size: 11px; color: #666; margin-top: 2px; }

/* === NEURO === */
.neuro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.neuro-btn { position: relative; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: 110px; width: 100%; background: var(--glass) !important; backdrop-filter: blur(30px); border: 1px solid var(--glass-border) !important; border-radius: var(--card-radius); cursor: pointer; color: #fff; transition: 0.3s; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.neuro-btn:hover { border-color: rgba(var(--primary-rgb),0.35) !important; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 20px rgba(var(--primary-rgb),0.08); animation: glowPulse 2s ease-in-out infinite; }
.neuro-btn i { font-size: 28px; color: var(--primary); filter: drop-shadow(0 0 8px rgba(var(--primary-rgb),0.3)); }
.neuro-btn span { font-size: 12px; font-weight: 700; }

/* === SYNC === */
.sync-nav { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; margin-top: 10px; }
.slot-btn { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: #555; font-weight: 800; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.slot-btn.active { background: rgba(var(--primary-rgb),0.15); border-color: rgba(var(--primary-rgb),0.5); color: #fff; box-shadow: 0 0 18px rgba(var(--primary-rgb),0.2); transform: scale(1.08); }
.sync-slot { display: none !important; }
.sync-slot.active { display: block !important; animation: fadeUp 0.3s ease; }
.sync-upload-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.upload-box { position: relative; height: 130px; background: var(--glass); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94); cursor: pointer; }
.upload-box:hover { border-color: rgba(var(--primary-rgb),0.3); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.4), 0 0 15px rgba(var(--primary-rgb),0.06); }
.upload-box:active { transform: scale(0.97); }
.upload-ph { pointer-events: none; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.upload-ph i { font-size: 28px; color: var(--primary); filter: drop-shadow(0 0 6px rgba(var(--primary-rgb),0.3)); }
.upload-ph div { font-size: 11px; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: 0.5px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.sync-result-area { margin-top: 16px; text-align: center; min-height: 40px; }
.sync-status { color: #888; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.sync-status i { margin-right: 4px; }
.sync-loader { display: none; width: 32px; height: 32px; border: 2px solid rgba(var(--primary-rgb),0.15); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 10px; }
.sync-player-wrap { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; padding: 12px; margin-top: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04); }
.sync-player-wrap video { width: 100%; border-radius: 14px; background: #000; box-shadow: 0 4px 16px rgba(0,0,0,0.6); }

/* === COPY BUTTONS === */
.copy-btn-lg { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; cursor: pointer; margin-bottom: 8px; z-index: 10; position: relative; transition: 0.3s; }
.copy-btn-lg:hover { border-color: rgba(var(--primary-rgb),0.3); transform: translateY(-1px); }
.copy-btn-label { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.copy-btn-value { font-size: 13px; font-weight: 600; color: #fff; font-family: "SF Mono", monospace; }
.copy-btn-icon { font-size: 16px; color: var(--primary); opacity: 0.7; }

/* === BADGES === */
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.badge { padding: 5px 12px; border-radius: 10px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge.green { background: rgba(var(--primary-rgb),0.1); color: var(--primary); border: 1px solid rgba(var(--primary-rgb),0.2); }
.badge.red { background: rgba(255,75,75,0.1); color: #ff6b6b; border: 1px solid rgba(255,75,75,0.2); }
.badge.blue { background: rgba(75,168,255,0.1); color: #6bb3ff; border: 1px solid rgba(75,168,255,0.2); }

/* === MODALS === */
.modal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: 0.35s; }
.modal.active { opacity: 1; pointer-events: auto; }
.modal-content { width: 100%; max-height: 92vh; overflow-y: auto; background: rgba(14,14,18,0.95); backdrop-filter: blur(80px) saturate(200%) brightness(1.02); -webkit-backdrop-filter: blur(80px) saturate(200%); border-radius: 36px 36px 0 0; padding-bottom: 40px; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1); border-top: 1px solid rgba(255,255,255,0.12); box-shadow: 0 -20px 80px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.08); }
.modal.active .modal-content { transform: translateY(0); }
.modal-header { padding: 22px 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.modal-header h3 { font-size: 18px; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 10px; }
.modal-body { padding: 20px 25px; }
.modal-close { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 50%; width: 34px; height: 34px; color: #888; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: 0.2s; }
.modal-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* === FORMS === */
.form-control { width: 100%; padding: 14px 16px; border-radius: 16px; background: rgba(0,0,0,0.3) !important; border: 1px solid rgba(255,255,255,0.08) !important; color: #fff !important; outline: none; margin-bottom: 4px; font-family: inherit; font-size: 13px; transition: border-color 0.3s; }
.form-control:focus { border-color: rgba(var(--primary-rgb),0.3) !important; }
select.form-control { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e") !important; background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 14px !important; }
textarea.form-control { resize: vertical; min-height: 48px; }
.form-label { font-size: 10px; font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: 0.8px; margin-top: 14px; margin-bottom: 8px; display: block; }
.drop-zone { border: 1px dashed rgba(255,255,255,0.12); border-radius: 20px; padding: 28px; text-align: center; cursor: pointer; background: rgba(0,0,0,0.15); margin-bottom: 12px; transition: 0.3s; }
.drop-zone:hover { border-color: rgba(var(--primary-rgb),0.3); background: rgba(var(--primary-rgb),0.03); }
.drop-zone i { font-size: 22px; margin-bottom: 6px; color: var(--primary); display: block; }
.drop-zone p { margin: 0; color: #666; font-size: 12px; }

/* === CABINET === */
.cabinet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.metric-card { padding: 18px 16px; min-height: 100px; border-radius: 22px; background: var(--glass); backdrop-filter: blur(30px); border: 1px solid var(--glass-border); display: flex; flex-direction: column; justify-content: space-between; transition: 0.3s; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.metric-card:hover { border-color: rgba(var(--primary-rgb),0.2); box-shadow: 0 4px 20px rgba(0,0,0,0.3), 0 0 15px rgba(var(--primary-rgb),0.06); }
.full { grid-column: 1 / -1; }
.metric-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.metric-icon { font-size: 13px; color: var(--primary); opacity: 0.8; }
.metric-title { font-size: 10px; font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: 0.5px; }
.metric-value { font-size: 22px; font-weight: 800; color: #fff; }
.theme-switch { display: flex; justify-content: center; gap: 8px; }
.theme-pill { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 10px 22px; color: #666; font-size: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.theme-pill.active { background: rgba(var(--primary-rgb),0.12); border-color: rgba(var(--primary-rgb),0.3); color: #fff; }
.proxy-card { display: block; cursor: default; }

/* === CREO === */
.creo-types-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 6px; margin-bottom: 10px; }
.creo-type-btn { padding: 9px 14px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: #666; font-size: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.creo-type-btn.active { background: rgba(var(--primary-rgb),0.15); border-color: rgba(var(--primary-rgb),0.4); color: #fff; box-shadow: 0 0 12px rgba(var(--primary-rgb),0.1); }

/* === KPI / SLIDERS === */
.creo-kpi-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.kpi-row { display: flex; align-items: center; gap: 12px; }
.kpi-label { font-size: 10px; font-weight: 700; color: #666; min-width: 90px; flex-shrink: 0; text-transform: uppercase; letter-spacing: 0.3px; }
.kpi-slider { flex: 1; -webkit-appearance: none; appearance: none; background: transparent; height: 20px; }
.kpi-slider::-webkit-slider-runnable-track { width: 100%; height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; }
.kpi-slider::-webkit-slider-thumb { -webkit-appearance: none; height: 18px; width: 18px; border-radius: 50%; background: var(--primary); border: 2px solid rgba(255,255,255,0.9); margin-top: -7px; box-shadow: 0 0 12px rgba(var(--primary-rgb),0.5); cursor: pointer; transition: box-shadow 0.2s; }
.kpi-slider::-webkit-slider-thumb:hover { box-shadow: 0 0 20px rgba(var(--primary-rgb),0.7); }
.kpi-value { font-size: 15px; font-weight: 800; color: var(--primary); min-width: 26px; text-align: center; flex-shrink: 0; }

/* === STABILITY BUTTONS (ElevenLabs v3) === */
.stability-btns { display: flex; gap: 8px; flex: 1; }
.stability-btn { flex: 1; padding: 10px; border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: #666; font-size: 11px; font-weight: 700; text-align: center; cursor: pointer; transition: 0.3s; }
.stability-btn.active { background: rgba(var(--primary-rgb),0.15); border-color: rgba(var(--primary-rgb),0.4); color: #fff; }

.voice-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; margin-bottom: 8px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); }

/* === UTILS === */
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 14px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 14px; } .mb-4 { margin-bottom: 20px; }
.text-center { text-align: center; }
.theme-text { color: var(--primary); }

/* === LOADER CONTAINER (stalker tips) === */
.loader-container { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 0 30px; text-align: center; }
.loading-tip { font-size: 12px; color: var(--muted); font-style: italic; max-width: 250px; text-align: center; line-height: 1.4; animation: fadeUp 0.5s ease; }

/* === UPLOAD PROGRESS BAR === */
.upload-progress { display: none; width: 100%; height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; margin-top: 12px; overflow: hidden; }
.upload-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary), rgba(var(--primary-rgb),0.6)); border-radius: 3px; transition: width 0.3s ease; }
.upload-progress-text { display: none; font-size: 11px; color: var(--muted); text-align: center; margin-top: 6px; font-weight: 600; }

/* ========================================================= */
/* --- СТИЛЬНЫЕ ПЛАШКИ УДАЛЕНИЯ ФАЙЛОВ --- */
/* ========================================================= */
.file-info-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 4px 4px 14px;
    border-radius: 24px;
    margin-top: 10px;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.05), 0 4px 12px rgba(0,0,0,0.3);
    max-width: 90%;
}
.selected-file-badge {
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.delete-file-btn {
    background: rgba(255, 75, 75, 0.15);
    border: 1px solid rgba(255, 75, 75, 0.3);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.delete-file-btn:hover {
    background: rgba(255, 75, 75, 0.9);
    border-color: #ff4b4b;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 75, 75, 0.4);
}
/* ЖЕСТКО ЗАПРЕЩАЕМ РОДИТЕЛЮ ЛОМАТЬ ИКОНКУ КОРЗИНЫ */
.drop-zone .delete-file-btn i {
    color: #ff4b4b !important;
    font-size: 13px !important;
    margin: 0 !important;
    display: inline-block !important;
    filter: none !important;
    transition: color 0.2s;
}
.drop-zone .delete-file-btn:hover i {
    color: #fff !important;
}
