:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#111827;background:radial-gradient(circle at 0 0,#f973161f,#0000 26%),radial-gradient(circle at 100% 100%,#3b82f61f,#0000 28%),linear-gradient(#f8fafc 0%,#eff6ff 100%);font-family:Inter,system-ui,sans-serif}body,html,#root{background:0 0;min-height:100vh;margin:0;padding:0}.app-shell{max-width:1240px;margin:0 auto;padding:32px}.modal-backdrop{z-index:100;background:#0f172a73;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border-radius:28px;width:min(520px,100%);padding:28px;box-shadow:0 30px 80px #0f172a2e}.modal-card h3{margin-top:0;margin-bottom:18px}.modal-form{gap:16px;display:grid}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.checkbox-label{align-items:center;gap:10px;font-weight:600;display:flex}.folder-card{text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:22px;flex-direction:column;justify-content:space-between;gap:12px;padding:20px;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex}.folder-card:hover,.folder-card.selected{border-color:#0ea5e9;transform:translateY(-2px);box-shadow:0 18px 40px #0ea5e929}.folder-count{color:#6b7280;font-size:.95rem}.folder-lock{margin-left:8px;font-size:.95rem}.folder-upload-note{color:#475569;margin:16px 0 12px;font-size:.96rem}.app-shell:before{content:"";pointer-events:none;z-index:-1;background:linear-gradient(135deg,#f9731605,#0000 45%),linear-gradient(225deg,#3b82f60a,#0000 40%);position:fixed;inset:0}.app-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.app-header strong{font-size:1.4rem;display:block}.app-subtitle{color:#6b7280;margin-top:4px}.language-switcher button{margin-left:8px}.auth-panel,.dashboard{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff2;border-radius:28px;padding:36px;box-shadow:0 30px 80px #0f172a1f}.auth-panel{gap:28px;display:grid}.auth-panel .auth-hero{padding:42px}.auth-card{background:#fff;border-radius:28px;gap:18px;padding:32px;display:grid;box-shadow:0 24px 60px #0f172a14}.auth-card h2{margin:0;font-size:2rem}.auth-panel label{gap:10px;display:grid}.auth-panel input[type=email],.auth-panel input[type=password]{width:100%}.auth-panel h1,.panel h2{margin-top:0}.auth-hero{color:#fff;text-align:center;background:linear-gradient(135deg,#f97316 0%,#fb923c 100%);border-radius:28px;gap:24px;padding:40px;display:grid}.auth-hero h1{margin:0;font-size:2.6rem}.auth-hero p{color:#ffffffe6;max-width:560px;margin:0 auto;font-size:1rem}.auth-panel form,.inline-form{flex-direction:column;gap:14px;display:flex}label{font-weight:600}input[type=email],input[type=password],input[type=file],input[type=text],button,select{font:inherit;border:1px solid #d1d5db;border-radius:14px;padding:12px 14px}button{cursor:pointer;color:#fff;background:#f97316;border:none;transition:background .2s,transform .2s}button:hover{background:#ea580c;transform:translateY(-1px)}button.secondary{color:#111827;background:0 0;border:1px solid #d1d5db}button.danger{background:#ef4444}button.danger:hover{background:#dc2626}.folder-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:18px;display:grid}.folder-card{text-align:left;background:linear-gradient(#fff,#f8fbff);border:1px solid #e5e7eb;border-radius:24px;justify-content:space-between;align-items:flex-start;gap:14px;min-height:130px;padding:22px;transition:transform .2s,border-color .2s,box-shadow .2s,background .2s;display:flex;position:relative}.folder-card:before{content:"📁";opacity:.2;font-size:1.4rem;position:absolute;top:18px;right:18px}.folder-card:hover,.folder-card.selected{background:linear-gradient(#fff,#eff9ff);border-color:#0ea5e9;transform:translateY(-4px);box-shadow:0 22px 50px #0ea5e92b}.folder-card-title{font-size:1.05rem;font-weight:800}.folder-card-subtitle{color:#475569;font-size:.92rem}.folder-open{color:#0ea5e9;opacity:.9;align-self:center;font-weight:700}.upload-panel-inner{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:20px;margin-bottom:20px;padding:20px}.file-input-label span{color:#111827;font-weight:600}.folder-view-panel{flex-direction:column;gap:18px;display:flex}.folder-card.selected .folder-card-title,.folder-card.selected .folder-card-subtitle{color:#111827}.panel.folders-panel{min-height:420px}.panel-header h2{margin:0}.upload-form{grid-template-columns:1fr auto;align-items:center;gap:12px;display:grid}.upload-form button{min-width:140px}.empty-state{text-align:center;color:#6b7280;background:#f8fafc;border:1px dashed #e5e7eb;border-radius:22px;padding:32px}.dashboard{flex-direction:column;gap:24px;display:flex}.dashboard-header{border-bottom:1px solid #0f172a14;justify-content:space-between;align-items:center;gap:16px;padding-bottom:8px;display:flex}.dashboard-welcome{color:#6b7280;margin:0 0 8px;font-size:.95rem}.dashboard-header h1{margin:0;font-size:2rem}.dashboard-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px;display:grid}.summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:22px 24px;transition:transform .25s,box-shadow .25s;box-shadow:0 12px 30px #0f172a0f}.summary-card:hover{transform:translateY(-3px);box-shadow:0 20px 40px #0f172a1a}.highlight-card{border-color:#f97316}.summary-label{color:#6b7280;margin-bottom:10px;font-size:.92rem}.summary-value{color:#111827;font-size:2rem;font-weight:700}.dashboard-grid{grid-template-columns:1fr 1.6fr;gap:24px;display:grid}.side-panel,.upload-panel,.files-panel{background:#ffffffeb;border:1px solid #0ea5e92e;border-radius:24px;padding:24px;box-shadow:0 20px 50px #0f172a0f}.panel-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.files-panel-header{flex-wrap:wrap}.files-panel-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.search-input{color:#111827;background:#f8fafc;border:1px solid #d1d5db;border-radius:16px;width:min(240px,100%);padding:12px 16px}.search-input:focus{border-color:#f97316;outline:none;box-shadow:0 0 0 4px #f973161f}.panel-description{color:#6b7280;margin-top:4px}.folder-form,.upload-form{grid-template-columns:1fr auto;align-items:center;gap:12px;margin-bottom:16px;display:grid}.file-input-label{cursor:pointer;background:#f8fafc;border:1px solid #d1d5db;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.file-input-label input{display:none}.file-input-label span{color:#111827}.folder-chip{color:#111827;background:#f8fafc;border:1px solid #e5e7eb;border-radius:9999px;padding:10px 14px;font-size:.95rem}.folder-chip.selected{color:#fff;background:#0ea5e9;border-color:#0000}.progress-bar-wrapper{margin-bottom:20px}.progress-info{color:#374151;margin-bottom:8px;font-size:.9rem}.progress-bar{background:#e5e7eb;border-radius:9999px;width:100%;height:12px;overflow:hidden}.progress-fill{background:linear-gradient(90deg,#f97316,#fb923c);border-radius:9999px 0 0 9999px;height:100%}.file-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px;display:grid}.file-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;flex-direction:column;gap:14px;padding:18px;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex;box-shadow:0 12px 30px #0f172a0f}.card-thumb-image,.card-thumb-video{object-fit:cover;background:#000;border-radius:20px;width:100%;height:180px}.file-card-thumb{color:#0f172a;background:#f8fafc;border-radius:18px;justify-content:center;align-items:center;height:110px;font-weight:700;display:flex}.file-icon{justify-content:center;align-items:center;width:100%;height:100%;font-size:.95rem;display:flex}.image-icon{background:linear-gradient(135deg,#dbeafe,#bfdbfe)}.video-icon{background:linear-gradient(135deg,#fde68a,#fcd34d)}.doc-icon{background:linear-gradient(135deg,#f5d0fe,#f0abfc)}.file-card-body{flex-direction:column;gap:10px;display:flex}.file-title{font-weight:700;line-height:1.3}.file-meta-row{color:#6b7280;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:.9rem;display:flex}.file-badge{background:#f1f5f9;border-radius:9999px;padding:4px 10px}.file-meta.secondary{color:#9ca3af;font-size:.85rem}.file-card-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:auto;display:grid}.file-card-actions button{min-width:0}.file-card-thumb{border-radius:22px;height:170px;overflow:hidden}.card-thumb-image,.card-thumb-video{object-fit:cover;border-radius:22px;width:100%;height:100%}.file-card:hover{border-color:#f97316;transform:translateY(-4px);box-shadow:0 22px 36px #f973162e}.preview-modal{z-index:50;background:#0f172abf;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.preview-dialog{background:#fff;border-radius:18px;width:min(900px,100% - 40px);max-width:1000px;padding:18px;position:relative;box-shadow:0 26px 56px #0f172a33}.close-button{cursor:pointer;background:0 0;border:none;font-size:1.5rem;position:absolute;top:16px;right:16px}.preview-header{margin-bottom:14px}.preview-header strong{margin-bottom:4px;display:block}.preview-actions{grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:12px;display:grid}.preview-nav{color:#111827;cursor:pointer;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;width:100%;min-height:46px;font-size:1.5rem;transition:background-color .2s,border-color .2s}.preview-nav:disabled{opacity:.4;cursor:not-allowed}.preview-content{background:#111827;border-radius:18px;justify-content:center;align-items:center;padding:12px;display:flex}.preview-content img,.preview-content video{background:#111827;border-radius:16px;width:auto;max-width:100%;height:auto;max-height:calc(80vh - 80px)}.preview-content video{width:100%;height:auto}.folder-list button{color:#0c4a6e;background:#e0f2fe}.folder-list button.selected{color:#fff;background:#0ea5e9}.panel{margin-bottom:24px}.inline-form{flex-wrap:wrap;gap:10px}.info-text{color:#4b5563;margin-top:10px}.file-table{overflow-x:auto}table{border-collapse:collapse;width:100%}thead th{text-align:left;background:#e2e8f0;padding:12px 10px}tbody tr td{border-top:1px solid #e5e7eb;padding:12px 10px}.actions{gap:8px;display:flex}.preview-panel img,.preview-panel video{border-radius:16px;max-width:100%}.message{background:#fde68a;border-radius:16px;margin-top:18px;padding:14px}
