*{margin:0;padding:0;box-sizing:border-box}:root{--primary: #3b82f6;--primary-dark: #2563eb;--primary-light: #dbeafe;--secondary: #8b5cf6;--success: #10b981;--danger: #ef4444;--error: #dc2626;--error-light: #fee2e2;--warning: #f59e0b;--text: #1f2937;--text-light: #6b7280;--border: #e5e7eb;--bg: #ffffff;--bg-secondary: #f9fafb;--shadow: 0 1px 3px 0 rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1)}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--bg-secondary);color:var(--text);line-height:1.6}#app{min-height:100vh}.header{background:var(--bg);border-bottom:1px solid var(--border);padding:1rem 0;box-shadow:var(--shadow)}.header-content{max-width:1200px;margin:0 auto;padding:0 1.5rem;display:flex;justify-content:space-between;align-items:center}.logo{font-size:1.5rem;font-weight:700;color:var(--primary);text-decoration:none;display:flex;align-items:center;gap:.5rem}.nav{display:flex;gap:1.5rem;align-items:center}.nav a{color:var(--text);text-decoration:none;font-weight:500;transition:color .2s}.nav a:hover{color:var(--primary)}.btn{padding:.625rem 1.25rem;border:none;border-radius:.5rem;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-secondary{background:var(--bg-secondary);color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{background:var(--border)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover{background:#dc2626}.btn:disabled{opacity:.5;cursor:not-allowed}.container{max-width:1200px;margin:0 auto;padding:2rem 1.5rem}.container-small{max-width:480px;margin:0 auto;padding:2rem 1.5rem}.card{background:var(--bg);border:1px solid var(--border);border-radius:.75rem;padding:2rem;box-shadow:var(--shadow)}.form-group{margin-bottom:1.5rem}.form-label{display:block;margin-bottom:.5rem;font-weight:600;color:var(--text)}.form-input{width:100%;padding:.75rem 1rem;border:1px solid var(--border);border-radius:.5rem;font-size:1rem;transition:all .2s}.form-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #3b82f61a}.form-error{margin-top:.5rem;color:var(--danger);font-size:.875rem}.upload-area{border:2px dashed var(--border);border-radius:.75rem;padding:3rem 2rem;text-align:center;cursor:pointer;transition:all .2s}.upload-area:hover,.upload-area.drag-over{border-color:var(--primary);background:#3b82f60d}.upload-icon{font-size:3rem;margin-bottom:1rem;color:var(--text-light)}.file-list{display:flex;flex-direction:column;gap:1rem}.file-item{display:flex;align-items:center;justify-content:space-between;padding:1rem;background:var(--bg);border-radius:.5rem;border:1px solid var(--border);box-shadow:var(--shadow);transition:all .2s}.file-item:hover{box-shadow:var(--shadow-lg);border-color:var(--primary-light)}.file-info{flex:1}.file-name-row{display:flex;align-items:center;gap:.75rem;margin-bottom:.25rem}.file-name{font-weight:600;font-family:Monaco,Menlo,Courier New,monospace;font-size:.9rem;color:var(--primary)}.file-link{text-decoration:none;color:var(--primary);transition:all .2s}.file-link:hover{color:var(--primary-dark);text-decoration:underline}.file-meta{font-size:.875rem;color:var(--text-light)}.file-actions{display:flex;gap:.5rem;flex-wrap:wrap}.status-badge{display:inline-block;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.status-active{background:#d1fae5;color:#065f46}.status-pending{background:#fef3c7;color:#92400e}.status-failed{background:var(--error-light);color:var(--error)}.status-default{background:var(--bg-secondary);color:var(--text-light)}.btn-icon{padding:.5rem;min-width:2.5rem;background:var(--bg-secondary);border:1px solid var(--border);font-size:1.2rem}.btn-icon:hover{background:var(--border);transform:scale(1.1)}.btn-icon-small{padding:.25rem .5rem;background:transparent;border:none;font-size:1rem;cursor:pointer;transition:all .2s;opacity:.6;min-width:auto}.btn-icon-small:hover{opacity:1;background:var(--primary-light);transform:scale(1.1)}.btn-icon-small:active{transform:scale(.95)}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:var(--bg);border:1px solid var(--border);border-radius:.75rem;padding:1.5rem;box-shadow:var(--shadow)}.stat-label{font-size:.875rem;color:var(--text-light);margin-bottom:.5rem}.stat-value{font-size:2rem;font-weight:700;color:var(--primary)}.alert{padding:1rem 1.25rem;border-radius:.5rem;margin-bottom:1.5rem}.alert-success{background:#d1fae5;color:#065f46;border:1px solid #10b981}.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #ef4444}.loading{text-align:center;padding:3rem;color:var(--text-light)}.spinner{border:3px solid var(--border);border-top:3px solid var(--primary);border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin:0 auto 1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes slideInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.text-center{text-align:center}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}.modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;animation:fadeIn .2s ease-out}.modal-content{background:var(--bg);border-radius:.75rem;box-shadow:var(--shadow-lg);max-width:500px;width:100%;max-height:90vh;overflow:auto;animation:slideInUp .3s ease-out}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid var(--border)}.modal-header h3{margin:0;font-size:1.25rem}.modal-close{background:none;border:none;font-size:2rem;line-height:1;cursor:pointer;color:var(--text-light);transition:color .2s;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center}.modal-close:hover{color:var(--text)}.modal-body{padding:1.5rem}.modal-footer{display:flex;gap:.75rem;justify-content:flex-end;padding:1.5rem;border-top:1px solid var(--border)}.qr-container{display:flex;justify-content:center;padding:1rem;background:var(--bg-secondary);border-radius:.5rem;margin-bottom:1rem}.qr-container canvas{display:block;border:2px solid var(--border);border-radius:.5rem}.qr-url{text-align:center;font-size:.875rem;color:var(--text-light);word-break:break-all;padding:.5rem;background:var(--bg-secondary);border-radius:.375rem;font-family:Monaco,Menlo,Courier New,monospace}.form-hint{display:block;margin-top:.25rem;font-size:.875rem;color:var(--text-light)}@media (max-width: 768px){.desktop-nav{display:none!important}.hamburger-menu{display:flex!important}.mobile-menu{animation:slideInDown .3s ease-out}header>div{padding:0 1rem!important}.container{padding:2rem 1rem}.file-actions{flex-wrap:wrap}.btn-icon{padding:.4rem;min-width:2rem;font-size:1rem}.modal-content{max-width:100%;margin:0 1rem}}@media (max-width: 480px){.container h1{font-size:1.875rem!important}.container p{font-size:1rem!important}}@media (min-width: 769px){.hamburger-menu,.mobile-menu{display:none!important}}
