/* CSS Styles for Vulnerable Demo */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Arial', sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; } .container { width: 100%; max-width: 800px; margin: 20px; } .warning-banner { background: #ff4444; color: white; padding: 15px; text-align: center; border-radius: 8px; margin-bottom: 20px; font-weight: bold; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .warning-banner p { margin-top: 5px; font-size: 14px; font-weight: normal; } .login-form { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); margin-bottom: 20px; } .login-form h2 { text-align: center; margin-bottom: 30px; color: #333; font-size: 28px; } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; color: #555; font-weight: bold; } .form-group input { width: 100%; padding: 12px; border: 2px solid #ddd; border-radius: 6px; font-size: 16px; transition: border-color 0.3s; } .form-group input:focus { outline: none; border-color: #667eea; } button { width: 100%; padding: 12px; background: #667eea; color: white; border: none; border-radius: 6px; font-size: 16px; cursor: pointer; transition: background 0.3s; } button:hover { background: #5a6fd8; } #loginMessage { margin-top: 15px; padding: 10px; border-radius: 4px; text-align: center; } .demo-credentials { background: #f8f9fa; padding: 20px; border-radius: 8px; margin-top: 20px; text-align: center; } .demo-credentials h3 { color: #333; margin-bottom: 10px; } .vulnerability-info { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); } .vulnerability-info h3 { color: #d73527; margin-bottom: 15px; } .vulnerability-info ul { list-style-type: none; padding-left: 0; } .vulnerability-info li { padding: 8px 0; border-bottom: 1px solid #eee; } .vulnerability-info li:before { content: "🔓 "; margin-right: 8px; } /* Dashboard Styles */ .dashboard { background: white; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); overflow: hidden; } .dashboard-header { background: #667eea; color: white; padding: 20px 30px; display: flex; justify-content: space-between; align-items: center; } .dashboard-header h1 { font-size: 24px; } .user-info { display: flex; align-items: center; gap: 15px; } .user-info button { width: auto; padding: 8px 16px; background: #ff4444; font-size: 14px; } .dashboard-content { padding: 30px; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; } .stat-card { background: #f8f9fa; padding: 20px; border-radius: 8px; text-align: center; border: 1px solid #e9ecef; } .stat-card h3 { color: #495057; margin-bottom: 10px; } .stat-number { font-size: 24px; font-weight: bold; color: #667eea; } .admin-panel { border-top: 2px solid #e9ecef; padding-top: 30px; } .admin-panel h3 { color: #333; margin-bottom: 20px; } .action-section { background: #f8f9fa; padding: 20px; border-radius: 8px; margin-bottom: 20px; } .action-section h4 { color: #495057; margin-bottom: 15px; } .action-section input { width: calc(100% - 120px); margin-right: 10px; margin-bottom: 10px; } .action-section button { width: 100px; padding: 12px; } #commandOutput, #searchResults { margin-top: 15px; padding: 15px; background: #fff; border: 1px solid #ddd; border-radius: 4px; min-height: 50px; } #systemInfo { background: #fff; padding: 15px; border-radius: 4px; border: 1px solid #ddd; } #systemInfo p { margin-bottom: 8px; font-family: monospace; } /* Mobile Responsiveness */ @media (max-width: 768px) { .container { margin: 10px; } .login-form, .dashboard-content { padding: 20px; } .dashboard-header { flex-direction: column; gap: 15px; text-align: center; } .action-section input { width: 100%; margin-right: 0; margin-bottom: 10px; } .action-section button { width: 100%; } }