
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f5f6fa; color: #333; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* Navbar */
.navbar { background: #2c3e50; color: white; padding: 15px 0; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar .logo { color: white; text-decoration: none; font-size: 1.3em; font-weight: bold; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: white; text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border: none; border-radius: 5px; cursor: pointer; text-decoration: none; font-size: 16px; }
.btn-primary { background: #3498db; color: white; }
.btn-secondary { background: #95a5a6; color: white; }
.btn-sm { padding: 6px 12px; font-size: 14px; }
.btn-block { display: block; width: 100%; }
.btn:hover { opacity: 0.9; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; font-size: 16px; }

/* Alerts */
.alert { padding: 15px; border-radius: 5px; margin-bottom: 20px; }
.alert-error { background: #ffeaa7; border: 1px solid #fdcb6e; color: #d63031; }

/* Tables */
.table { width: 100%; border-collapse: collapse; background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.table th { background: #2c3e50; color: white; padding: 15px; text-align: left; }
.table td { padding: 12px 15px; border-bottom: 1px solid #eee; }
.table tr:hover { background: #f8f9fa; }

/* Auth Pages */
.auth-container { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: linear-gradient(135deg, #667eea, #764ba2); }
.auth-card { background: white; padding: 40px; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); width: 100%; max-width: 450px; }
.auth-card h1 { text-align: center; margin-bottom: 30px; }
.auth-link { text-align: center; margin-top: 20px; }

/* Cards */
.snapshot-card, .knowledge-card { background: white; padding: 25px; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.snapshot-card h2, .knowledge-card h2 { color: #2c3e50; margin-bottom: 15px; }
.snapshot-card h3, .knowledge-card h3 { color: #3498db; margin: 15px 0 10px; }

/* Hero */
.hero { text-align: center; padding: 60px 0; }
.hero h2 { font-size: 2em; margin-bottom: 20px; }
.hero p { font-size: 1.2em; color: #666; margin-bottom: 30px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.feature-card { background: white; padding: 30px; border-radius: 10px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }

/* Statements */
.statement { background: white; padding: 25px; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.statement h2 { color: #2c3e50; margin-bottom: 15px; }
.statement pre { background: #f8f9fa; padding: 20px; border-radius: 5px; overflow-x: auto; font-size: 14px; }

/* Status */
.status { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.status-completed { background: #d4edda; color: #155724; }
.status-processing { background: #fff3cd; color: #856404; }
.status-failed { background: #f8d7da; color: #721c24; }
.status-pending { background: #e2e3e5; color: #383d41; }

/* Search */
.search-form { display: flex; gap: 10px; margin-bottom: 30px; }
.search-form input { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 5px; }
.search-form select { padding: 10px; border: 1px solid #ddd; border-radius: 5px; }

/* Upload */
.upload-form { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); max-width: 600px; }

/* Actions */
.actions { display: flex; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; }

/* Review */
.review-card { background: white; padding: 25px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
