html,body{height:100%;width:100%;overflow-x:hidden}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#0f0f0f!important;color:#e4e4e7!important;display:flex;flex-direction:column}body:not(.admin-panel){background:#0f0f0f!important;color:#e4e4e7!important}.app-header{background:#18181b;padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between;gap:2rem;border-bottom:1px solid #27272a;position:sticky;top:0;z-index:100}.header-brand{display:flex;align-items:center;gap:.75rem}.mic-icon{font-size:1.5rem;background:linear-gradient(135deg,#3b82f6,#2563eb);width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center}.brand-logo{height:40px;width:auto;object-fit:contain}.header-brand h1{font-size:1.25rem;font-weight:600;color:#f4f4f5;margin:0}.header-welcome{flex:1;text-align:center}.header-welcome span{color:#a1a1aa;font-size:.95rem}.header-actions{display:flex;align-items:center;gap:.75rem}.icon-button{background:transparent;border:1px solid #3f3f46;color:#d4d4d8;width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}.icon-button:hover{background:#27272a;border-color:#52525b}.upgrade-button{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:.5rem 1.25rem;border-radius:8px;font-weight:500;cursor:pointer;font-size:.9rem;transition:all .2s ease}.upgrade-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.dashboard-container{display:grid;grid-template-columns:320px 1fr 360px;gap:1.5rem;padding:1.5rem;flex:1;overflow:hidden;background:#0f0f0f}.panel-card{background:#18181b;border:1px solid #27272a;border-radius:12px;padding:1.5rem;display:flex;flex-direction:column;height:100%;overflow:hidden}.panel-title{font-size:1.1rem;font-weight:600;color:#f4f4f5;margin-bottom:1.25rem}.left-panel{display:flex;flex-direction:column;overflow:hidden}.upload-section{margin-bottom:1.5rem}.upload-dropzone{background:#09090b;border:2px dashed #3f3f46;border-radius:16px;padding:2rem 1rem;text-align:center;cursor:pointer;transition:all .3s ease}.upload-dropzone:hover{border-color:#3b82f6;background:#18181b}.upload-dropzone.dragover{border-color:#60a5fa;background:#1e293b;transform:scale(1.02)}.cloud-icon{margin:0 auto 1rem;color:#3b82f6}.dropzone-main-text{font-size:.95rem;color:#e4e4e7;margin-bottom:.25rem}.dropzone-sub-text{font-size:.875rem;color:#a1a1aa}.browse-link{color:#3b82f6;cursor:pointer;text-decoration:underline}.browse-link:hover{color:#60a5fa}.upload-status{margin-top:1rem;padding:.75rem;background:#18181b;border-radius:8px;display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#a1a1aa}.status-icon{color:#22c55e;font-weight:700}.recent-files-section{flex:1;display:flex;flex-direction:column;overflow:hidden}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.section-header h3{font-size:.95rem;font-weight:600;color:#f4f4f5}.file-actions{display:flex;align-items:center;gap:.5rem}.action-icon{background:transparent;border:none;color:#71717a;font-size:.875rem;cursor:pointer;padding:.25rem .5rem;border-radius:4px;transition:all .2s ease}.action-icon:hover{background:#27272a;color:#d4d4d8}.action-icon-more{background:transparent;border:none;color:#71717a;font-size:1.25rem;cursor:pointer;padding:0 .25rem}.recent-files-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.75rem}.file-item{background:#09090b;border:1px solid #27272a;border-radius:8px;padding:.875rem;display:flex;align-items:center;gap:.75rem;cursor:pointer;transition:all .2s ease}.file-item:hover{background:#18181b;border-color:#3f3f46}.file-icon{font-size:2rem;flex-shrink:0}.file-info{flex:1;min-width:0}.file-name{font-size:.875rem;font-weight:500;color:#f4f4f5;margin-bottom:.25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-meta{font-size:.75rem;color:#71717a}.file-action{flex-shrink:0}.annotate-btn{background:#3b82f6;color:#fff;border:none;padding:.4rem .875rem;border-radius:6px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease}.annotate-btn:hover{background:#2563eb}.middle-panel{display:flex;flex-direction:column;overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}.panel-subtitle{text-align:center;margin-bottom:1rem;font-style:italic}.middle-panel .panel-title{margin-bottom:0}.voice-annotation-controls{display:flex;align-items:center;gap:.75rem}.panel-header-actions{display:flex;gap:.5rem}.icon-btn{background:transparent;border:none;color:#71717a;font-size:1.1rem;cursor:pointer;padding:.25rem;border-radius:4px;transition:all .2s ease}.icon-btn:hover{background:#27272a;color:#d4d4d8}.pdf-viewer-area{flex:1;background:#27272a;border-radius:8px;position:relative;overflow:hidden;margin-bottom:1.5rem;min-height:600px}.pdf-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.placeholder-content{text-align:center;color:#71717a}.placeholder-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.placeholder-content p{font-size:1rem}.pdf-display{position:absolute;top:0;left:0;width:100%;height:100%}.pdf-navigation-arrows{position:absolute;width:100%;top:50%;transform:translateY(-50%);display:flex;justify-content:space-between;padding:0 1rem;pointer-events:none;z-index:10}.nav-arrow{background:#3b82f6e6;border:none;color:#fff;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;pointer-events:all;transition:all .2s ease}.nav-arrow:hover{background:#3b82f6;transform:scale(1.1)}.nav-arrow:disabled{opacity:.3;cursor:not-allowed}.pdf-zoom-controls{position:absolute;top:1rem;right:1rem;display:flex;gap:.5rem;background:#18181bf2;padding:.5rem;border-radius:8px;border:1px solid #3f3f46;z-index:10}.zoom-btn{background:transparent;border:1px solid #3f3f46;color:#d4d4d8;width:36px;height:36px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}.zoom-btn:hover{background:#3b82f6;border-color:#3b82f6;color:#fff}.zoom-btn:active{transform:scale(.95)}.canvas-container{padding:1.5rem;width:100%;height:100%;overflow:auto;position:relative}#pdf-canvas{display:block;margin:0 auto;background:#fff;border-radius:4px;box-shadow:0 4px 12px #0000004d;cursor:crosshair}.annotation-marker{position:absolute;width:28px;height:28px;background:#fff;border:2px solid #3b82f6;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;color:#3b82f6;cursor:pointer;z-index:100;box-shadow:0 2px 8px #3b82f666,0 0 0 2px #ffffffe6;transition:all .2s ease;transform:translate(-50%,-50%)}.annotation-marker:hover{transform:translate(-50%,-50%) scale(1.2);box-shadow:0 4px 12px #3b82f699,0 0 0 3px #ffffffe6;border-width:3px}.pdf-page-indicator{position:absolute;bottom:1rem;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:.5rem;background:#18181bf2;padding:.5rem 1rem;border-radius:20px;border:1px solid #3f3f46}.indicator-icon{background:transparent;border:none;font-size:.875rem;cursor:pointer}#page-info{font-size:.875rem;color:#d4d4d8}.voice-annotation-section{border-top:1px solid #27272a;padding-top:1rem}.voice-annotation-section h3{font-size:1rem;font-weight:600;color:#f4f4f5;margin-bottom:.5rem}.export-buttons-row{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;margin-bottom:1rem}.annotation-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.annotation-header-row h3{font-size:1rem;font-weight:600;color:#f4f4f5}.export-btn{background:#22c55e;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.export-btn:hover{background:#16a34a}.signup-export-btn{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.signup-export-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #3b82f666}.annotation-instruction{font-size:.875rem;color:#71717a;margin-bottom:1rem}.voice-controls{display:flex;flex-direction:column;align-items:center;gap:.5rem}.recording-status{font-size:.875rem;color:#a1a1aa;min-height:1.25rem;text-align:center}.mic-button{background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #3b82f64d}.mic-button:hover{transform:scale(1.05);box-shadow:0 6px 16px #3b82f666}.mic-button.recording{background:linear-gradient(135deg,#ef4444,#dc2626);animation:pulse 1.5s ease-in-out infinite}.mic-button.processing{background:linear-gradient(135deg,#f59e0b,#d97706);animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{box-shadow:0 4px 12px #ef44444d}50%{box-shadow:0 6px 20px #ef444499}}.mic-icon-circle svg{color:#fff}.right-panel{display:flex;flex-direction:column;overflow:hidden}.annotation-tabs{display:flex;gap:.5rem;margin-bottom:1.25rem}.tab-button{flex:1;background:transparent;border:1px solid #27272a;color:#71717a;padding:.625rem .5rem;border-radius:8px;font-size:.8rem;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.375rem;transition:all .2s ease}.tab-button:hover{background:#27272a;color:#d4d4d8}.tab-button.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.tab-icon{font-size:1rem}.annotations-list-new{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.875rem;margin-bottom:1.25rem}.annotation-card{background:#09090b;border:1px solid #27272a;border-left:3px solid #3b82f6;border-radius:8px;padding:.875rem;transition:all .2s ease}.annotation-card:hover{background:#18181b;border-color:#3f3f46}.annotation-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.annotation-page{display:flex;align-items:center;gap:.375rem;font-size:.75rem;color:#71717a}.page-icon{width:20px;height:20px;background:#27272a;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:.65rem}.annotation-time{display:flex;align-items:center;gap:.375rem}.play-btn{background:#3b82f6;border:none;color:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:.65rem;transition:all .2s ease}.play-btn:hover{background:#2563eb}.time-text{font-size:.75rem;color:#71717a}.annotation-text{font-size:.875rem;color:#d4d4d8;line-height:1.4;margin-bottom:.75rem}.annotation-actions{display:flex;gap:.5rem;margin-top:.75rem}.annotation-actions .edit-btn,.annotation-actions .delete-btn{flex:1;padding:.5rem;font-size:.8125rem;border-radius:6px;border:1px solid #27272a;background:transparent;color:#a1a1aa;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.25rem}.annotation-actions .edit-btn:hover{background:#18181b;border-color:#3b82f6;color:#3b82f6}.annotation-actions .delete-btn:hover{background:#18181b;border-color:#ef4444;color:#ef4444}.annotation-actions .edit-btn:active,.annotation-actions .delete-btn:active{transform:scale(.98)}.edit-actions{display:flex;gap:.5rem;margin-top:.75rem}.edit-actions .save-button,.edit-actions .cancel-button{flex:1;padding:.5rem;font-size:.8125rem;border-radius:6px;border:1px solid #27272a;background:transparent;color:#a1a1aa;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.25rem}.edit-actions .save-button:hover{background:#18181b;border-color:#3b82f6;color:#3b82f6}.edit-actions .cancel-button:hover{background:#18181b;border-color:#ef4444;color:#ef4444}.edit-actions .save-button:active,.edit-actions .cancel-button:active{transform:scale(.98)}.edit-textarea{margin-top:.5rem;background:transparent;color:#fff;padding:.5rem;border-radius:5px;border:1px solid white}.annotations-footer{border-top:1px solid #27272a;padding-top:1rem}.footer-actions{display:flex;gap:.5rem;margin-bottom:1rem}.footer-btn{flex:1;background:transparent;border:1px solid #27272a;color:#71717a;padding:.5rem;border-radius:6px;font-size:.875rem;cursor:pointer;transition:all .2s ease}.footer-btn:hover{background:#27272a;color:#d4d4d8}.pro-tip{background:#3b82f61a;border:1px solid rgba(59,130,246,.2);border-radius:6px;padding:.75rem;display:flex;align-items:center;gap:.5rem}.tip-icon{font-size:1rem}.tip-text{font-size:.8rem;color:#a1a1aa}.tip-text strong{color:#3b82f6}.login-button,.signup-btn{padding:.5rem 1rem;border:none;border-radius:6px;cursor:pointer;font-size:.9rem;transition:all .2s ease}.login-button{background:transparent;border:1px solid #3f3f46;color:#d4d4d8}.login-button:hover{background:#27272a}.signup-btn{background:#3b82f6;color:#fff}.signup-btn:hover{background:#2563eb}.modal{position:fixed;top:0;left:0;width:100%;height:100%;background:#000c;display:flex;align-items:center;justify-content:center;z-index:10000}.modal-content{background:#18181b!important;border:1px solid #3f3f46;border-radius:12px;width:90%;max-width:500px;max-height:85vh;overflow:hidden;box-shadow:0 20px 60px #000000b3;display:flex;flex-direction:column}.pdf-manager-modal{max-width:800px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #27272a;flex-shrink:0}.profile-content,.pdf-manager-content{padding:2rem;overflow-y:auto;flex:1}.pdf-manager-content{overflow-y:hidden}.pdf-table-container{overflow-y:auto}.modal-content h2{color:#f4f4f5;text-align:center;margin:0 auto}.close-modal-btn{background:none;border:none;font-size:24px;color:#71717a;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.close-modal-btn:hover{background:#27272a;color:#d4d4d8}.modal-content input{width:100%;padding:.75rem;margin-bottom:1rem;background:#09090b;border:1px solid #27272a;border-radius:8px;color:#e4e4e7;font-size:.95rem}.modal-content input:focus{outline:none;border-color:#3b82f6}.upload-loading-modal{max-width:400px;text-align:center;padding:3rem 2rem;background:#18181bf2;border:1px solid #3f3f46}.upload-loading-modal h3{color:#e4e4e7;font-size:1.125rem;font-weight:500;margin-top:1.5rem;margin-bottom:0}.spinner{width:64px;height:64px;margin:0 auto;border:4px solid #27272a;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}.modal-content button[type=submit]{width:100%;padding:.75rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .2s ease}.modal-content button[type=submit]:hover{background:#2563eb}.modal-body p{margin:1rem 0}.btn-primary{padding:.75rem 1.5rem;background:#3b82f6;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .2s ease}.btn-primary:hover{background:#2563eb}.btn-primary:disabled{background:#9ca3af;cursor:not-allowed}.btn-secondary{padding:.75rem 1.5rem;background:transparent;color:#71717a;border:1px solid #d4d4d8;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .2s ease}.btn-secondary:hover{background:#f4f4f5;border-color:#a1a1aa}.modal-actions{display:flex;gap:.75rem;margin-top:1.5rem}.modal-actions button{flex:1}.auth-switch{text-align:center;margin-top:1rem;color:#71717a;font-size:.9rem}.auth-switch a{color:#3b82f6;text-decoration:none}.auth-switch a:hover{text-decoration:underline}.forgot-password-link{display:block;text-align:right;font-size:.875rem;color:#3b82f6;text-decoration:none;margin-bottom:1rem}.forgot-password-link:hover{text-decoration:underline}.message{padding:.75rem;border-radius:.375rem;margin-top:1rem;font-size:.875rem}.success-message{background-color:#dcfce7;color:#166534;border:1px solid #86efac}.error-message{color:#ef4444;margin-top:1rem;text-align:center;font-size:.875rem}.auth-form-content{padding:20px;overflow-y:auto;flex:1}.auth-form-content form{display:flex;flex-direction:column;gap:.25rem}.user-dropdown-menu{position:fixed;background:#18181b;border:1px solid #27272a;border-radius:12px;box-shadow:0 10px 40px #00000080;min-width:280px;max-width:calc(100vw - 2rem);z-index:10001;overflow:hidden}.user-dropdown-header{padding:1.5rem;display:flex;align-items:center;gap:1rem;background:#09090b}.dropdown-avatar{width:40px;height:40px;border-radius:50%;background:#27272a;border:2px solid #3f3f46;display:flex;align-items:center;justify-content:center}.dropdown-avatar svg{width:20px;height:20px;fill:#d4d4d8}.dropdown-user-info{flex:1;min-width:0}.dropdown-user-name{font-weight:600;color:#f4f4f5;margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.95rem}.dropdown-user-email{font-size:.85rem;color:#71717a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-divider{height:1px;background:#27272a;margin:0}.dropdown-item{width:100%;padding:1rem 1.5rem;background:none;border:none;color:#d4d4d8;cursor:pointer;font-size:.95rem;transition:all .2s ease;display:flex;align-items:center;gap:.75rem;text-align:left}.dropdown-item:hover{background:#27272a;color:#f4f4f5}.dropdown-item.logout-item{color:#ef4444}.dropdown-item.logout-item:hover{background:#ef44441a;color:#f87171}.recent-files-list::-webkit-scrollbar,.annotations-list-new::-webkit-scrollbar,.canvas-container::-webkit-scrollbar{width:6px}.recent-files-list::-webkit-scrollbar-track,.annotations-list-new::-webkit-scrollbar-track,.canvas-container::-webkit-scrollbar-track{background:#18181b}.recent-files-list::-webkit-scrollbar-thumb,.annotations-list-new::-webkit-scrollbar-thumb,.canvas-container::-webkit-scrollbar-thumb{background:#3f3f46;border-radius:3px}.recent-files-list::-webkit-scrollbar-thumb:hover,.annotations-list-new::-webkit-scrollbar-thumb:hover,.canvas-container::-webkit-scrollbar-thumb:hover{background:#52525b}@media (max-width: 1200px){.dashboard-container{grid-template-columns:280px 1fr 320px;gap:1rem;padding:1rem}}@media (max-width: 968px){.dashboard-container{grid-template-columns:1fr;grid-template-rows:auto auto auto}.left-panel,.middle-panel,.right-panel{max-height:600px}.app-header{flex-wrap:wrap;gap:1rem}.header-welcome{order:3;flex-basis:100%;text-align:left}.user-dropdown-menu{max-width:calc(100vw - 2rem);min-width:240px;left:auto!important}}@media (max-width: 768px){.modal-content{max-width:90%}}body.admin-panel{background:#f4f4f5!important}.pdf-summary{padding:1rem;background:#27272a;border-radius:8px;margin-bottom:1rem;font-size:.9rem;color:#a1a1aa}.pdf-summary strong{color:#fff;font-weight:600}.pdf-summary-info{display:flex;flex-direction:column;gap:.5rem}.tier-badge{padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.tier-badge.free{background:#3f3f46;color:#a1a1aa}.tier-badge.pro{background:#7c3aed;color:#fff}.upgrade-hint{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#fbbf24}.upgrade-hint svg{flex-shrink:0}.pdf-search{margin-bottom:1rem}.pdf-search input{width:100%;padding:.75rem 1rem;background:#27272a;border:1px solid #3f3f46;border-radius:8px;color:#fff;font-size:.9rem}.pdf-search input:focus{outline:none;border-color:#7c3aed}.pdf-search input::placeholder{color:#71717a}.pdf-table{width:100%;border-collapse:collapse}.pdf-table thead{background:#27272a;position:sticky;top:0;z-index:10}.pdf-table th{padding:.875rem 1rem;text-align:left;font-weight:600;color:#a1a1aa;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #3f3f46}.pdf-table tbody tr{border-bottom:1px solid #27272a;transition:background .2s}.pdf-table tbody tr:hover{background:#27272a}.pdf-table td{padding:1rem;color:#e4e4e7;font-size:.9rem}.pdf-name{font-weight:500;color:#fff;display:block;margin-bottom:.25rem}.pdf-size{font-size:.8rem;color:#71717a}.annotation-count{display:inline-block;padding:.25rem .75rem;background:#7c3aed;color:#fff;border-radius:12px;font-size:.8rem;font-weight:600}.annotation-count.zero{background:#3f3f46;color:#71717a}.btn-download{padding:.5rem 1rem;background:#7c3aed;color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-download:hover{background:#6d28d9;transform:translateY(-1px)}.btn-download:disabled{background:#3f3f46;color:#71717a;cursor:not-allowed;transform:none}.btn-delete{padding:.5rem 1rem;background:#dc2626;color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s;margin-left:.5rem}.btn-delete:hover{background:#b91c1c;transform:translateY(-1px)}.btn-delete:disabled{background:#3f3f46;color:#71717a;cursor:not-allowed;transform:none}.actions-cell{white-space:nowrap}.no-pdfs-message{text-align:center;padding:3rem 1rem;color:#71717a}.no-pdfs-message svg{width:64px;height:64px;margin-bottom:1rem;opacity:.5}.profile-modal{max-width:600px!important}.profile-section{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid #27272a}.profile-section:last-child{border-bottom:none;margin-bottom:0}.profile-section h3{font-size:1.1rem;font-weight:600;color:#fff;margin-bottom:1rem}.plan-status{padding:1rem;border-radius:8px;background:#27272a}.plan-badge{display:inline-block;padding:.5rem 1rem;border-radius:6px;font-weight:600;font-size:.9rem;margin-bottom:.75rem}.plan-active .plan-badge{background:#7c3aed;color:#fff}.plan-free .plan-badge{background:#3f3f46;color:#a1a1aa}.plan-status p{margin:.5rem 0;color:#e4e4e7;font-size:.95rem}.plan-details{color:#a1a1aa!important;font-size:.85rem!important;margin-top:.75rem!important}.usage-info{padding:1rem;border-radius:8px;background:#27272a}.usage-info p{margin:.5rem 0;color:#e4e4e7;font-size:.95rem}.usage-warning{color:#fbbf24!important;font-weight:500;margin-top:.75rem!important}.billing-actions{display:flex;flex-direction:column;gap:.75rem}.billing-btn{padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s;width:100%}.billing-btn.primary{background:#7c3aed;color:#fff}.billing-btn.primary:hover:not(:disabled){background:#6d28d9;transform:translateY(-1px)}.billing-btn.secondary{background:#3f3f46;color:#fff}.billing-btn.secondary:hover:not(:disabled){background:#52525b;transform:translateY(-1px)}.billing-btn.danger{background:#27272a;color:#ef4444;border:1px solid #3f3f46}.billing-btn.danger:hover:not(:disabled){background:#3f3f46;border-color:#ef4444}.billing-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.billing-note{text-align:center;color:#71717a;font-size:.85rem;margin-top:.5rem}.profile-error{padding:.875rem 1rem;background:#7f1d1d;border:1px solid #991b1b;border-radius:6px;color:#fecaca;font-size:.9rem;margin-top:1rem;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.loading{text-align:center;padding:2rem;color:#71717a}.app-footer{background:#18181b;border-top:1px solid #27272a;padding:1.5rem 2rem;margin-top:auto;width:100%}.footer-content{max-width:1400px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:.75rem;text-align:center}.footer-content p{color:#71717a;font-size:.875rem;margin:0}.footer-links{display:flex;align-items:center;gap:.75rem}.footer-link{color:#3b82f6;text-decoration:none;font-size:.875rem;transition:color .2s ease}.footer-link:hover{color:#60a5fa;text-decoration:underline}.footer-separator{color:#3f3f46;font-size:.875rem}.legal-modal{max-width:800px;max-height:90vh;overflow-y:auto}.legal-content{padding:1rem}.legal-section{color:#e4e4e7}.legal-updated{color:#71717a;font-size:.875rem;font-style:italic;margin-bottom:1.5rem}.legal-section h3{color:#3b82f6;font-size:1.1rem;margin-top:1.5rem;margin-bottom:.75rem}.legal-section p{color:#a1a1aa;line-height:1.6;margin-bottom:1rem}.legal-section ul{margin-left:1.5rem;margin-bottom:1rem}.legal-section li{color:#a1a1aa;line-height:1.6;margin-bottom:.5rem}@media (max-width: 768px){.app-footer{padding:1rem 1.5rem}.footer-content{gap:.5rem}.footer-links{flex-wrap:wrap;justify-content:center}}:root{--primary: #007bff;--primary-dark: #0056b3;--secondary: #6c757d;--success: #28a745;--info: #17a2b8;--warning: #ffc107;--danger: #dc3545;--light: #f8f9fa;--dark: #343a40;--sidebar-bg: #343a40;--sidebar-text: rgba(255, 255, 255, .8);--navbar-bg: #ffffff;--body-bg: #f4f6f9;--card-bg: #ffffff;--border-color: #dee2e6}*{margin:0;padding:0;box-sizing:border-box}body.admin-panel{font-family:Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;background-color:var(--body-bg)!important;min-height:100vh;display:flex!important;flex-direction:column!important}.admin-wrapper{display:flex;min-height:100vh;width:100%}.admin-sidebar{width:250px;background-color:var(--sidebar-bg);color:var(--sidebar-text);position:fixed;top:0;left:0;bottom:0;z-index:1000;overflow-y:auto;transition:all .3s ease}.sidebar-brand{padding:.875rem 1rem;font-size:1.25rem;font-weight:600;color:#fff;border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:center;gap:.5rem}.sidebar-brand span{font-weight:300}.sidebar-menu{list-style:none;padding:0;margin:.5rem 0}.sidebar-menu li{margin:0}.sidebar-menu a{display:flex;align-items:center;padding:.75rem 1rem;color:var(--sidebar-text);text-decoration:none;transition:all .3s;gap:.75rem}.sidebar-menu a:hover{background-color:#ffffff1a;color:#fff}.sidebar-menu a.active{background-color:var(--primary);color:#fff}.sidebar-menu .menu-icon{width:20px;text-align:center;font-size:1rem}.admin-main{margin-left:250px;flex:1;display:flex;flex-direction:column;min-height:100vh}.admin-navbar{background-color:var(--navbar-bg);border-bottom:1px solid var(--border-color);padding:.5rem 1rem;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:999;box-shadow:0 2px 4px #00000014}.navbar-left,.navbar-right{display:flex;align-items:center;gap:1rem}.navbar-title{font-size:1.25rem;font-weight:600;color:#000;margin:0}.admin-badge{background-color:var(--danger);color:#fff;padding:.25rem .75rem;border-radius:.25rem;font-size:.75rem;font-weight:600;text-transform:uppercase}.logout-btn{background-color:var(--secondary);color:#fff;border:none;padding:.5rem 1rem;border-radius:.25rem;cursor:pointer;font-size:.875rem;transition:background-color .2s}.logout-btn:hover{background-color:var(--dark)}.content-wrapper{padding:1rem;flex:1}.tab-content{display:none}.tab-content.active{display:block}.content-header{margin-bottom:1rem}.content-header h1{font-size:1.8rem;font-weight:600;color:#000;margin:0}.card{background-color:var(--card-bg);border:1px solid var(--border-color);border-radius:.25rem;margin-bottom:1rem;box-shadow:0 0 1px #00000020,0 1px 3px #0003}.card-header{padding:.75rem 1.25rem;background-color:transparent;border-bottom:1px solid var(--border-color);font-weight:600;color:#495057}.card-body{padding:1.25rem}.info-box{display:flex;background-color:var(--card-bg);border-radius:.25rem;box-shadow:0 0 1px #00000020,0 1px 3px #0003;margin-bottom:1rem;min-height:80px}.info-box-icon{display:flex;align-items:center;justify-content:center;width:90px;font-size:2rem;color:#ffffffe6;border-radius:.25rem 0 0 .25rem}.info-box-icon.bg-info{background-color:var(--info)}.info-box-icon.bg-success{background-color:var(--success)}.info-box-icon.bg-warning{background-color:var(--warning)}.info-box-icon.bg-danger{background-color:var(--danger)}.info-box-icon.bg-primary{background-color:var(--primary)}.info-box-content{flex:1;padding:.5rem .75rem;display:flex;flex-direction:column;justify-content:center}.info-box-text{font-size:.875rem;color:#6c757d;text-transform:uppercase}.info-box-number{font-size:1.5rem;font-weight:600;color:#212529}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:1.5rem}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}.data-table{width:100%;border-collapse:collapse;font-size:.875rem;background-color:var(--card-bg)}.data-table th{background-color:var(--light);color:#495057;font-weight:600;padding:.75rem;text-align:left;border-bottom:2px solid var(--border-color);white-space:nowrap}.data-table td{padding:.75rem;border-bottom:1px solid var(--border-color);vertical-align:middle;color:#212529;font-weight:400}.data-table tbody tr:hover{background-color:#f8f9fa}.btn{display:inline-block;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;user-select:none;border:1px solid transparent;padding:.375rem .75rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;transition:all .15s ease-in-out;cursor:pointer;text-decoration:none}.btn-sm{padding:.25rem .5rem;font-size:.8125rem}.btn-primary{color:#fff;background-color:var(--primary);border-color:var(--primary)}.btn-primary:hover{background-color:var(--primary-dark);border-color:var(--primary-dark)}.btn-danger{color:#fff;background-color:var(--danger);border-color:var(--danger)}.btn-danger:hover{background-color:#c82333;border-color:#bd2130}.btn-success{color:#fff;background-color:var(--success);border-color:var(--success)}.btn-success:hover{background-color:#218838;border-color:#1e7e34}.btn-secondary{color:#fff;background-color:var(--secondary);border-color:var(--secondary)}.btn-secondary:hover{background-color:#5a6268;border-color:#545b62}.action-btn{margin-right:.25rem}.status-badge{display:inline-block;padding:.25rem .5rem;font-size:.75rem;font-weight:600;line-height:1;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25rem;text-transform:uppercase}.status-active{color:#fff;background-color:var(--success)}.status-inactive{color:#fff;background-color:var(--secondary)}.status-trial{color:#212529;background-color:var(--warning)}.form-group{margin-bottom:1rem}.form-label{display:inline-block;margin-bottom:.5rem;font-weight:600;color:#495057}.form-control,.form-input{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.form-control:focus,.form-input:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem #007bff40}.search-bar{max-width:300px;margin-bottom:1rem}.modal{display:none;position:fixed;z-index:1050;left:0;top:0;width:100%;height:100%;overflow:hidden;outline:0;background-color:#00000080}.modal-dialog{position:relative;width:auto;margin:1.75rem auto;max-width:500px}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:1px solid white;border-radius:10px;outline:0}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:1rem;border-bottom:1px solid var(--border-color)}.modal-title{margin:0;font-size:1.25rem;font-weight:500;line-height:1.5}.modal-body{position:relative;flex:1 1 auto;padding:1rem}.close-btn{padding:1rem;margin:-1rem -1rem -1rem auto;background-color:transparent;border:0;font-size:1.5rem;font-weight:700;line-height:1;color:#000;opacity:.5;cursor:pointer}.close-btn:hover{opacity:.75}.loading{display:none;text-align:center;padding:2rem;color:var(--secondary)}.spinner{width:2rem;height:2rem;border:.25rem solid var(--light);border-top-color:var(--primary);border-radius:50%;animation:spin .75s linear infinite;margin:0 auto 1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.settings-grid{display:grid;gap:1rem}.setting-card{background-color:var(--light);padding:1rem;border-radius:.25rem;border:1px solid var(--border-color)}.setting-title{font-weight:600;color:#495057;margin-bottom:.5rem;font-size:.875rem}.setting-description{color:var(--secondary);font-size:.8125rem;margin-bottom:.75rem}@media (max-width: 768px){.admin-sidebar{transform:translate(-250px)}.admin-sidebar.show{transform:translate(0)}.admin-main{margin-left:0}.stats-grid{grid-template-columns:1fr}}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.text-center{text-align:center!important}.text-right{text-align:right!important}.text-left{text-align:left!important}.d-none{display:none!important}.d-block{display:block!important}.d-flex{display:flex!important}
